开发者

Apache Documentroot setting in Windows 7

开发者 https://www.devze.com 2023-02-17 07:30 出处:网络
I have attempted to change my documentroot settings in httpd.conf from the default directory to c:\\www and开发者_StackOverflow社区 then I restart apache. However no matter how many times I have tried

I have attempted to change my documentroot settings in httpd.conf from the default directory to c:\www and开发者_StackOverflow社区 then I restart apache. However no matter how many times I have tried this apache doesnt change the default directory.

Has anyone had this problem before? Does someone know how I can change this?


I just went through this same #$%#!! headache on a newly installed Windows 7 OS with newly installed browser with no configuration. I installed Apache, it tested fine. I installed PHP and changed my httpd.conf file and it acted at yours appeared to act:

solution: the PHP module was failing (as per eventlog) and apache server therefore failing to start too. Firefox was visiting a cached version of the webpage so it looked like I was still getting the default Apache page when in reality the page was down. I uninstalled PHP and Apache started working again.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号