httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luc Landreville <landro1...@yahoo.ca>
Subject [users@httpd] Any url will revert to the document root
Date Tue, 19 Aug 2008 22:28:02 GMT
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message