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

mod_rewrite enabled


Reply


2 Posts   1609 Views

Avatar
Harry

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

### SILVERSTRIPE START ###
<Files *.ss>
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Files>

<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]
</IfModule>
### SILVERSTRIPE END ###

Please help me out ASAP. Error message attached.

Thanks in advance... HaRRy

Attached Files
Avatar
rbquirke

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!