httpd-users mailing list archives

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

Im searching for a a way to rewrite ALL my formmail.pl requests to a server that actually
has an
secure formmail.pl and so the customers formmail.pl 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 formmail.pl's to lets say http://scriptbox.domain.com ?
I tried a lot of things but it seems i get stuk with it.

Thnx


  E: martijn@sigterm.nl URL:http://www.sigterm.nl  
  E: sig@realnoise.net URL http://www.realnoise.net 
-=/ That's the end of *your* loony toon, drugs bunny \=-


Mime
View raw message