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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

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

mod_rewrite enabled

Go to End

2 Posts   2044 Views


Community Member, 1 Post

30 April 2009 at 12:21pm

Hi all,

I am new to SilverStripe. I am trying to install and run SilverStripe at our company's webserver through Filezilla. But when try to install it gives an error message "mod_rewrite enabled -- I can't tell whether mod_rewrite is running. You may need to configure a rewriting rule yourself." I tried Googling a lot but do nt get any solution. What I can figure out is that there is some problem with the code in .htaccess file. My original code is

<Files *.ss>
Order deny,allow
Deny from all
Allow from

<IfModule mod_rewrite.c>
RewriteEngine On

RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$

RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* /sapphire/main.php?url=%1&%{QUERY_STRING} [L]

Please help me out ASAP. Error message attached.

Thanks in advance... HaRRy

Attached Files

Community Member, 70 Posts

30 April 2009 at 2:38pm

This is not preventing you from installing, just informing you that SilverStripe cannot detect mod_rewrite.

Try installing anyway. If mod_rewrite is setup correctly, all should go well.

Good luck!