Apart from catching up on my regex's, what documentation do I have to read to understand why this works only outside the <location /email> container?
You don't have to explain unless you really feel like it, I understand that rewrites are a wide field ;-)
Cheers, Caro
Just outside the </Location> line for /email do: RewriteEngine on RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^/email/(.*) https://<your host>/email/$1
Carolyn Longfoot said: >>Put this rewrite rule in your apache config: >> >>RewriteEngine on >>RewriteCond %{SERVER_PORT} ^80$ >>RewriteRule ^/(.*) https://<your host>/$1 > > Sorry if you think I'm dumb but with the > alias /email /usr/local/sqiurrelmail > > I get the wrong URL: https://mydomain.com/usr/local/squirrelmail > instead of https://mydomain.com/email > > I put the code into a <Location /email> section, which follows the alias > mentioned above. > > What am I doing wrong? > > Thanks so much, > Caro
_________________________________________________________________
Find high-speed ‘net deals — comparison-shop your local providers here. https://broadband.msn.com
------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users