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.


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

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

mod_rewrite enabled


2 Posts   1605 Views


30 April 2009 at 12:21pm Community Member, 1 Post

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

30 April 2009 at 2:38pm Community Member, 70 Posts

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!