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 2010/08/19 21:36:49 UTC

DO NOT REPLY [Bug 30677] trailing slash redirects shall affect aliases, too

https://issues.apache.org/bugzilla/show_bug.cgi?id=30677

Travis Sidelinger <tr...@gmail.com> changed:

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

--- Comment #4 from Travis Sidelinger <tr...@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