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

change main document root (no replies)

$
0
0
hi, just want to leave here, that if you really want to change the main document root, eg. "c:/wamp64/www" to some other directory, then you have to do the following:
(wampserver version 3.0.6, 64bit)

- change DocumentRoot in httpd.conf
- and in httpd-vhosts.conf
- change $server_dir in index.php
- and in add_vhost.php
- AND change in scripts/config.inc.php $wwwDir to your new absolute path
- AND change also there 5 relative "../" entries to absolute, eg. like "c:/wamp64/wampmanager.conf", because that, however (wrong use of relative paths somewhere), avoids some error-messages ..

Viewing all articles
Browse latest Browse all 3177

Trending Articles



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