Any url will revert to the document root

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

 



Greetings;

I host a website using apache on CentOS Linux. I am experiencing the fllowing problem:

Any file name added after the domain name in the address field of a browser is ignored and the site's home page is displayed:

If I type http://www.mydomain.com/pt/index.html , apache will systematically display the root directory index.html file (http://www.mydomain.com/index.html) with the folling entry from the log file:
[19/Aug/2008:18:18:57 -0400] "GET / HTTP/1.1" 200 5150 "http://www.mydomain.com.com/pt/index.html";; "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16"


However, if I enter the ip address ( http://99.99.99.99/pt/index.html) , I get the expected file from the server with the following entry in the log file:
[19/Aug/2008:18:24:37 -0400] "GET /pt/index.html HTTP/1.1" 200 5294 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16"

Thanks in advance for your help!
Landro


      Offrez un compte Flickr Pro à vos amis et à votre famille.
http://www.flickr.com/gift/

---------------------------------------------------------------------
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