Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I got a strange problem, which I haven't encountered yet. When I change the DocumentRoot AND RESTART the server the change is not applied. It worked before, but suddenly it's not.

 DocumentRoot "F:/xampp/htdocs/www/pct/"

I'am also sure to edit the right file:

 F:\xampp\apache\conf\httpd.conf
share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

Are you sure that you are editing the DocumentRoot for the Virtual Host that you are using? Ensure that the DocumentRoot directive is under the Virtual Host you are currently using.

It should be something like:

<virtualhost *:80>
 DocumentRoot *****
 .....other stuffs....
</virtualhost>
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.