Re: Making a PSP as startup page
Date: 4 Sep 2002 06:04:48 -0700
Message-ID: <b65d306f.0209040504.41b7d5ce_at_posting.google.com>
Hi Bhavesh!
First off, /pls is a prefix, which triggers apache to call mod_plsql for request processing. This changed in 9iAS 9.0.2 and /pls is no longer mandatory. /pls should not actually be passed to mod_plsql, everything past it should, while prefix notifies apache that mod_plsql will handle the request.
Of course, you can use mod_rewrite to rewrite URLs before
processing them, and module is very powerful. You need to
construct a regular expression that will match a pattern
you need,
something like
RewriteEngine on
RewriteRule ^/(.*)$ /pls/$1 [PT,NC]
PT flag means that rewritten URL should be passed for
further processing, and NC turns case-sensitivity off
(mod_plsql is case-insensitive).
Again, note that in 9iAS 9.0.2 this does not apply - mod_plsql
is configured differently in this release, so you probably
will not need to rewrite anything.
Victor
www.dynamicpsp.com
b-gaur_at_nri.co.jp (Bhavesh) wrote in message news:<47efd6c1.0208301807.2a70109e_at_posting.google.com>...
> Hi Victor,
> Thanks a lot for the solution. Actually I have read somewhere that
> this is a quick and dirty solution, that is pretty popular, and gets
> the job done.
>
> The reason is that the HTTP Server only serves what is in its
> configuration. The "/pls" part must be passed off to mod_plsql, which
> is in the plsql.conf file, and used in conjunction with modplsql.so
> (or .dll).
>
> The author has recommended using mod_rewrite, and rewrite the url
> containing "/" to the desired url, containing "/pls". I was just
> wondering if there is some clue on how to use this ?
> Thanks once again for your solution.
> Cheers
>
>
> Bhavesh
Received on Wed Sep 04 2002 - 15:04:48 CEST