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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

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

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

400 Bad Request .htaccess problem


Go to End


1533 Views

Avatar
pbolger

Community Member, 22 Posts

22 April 2012 at 10:02am

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.