Since you want to do an internal URL rewriting, it doesn't make much
sense to me, to use a full URL including protocol and host. I would try
the line, you commented out, instead. I guess, that you already tried that.
You should definitely see log entries in the rewrite log, if the module
is doing anything. Maybe there's a problem with the spaces in the path?
Mske sure, the Apache user can write to the file, so it wasn't created
during a test run by a user with other privileges.
Why is your JkOption gone?
Regards,
Rainer
Dan Beaulieu wrote:
Yes, that's what I have been playing around with. This is the very bottom of
my httpd.conf:
JkWorkersFile "C:/Program Files/Apache2/conf/workers.properties"
JkShmFile "C:/Program Files/Apache2/logs/mod_jk.shm"
JkLogFile "C:/Program Files/Apache2/logs/mod_jk.log"
JkLogLevel debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
jkMount /myApp/* worker1
<IfModule rewrite_module>
RewriteEngine on
RewriteLog "C:\Program Files\Apache2\logs\rewrite.txt"
RewriteLogLevel 9
RewriteRule ^/demo/(.*)$ https://localhost/$1 [PT,NE,NC]
#RewriteRule ^/demo/(.*)$ /$1 [PT,NE,NC]
</IfModule>
I've tried both those rewrite rules, and with the R flag included, no go.
Nothing is getting written to the rewrite.txt log either, it DOES exist
though. Only thing I am getting is "client denied by server configuration:
C:/Program Files/Apache2/htdocs/demo" when I try to visit
"https://localhost/demo/myApp/login.html" in my error_log. I have no idea
how htdocs is getting used as I've modified my DocumentRoot to point
elsewhere...(Not that that's what I want to use anyway)
I am also loading mod_jk before mod_rewrite, as I've seen that the load
order has caused problems for some people.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]