Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

400 Bad Request .htaccess problem


Reply

575 Views

Avatar
pbolger

22 April 2012 at 10:02am Community Member, 22 Posts

I'm getting a 'bad request' error when I try and remove or moderate comments on my home page. I tried adding a couple of lines to my .htaccess file as described in the last post in this thread:

http://www.silverstripe.org/archive/show/1646

RewriteCond %{REQUEST_URI} site$
RewriteRule (.*) $1/ [L]

Which fixes the problem the first time you select "this comment is spam" or "remove this comment", but the second time the bad request error is back. Reloading the page resets it, but this is not ideal.