Quote:> > Rewri*gine On
> > RewriteRule ^/users/ /my.jsp?path=%{SCRIPT_FILENAME} [R,L]
> Perhaps you should consult the docs to see the effect of the
> [R] option. I believe it is doing the oposite of what you
> want, and should be removed.
Thank you so much for responding! I really appreciate it as I'm
floudering through my first foray into the guts of Apache. :)
I tried taking out the [R] option, and the browser simply hangs, with no
information in the error_log file. I agree that the redirect wouldn't
accomplish what I want, when my goal is the keep the initial URL
visible, and cloak the redirect URL.
All of the other flags for RewriteRule seem to be concerned with
ordering through different sets of rules, and don't seem useful to me.
Do you think that RewriteRule is the way for me to go?
I am also trying to use the <Location> synatax:
<Location /users/>
allow from all
Options ExecCGI
SetHandler cgi-script
#SetHandler /cgi-bin/user_handler.cgi
</Location>
Under my user folder, I have a .htaccess file that says
SetHandler /cgi-bin/user_handler.cgi
But unfortuneatly, I get the normal 404 error when I type in a filename
underneath the user folder, and in the error_log it says "can't find or
start script for /users/susan/xxx.html"
I get the feeling I'm not using the <Location> directive or the
.htaccess file directive correctly... :)
Several people have told me that mod_rewrite is the way to solve this
problem. And yet, the more I study the flags, it doesn't seem that its
possible to preserve the existing URL and display different content? But
I know that truely zippy folks do it all the time!
Any advice would be great!
And thanks again for responding.
Susan
Sent via Deja.com http://www.veryComputer.com/
Before you buy.