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

           Summary: RewriteRule in Alias-Dicrectory leads to wrong root /
                    doesn't take drive-letter
           Product: Apache httpd-2
           Version: 2.2.14
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: mod_alias
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Hello. I got this VirtualHost:

    <VirtualHost *:200>
        DocumentRoot "D:/develop"

        <Directory "D:/develop">
            Options Indexes FollowSymLinks Includes ExecCGI
              AllowOverride All
            Order allow,deny
            Allow from all
        </Directory>

        Alias /foo G:/Documents/web/foo
        AccessFileName .htaccess
    </VirtualHost>

    <Directory "G:/Documents/web/foo">
        Options -Indexes FollowSymLinks Includes ExecCGI
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

And in "G:/Documents/web/foo/trunk" this .htacces lines when i call
http://127.0.0.1/foo/trunk :

    RewriteRule ^[.]{0}$ _index.php?u= [L,QSA]
    RewriteRule ^([^_]+)$ _index.php?u=$1 [L,QSA]

But Apache can't find the file. It gives this error to the browser:
"The requested URL /Documents/web/foo/trunk/_index.php was not found on this
server."

and writes this in error.log :
"File does not exist: D:/develop/Documents"

So it seems that Alias doesn't take the drive-letter when rewriting an url.

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to