0
我想将httpd.conf中的DocumentRoot从/var/www
更改为/var/www/shop
,这样我就可以组织起来。但即使在重新启动apache和httpd之后,我仍然会转到localhost,并且它仍指向/var/www
。我的httpd.conf是基本相同,这里本文件:Apache DocumentRoot不会改变
http://www.devside.net/guides/config/linux/httpd-conf
我在Debian运行此。
任何想法?谢谢
是的,即使您更改了默认配置,也可以在httpd.conf中查找Include指令。其中之一可能会压倒你的改变。 – Mac