Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » mod_rewrite enabled

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

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

Page: 1
Go to End
Author Topic: 1592 Views
  • Harry
    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

    <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
  • rbquirke
    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!

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.