realzcubed

Q: Lion Server Issues "Bad Request" for %23 (hex #) RewriteRule

I'm installing snort+base+swatch on my Lion Server box. Everything is working great, except for the problem then whenever I issue a url request with %23, Lion Server throws a 400 Bad Request error.

 

For example, this url rewrite works:

 

http://10.0.1.2/index.php?foo=bar%41 --> https://10.0.1.2/index.php?foo=barA

 

But this url rewrite fails:

 

http://10.0.1.2/index.php?foo=bar%23 --> 400 Bad Request; should be https://10.0.1.2/index.php?foo=bar#

 

I've played around with RewriteRule for /etc/apache2/httpd.conf and apache <Directory with .htdigest, and tried this advice, all to no avail.

 

Any pointers on how to fix this web server problem on Lion Server would be much appeciated.

Mac mini, Mac OS X (10.7.1), 8 GB

Posted on Oct 10, 2011 10:48 AM

Close

Q: Lion Server Issues "Bad Request" for %23 (hex #) RewriteRule

  • All replies
  • Helpful answers