lighttpd forum lighty > aliases and final slash

Posted by Howard Miller
on 28.04.2008 08:18
When using mod_alias, I have so far found no way to correctly match a 
trailing slash in the URL...

I have tried both...

alias.url = ("/aliasname/" => "/home/user/somedirectory/")
alias.url = ("/aliasname" => "/home/user/somedirectory/")

but in either case, the address

http://mydomain/aliasname

produces a 404 error, but adding a slash on the end  works.

Is there a way to make this work without having to supply the slash? 
This is actually breaking an application that I use that insists on 
stripping the trailing slash.

Any help much appreciated :-)