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

in /srv/www/vhosts/myproject.de/subdomains/trac/conf my vhost.conf file is located: http://pastebin.com/xTgdnkvr

However apache seems to ignore this setup. Every http request is routed to /srv/www/vhosts/myproject.de/subdomains/trac/httpdocs instead of to /srv/www/vhosts/myproject.de/subdomains/trac/htdocs.

After making changes to the vhost file I always reconfigure it and restart httpd from command line.

Any idea what might be wrong? Maybe some other config overwrites it?

share|improve this question
    
Is that the only vhost definition on your server ? –  Iain Aug 7 '11 at 16:45

1 Answer 1

up vote 1 down vote accepted

Probably because another configuration file / directive is overriding the one you think the system should be using.

Computers only do what they're told, so somewhere you must be telling it that you want "httpdocs" instead of "htdocs". grep around in your Apache configuration directory for the httpdocs path and work from there.

share|improve this answer
    
I found a httpd.include that actually overwrites my vhost.conf –  ArtWorkAD Aug 7 '11 at 16:55

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.