Re: [users@httpd] URL config help

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

 



In your config file you have to specify
DocumentRoot <directory on file system where index.html is>

It seems you have something like
DocumentRoot /home/www/htdocs
change it to
DocumentRoot /home/www/htdocs/info
if you are trying to make the current
http://www.info.com/info/index.htm
as your homepage

Also look into the DirectoryIndex tag to specify index.htm

Look at apache's docs for the two tags for more info.

HTH
Aman Raheja
http://www.techquotes.com


Randy wrote:

I'm using Apache 2.0.53 and just had a DNS entry done for my IP address. I can get to my website by typing for example http://www.info.com/info/index.htm but would like to only have to type http://www.info.com to bring up the home page. I have read the manual and tried a few things but with no success. What do I need to change or include in the config to make this work.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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