View Single Post
Old 9th March 2009, 16:38
id10t id10t is offline
Senior Member
Join Date: Nov 2008
Posts: 242
Thanks: 2
Thanked 22 Times in 22 Posts

Even better would be a rewrite rule on the webserver level -

RewriteEngine on
RewriteCond    %{REQUEST_FILENAME}  -d
RewriteRule    ^(.+[^/])$           $1/  [R]
RewriteRule   ^/webmail/ [R,L]
Stick this in the "optional" section at the bottom of the site page in ispconfig and it will take all requests to a directory with no trailing / (this converts /webmail to /webmail/), and then takes /webmail/, and /webmail/* and redirects them to

Last edited by id10t; 9th March 2009 at 16:48.
Reply With Quote