[thelist] Apache redirect??

CDitty mail at redhotsweeps.com
Tue Aug 5 21:40:39 CDT 2003

DING DING DING.... We have a winner.  Your off the cuff idea works like a 
charm.   I did add RewriteEngine On and RewriteOptions inherit for other 
stuff, but all in all, it works like a charm.  Many thanks.


At 08:09 PM 8/5/2003, you wrote:
>Off-the-cuff idea: you can try redirecting mypage.htm to itself, and mark
>that rule [L], then follow it with the catchall redirection rule.
>         'last|L' (last rule)
>         Stop the rewriting process here and don't apply any more rewriting
>         rules. This corresponds to the Perl last command or the break
>         command from the C language. Use this flag to prevent the
>         currently rewritten URL from being rewritten further by following
>         rules. For example, use it to rewrite the root-path URL ('/') to a
>         real one, e.g., '/e/www/'.
>...from http://httpd.apache.org/docs/mod/mod_rewrite.html#RewriteRule
>Something like:
>         RewriteBase     /
>         RewriteRule     ^(mypage\.htm)$ $1      [L]
>         RewriteRule     ^(.*)$  http://websitea.com/$1  [R]
>michal migurski- contact info and pgp key:
>sf/ca            http://mike.teczno.com/contact.html
>* * Please support the community that supports you.  * *
>For unsubscribe and other options, including the Tip Harvester
>and archives of thelist go to: http://lists.evolt.org
>Workers of the Web, evolt !

More information about the thelist mailing list