You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/02/26 16:18:09 UTC
DO NOT REPLY [Bug 27256] New: -
unexpected behavior -- redirection occurs though not requested
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27256>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27256
unexpected behavior -- redirection occurs though not requested
Summary: unexpected behavior -- redirection occurs though not
requested
Product: Apache httpd-2.0
Version: 2.0.48
Platform: Sun
URL: http://www.louisiana.edu/Web
OS/Version: Solaris
Status: NEW
Severity: Major
Priority: Other
Component: mod_alias
AssignedTo: bugs@httpd.apache.org
ReportedBy: dxh0844@louisiana.edu
CC: dxh0844@louisiana.edu
Overview Description: requests for "http://www.louisiana.edu/Web" and
"http://www.louisiana.edu/Web/" are redirected to
"http://www.louisiana.edu/AboutUs/IndexAZ.shtml" even though expected behavior
is to reach "http://www.louisiana.edu/Web/"
Steps to Reproduce:
1) compile Apache and include following in "httpd.conf"
<Directory "/web/docs">
Options FollowSymLinks Includes
AllowOverride All
Allow from all
</Directory>
2) include following in "/web/docs/.htaccess" (written on 1 line):
RedirectMatch 301 ^/Web/[Ii]ndex(.*) http://www.louisiana.edu/AboutUs/IndexAZ.shtml
3) request "http://www.louisiana.edu/Web" or "http://www.louisiana.edu/Web/"
Actual Results: redirection to "http://www.louisiana.edu/AboutUs/IndexAZ.shtml"
Expected Results: no redirection (i.e., reach "http://www.louisiana.edu/Web/")
Attempts to Resolve and Results:
1) commenting/pounding out RedirectMatch line in "/opt/httpd/htdocs/.htaccess"
results in requests for "http://www.louisiana.edu/Web" and
"http://www.louisiana.edu/Web/" reaching "http://www.louisiana.edu/Web/" as
expected; however, uncommenting line results in unexpected behavior
2) checked FAQ and bug report database but saw nothing applicable
Error Log: nothing reported
Server Log: request has status 200 and appears normal (1 line in log below)
www.louisiana.edu 130.70.132.115 - - [26/Feb/2004:08:55:32 -0600] "GET
/AboutUs/IndexAZ.shtml HTTP/1.1" 200 84266 "-" "Mozilla/5.0 (Windows; U; Windows
NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)"
Core: none
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org