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 30677] trailing slash redirects shall affect aliases, too
Date Thu, 19 Aug 2010 19:36:49 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=30677

Travis Sidelinger <travissidelinger@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |REOPENED
         Resolution|INVALID                     |

--- Comment #4 from Travis Sidelinger <travissidelinger@gmail.com> 2010-08-19 15:36:45
EDT ---
Looks like my problem is related to this.

This is my vhost configuration:

<VirtualHost *:80>
    ServerName internal-app-name-prod.mydomain.tld
    ServerAlias external-app-name.mydomain.tld
    DocumentRoot /some/path
    <Directory /somep/path
    Options FollowSymLinks -MultiViews
        AllowOverride None
        Order Allow,Deny
        Allow from all
        DirectoryIndex index.php
    </Directory>
    Alias /myalias /other/path/timeline
    <Directory /other/path/timeline
        Options -MultiViews FollowSymLinks
        DirectoryIndex index.php
        AllowOverride None
        Order Allow,Deny
        Allow from all
    </Directory>
</VirtualHost>

If we navigate to htt://external-app-name.mydomain.tld/myalias the web server
will return an immediate 301 hard redirect to ServerName/myalias.  This is
annoying because the web user was at http://ServerAlias and now jumps to
http://ServerName.

If we navigate to htt://external-app-name.mydomain.tld/myalias/ the web server
will return the DirectoryIndex.

I have a similar configuration and results that are replicated in over 50
sites.

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

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


Mime
View raw message