httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan.Faegers...@astrazeneca.com
Subject mod_rewrite conflict with other modules
Date Wed, 09 Jan 2002 08:48:33 GMT
Hi!

I'm using the mod_plsql module to be able to run Oracle's PL/SQL Procedures
from the database.
I'm using the Apache shipped and pre-configured with Oracle8i Application
Server.

Now I want to make myself a maintenance function using mod_rewrite to send
some (not all) requests, with destination to the mod_plsql module, instead
to a maintenance page informing users that the site is down for the moment.

The Rewriting works fine for static files e.g
  RewriteRule   ^/sfa/test(.*) /sfa/maintenance.htm

but not when the regular expression matches another module.

Anyone know how to make this work?

---httpd.conf -------------------------
...
<IfModule mod_plsql.c>

<Location /pls>
  SetHandler pls_handler
  Order deny,allow
  Allow from all
</Location>
...

<VirtualHost>
...
RewriteEngine on
RewriteRule ^/pls/sfa* /sfa/maintenance.htm
...
</VirtualHost>
---------------------------------------

Regards
/Stefan F├Ągersten, InfoGrator

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message