httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M.v.Buytene" <>
Subject Rewriting's to another url
Date Fri, 08 Mar 2002 16:42:03 GMT

Im searching for a a way to rewrite ALL my requests to a server that actually
has an
secure and so the customers would be overriden...
We use this rewrite now to rewrite userdirs to a hash :

RewriteEngine On
RewriteMap  lowercase  int:tolower

RewriteCond     %{REQUEST_URI}          !^/icons/
RewriteCond     %{REQUEST_URI}          !^/cgi-bin/
RewriteCond     ${lowercase:%{SERVER_NAME}}             ^www\.(.)(.)(.+)$
RewriteRule     ^/(.*)$                 /ext/%1/%1%2/%1%2%3/html/$1

RewriteCond      %{REQUEST_URI}         ^/cgi-bin/
RewriteCond     ${lowercase:%{SERVER_NAME}}             ^www\.(.)(.)(.+)$
RewriteRule     ^/(.*)$                 /ext/%1/%1%2/%1%2%3/$1  [T=application/x-httpd-cgi]


What do i add to rewrite all's to lets say ?
I tried a lot of things but it seems i get stuk with it.


  E: URL:  
  E: URL 
-=/ That's the end of *your* loony toon, drugs bunny \=-

View raw message