httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Bianchi <>
Subject Re: [users@httpd] alias with subfolders
Date Wed, 30 Jul 2008 14:43:07 GMT
Andre Hübner wrote:
> try to use
> Alias /folder1/folder2 /local/path/local/path
> in my httpd.conf. All i get is an 404 error.
> If i change to:
> Alias /folder1 /local/path/local/path
> /folder1 is correct maped to /local/path/local/path and requests are ok
> I did not found any hint that aliasing with subfolders is not allowed.

Indeed in the documentation states that *is* allowed:

For this reason, when two or more of these directives apply to the same 
sub-path, you must list the most specific path first in order for all 
the directives to have an effect. For example, the following 
configuration will work as expected:

Alias /foo/bar /baz
Alias /foo /gaq


Now, unless you have another "Alias /folder1" in your config, maybe the 
problem is another one. What error is logged in the error_log when you 
get the 404?


It's no wonder they call it WinNT; WNT = VMS++;
    -- Chris Abbey

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message