On Tue, Aug 16, 2005 at 12:00:26AM +1000, Zoong PHAM wrote: > [...] > I know that a correct URL is the one with trailing slash if the last > part is a directory name. > So apart from teaching users to use correct URLs or investigate to > use Apache rewrite module, is there any thing I can do with pf to > get around the problem? > [...]
(Assuming Apache) One thing to note about URLs which point to directories which don't have trailing slashes it they will get a URL redirect back which states the name of the web server how it is configured and not how it was passed in that particular request. So if the request was for http://mywebserver.com/directory you could get redirected to http://www.mywebserver.com/directory/ which is slightly different.