Alias directive in Apache mod_alias module
I have a PowerMac G5 with Mac OS X Server 10.4.5.
I have some sites running on the server through the virtual host facility and, for one of them, I need to perform manipolations on a range of URL requests.
In the details of the site (Server Admin --> Web --> Settings --> Sites --> double click on the site from the list), I set the "Web folder" field to something like "/Library/WebServer/examplesite/B1234" and I need to modify all requests of type
http://mysite/B1234/xxxx/yyyy/file.ext
to
http://mysite/xxxx/yyyy/file.ext
I tried using the alias directive of Apache's mod_alias module (under the Aliases tab) setting an alias to something like
Alias /B1234 /library/webserver/examplesite
but it doesn't work.
If I look at the site's error log I see some entries like
[Tue Mar 14 17:04:23 2006] [error] [client 192.168.1.200] File does not exist: /Library/WebServer/examplesite/B1234/B1234/xxxx/yyyy/file.ext
So the Alias is doing nothing, and indeed if I remove it I get the some result.
What am I doing wrong and how can I achieve the result I described?
TIA
PowerBook G4 867MHz 12,1" Mac OS X (10.4.5)