I read in the faq-o-matic about aliasing to a servlet.
I am trying to alias /index.html to /servlets/quick
I;ve made sure jserv is compiled before rewrite,
here's my httpd.conf:
AddModule mod_jserv.c
AddModule mod_rewrite.c
then
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteLog /usr/local/apache/logs/rewrite_log
RewriteLogLevel 9
RewriteRule /index.html /servlets/quick
</IfModule>
also, httpd -l puts jserv before rewrite.
However, this rewrite instead gives me an ftp-syle dir
listing (?) of htdocs.
here's my rewrite log:
209.110.227.172 - - [05/May/1999:03:42:40 -0400]
[db1.picosito.com/sid#80aae9c][
rid#80c177c/initial] (2) init rewrite engine with
requested uri /
209.110.227.172 - - [05/May/1999:03:42:40 -0400]
[db1.picosito.com/sid#80aae9c][
rid#80c177c/initial] (3) applying pattern
'/index.html' to uri '/'
209.110.227.172 - - [05/May/1999:03:42:40 -0400]
[db1.picosito.com/sid#80aae9c][
rid#80c177c/initial] (1) pass through /
209.110.227.172 - - [05/May/1999:03:42:40 -0400]
[db1.picosito.com/sid#80aae9c][
rid#80c3cac/subreq] (2) init rewrite engine with
requested uri /index.html
209.110.227.172 - - [05/May/1999:03:42:40 -0400]
[db1.picosito.com/sid#80aae9c][
rid#80c3cac/subreq] (3) applying pattern '/index.html'
to uri '/index.html'
209.110.227.172 - - [05/May/1999:03:42:40 -0400]
[db1.picosito.com/sid#80aae9c][
rid#80c3cac/subreq] (2) rewrite /index.html ->
/servlets/quick
209.110.227.172 - - [05/May/1999:03:42:40 -0400]
[db1.picosito.com/sid#80aae9c][
rid#80c3cac/subreq] (2) local path result:
/servlets/quick
209.110.227.172 - - [05/May/1999:03:42:40 -0400]
[db1.picosito.com/sid#80aae9c][
rid#80c3cac/subreq] (2) prefixed with document_root to
/usr/local/apache/htdocs/
servlets/quick
209.110.227.172 - - [05/May/1999:03:42:40 -0400]
[db1.picosito.com/sid#80aae9c][
rid#80c3cac/subreq] (1) go-ahead with
/usr/local/apache/htdocs/servlets/quick [O
K]
any help?
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]