Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Wampserver ignores new www directory (4 replies)

$
0
0
Goodmorning everybody,

First off some global information.
OS: Windows 10 Pro x64
Wamp: 3.0.4 x64
PHP: 7.0.4
Apache: 2.4.18
MySQL: 5.7.11
Error logs: no reports here.
Server icon is green, it is running, that is not the issue.


Problem
After experiencing a bug with a previous wampserver version I decided to fully uninstall the previous and install a new version of Wamp. All went well, the bug I experienced has been fixed. But now I can't change my 'www' directory. Well, I can change it, but it does nothing. I changed the httpd file but it still uses the index in the wamp www directory instead of my custom directory.

What I did:
I opened the file: C:\wamp64\bin\apache\apache2.4.18\conf\httpd.conf.
Changed these 2 lines to the following: DocumentRoot "g:/Web Development/" <Directory "g:/Web Development/">. Then I've copied all the content from the original www to the new custom www and changed the server_root in the index.

Now, I've restarted the server... But it still takes the index file of the original www root instead of the new one. So it seems that wampserver completely ignores changes in the httpd.conf file.

Anyone knows what's going on here? Thank you in advance.

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>