1

Default documentroot apache does not work

view story
linux-howto

http://serverfault.com – I have apache version 2.2 and php 5.3.15 on a single server. I configured virtual hosting and a default vhost. 0_default_.conf -> goes to /var/www/default sub.domain.com.conf -> goes to /var/www/sub.domain.com My question is, how could I set the default documentroot to sub.domain.com permanently? That means all request should be redirected to sub.domain.com. I try to remove 0_default_.conf but when viewing the page it display the php source code of sub.domain.com. Here is my configurations --> http://pastebin.com/4e3awUJ4 Although I can create index.php to /var/www/default and permanent (HowTos)