Vague mod_rewrite Style errors

4 views
Skip to first unread message

bobdc

unread,
Apr 17, 2011, 4:56:46 PM4/17/11
to UrlRewrite
Under "Summary of /WEB-INF/.htaccess" on the http://127.0.0.1:8080/rewrite-status
page it tells me that each rule has an error, but it doesn't say what
the error is. It describes the rules like this:

Rule 0

URL's matching ^alice.html$ will be forwarded to bob.html.

This rule and it's conditions will use the null matching engine.

Note, other rules will be processed after this rule.

Rule 1

URL's matching http://localhost:8080/temp/jack.html$ will be
forwarded to http://localhost:8080/temp/jill.html.

This rule and it's conditions will use the null matching engine.

Note, other rules will be processed after this rule.

My .htaccess file has these two rules:

RewriteRule ^alice.html$ bob.html
RewriteRule http://localhost:8080/temp/jack.html$ http://localhost:8080/temp/jill.html

How do I find and fix the errors?

thanks,

Bob
Reply all
Reply to author
Forward
0 new messages