httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42200] - Unknown activities recorded in access log
Date Tue, 24 Apr 2007 03:13:09 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42200>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42200





------- Additional Comments From lidengni@gmail.com  2007-04-23 20:13 -------
(In reply to comment #3)
> I should add that the same config works fine on my test server at home, which
> has indentical Fedora 4 kernel and RPMS updates...

Sorry, I may not be right. I grep "::1" in my test server, it has 4 same such
activities too. I didn't notice before:

::1 - - [06/Jan/2007:19:05:59 -0600] "GET / HTTP/1.0" 200 161
::1 - - [06/Jan/2007:19:06:00 -0600] "GET / HTTP/1.0" 200 161
::1 - - [06/Jan/2007:19:06:12 -0600] "GET / HTTP/1.0" 200 161
::1 - - [06/Jan/2007:19:06:13 -0600] "GET / HTTP/1.0" 200 161

I think the "/" request looping may be the problem. I have in my index.php (in
every hosts) trying to redirect as:

  if ( $_SERVER["REQUEST_URI"] != '/' ) {
    Header( "HTTP/1.1 301 Moved Permanently" );
    Header( "Location: /" );
    exit();
  }

Because if someone uses "http://www.domain.com/foo/" where "/foo" is a valid
folder, it shows the page same as "http://www.domain.com/", and if
"http://www.domain.com/bar/" is used, where "/bar" does not exist, it returns "404".

My redirect is trying to make "http://www.domain.com/foo/" go to
"http://www.domain.com/".

Thanks



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message