Jump to:

4952 Posts in 14256 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » mod_rewrite enabled

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

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

Page: 1
Go to End
Author Topic: 1575 Views
  • Harry
    Avatar
    Community Member
    1 Post

    mod_rewrite enabled Link to this 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

    ### 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
  • rbquirke
    Avatar
    Community Member
    70 Posts

    Re: mod_rewrite enabled Link to this post

    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!

    1575 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.