Linux-Noob Forums
Don't understand something about virtualhosts - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Server Administration (https://www.linux-noob.com/forums/forum-8.html)
+--- Forum: LAMP (https://www.linux-noob.com/forums/forum-83.html)
+--- Thread: Don't understand something about virtualhosts (/thread-351.html)

Pages: 1 2


Don't understand something about virtualhosts - inittux - 2011-08-16


Quote:nooo! ServerRoot is the directory that is prepended to all RELATIVE paths - if you change that, you'll have to go through and change all your paths to modules, includes, external configs, etc. Best leave that part alone!

 

It *does* look like you're missing a "DirectoryIndex" directive in your <directory> container that points to your index page - may want to pop that in:</directory>

 



Code:
<Directory /home/feedmebits/www/feedmebits.nl/>
AllowOverride None
order allow,deny
allow from all
Options Indexes Includes FollowSymLinks
DirectoryIndex index.html
</Directory>

<div>




</div>
 

Thanks for that little detail. Yeah I changed it back as soon after I tried cuz I was getting errors that certain modules etc couldn't be loaded :P