Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mod_rewrite problems

Status
Not open for further replies.

carpeliam

Programmer
Mar 17, 2000
990
US
Ok, I've stuffed the following code towards the bottom of my httpd.conf file:

Code:
RewriteEngine On
RewriteLog "D:/rewrite.log"
RewriteLogLevel 9
RewriteRule cms/(.*) cocoon/cms/$1 [PT]

The following is showing up in the logs:
Code:
(2) init rewrite engine with requested uri /cms/
(3) applying pattern 'cms/(.*)' to uri '/cms/'
(2) rewrite /cms/ -> cocoon/cms/
(2) forcing 'cocoon/cms/' to get passed through to next API URI-to-filename handler

That's the good news--it seems that mod_rewrite is doing what it's supposed to do. However, If I try going to anything that contains 'cms/' in the address, I'm getting a "HTTP 400 - Bad Request" return.


those all return HTTP 400. What to do? Liam Morley
lmorley@wpi.edu
"light the deep, and bring silence to the world.
light the world, and bring depth to the silence."
 
Yes on both accounts. Thank you for your time.. I'm still getting a 400 response. <p>Liam Morley<br><A HREF="mailto:"></A><br>&quot;light the deep, and bring silence to the world.<br>light the world, and bring depth to the silence.&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top