[users@httpd] Documentroot does not redirect...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When I put the file "index.htm" in my DocumentRoot (/var/www/html) it displays in my browser.
When I put that file in "/var/www/html/website" and add the following to httpd.conf:
 
NameVirtualHost *:80
<Virtualhost *:80>
Documentroot /var/www/html/website
ServerName www.website.org
</Virtualhost>
 
When I enter www.website.org in my browser, I still get the 'index.htm' file in the documentroot and not the one in documentroot/website.
 
Can anyone assist?
I have been working on this for a whole day and so have 2 of my colleagues...
 
Mark
Belgium

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux