Jump to:

4642 Posts in 1401 Topics by 1394 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, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 2364 Views
  • amarbhanu
    Avatar
    Community Member
    57 Posts

    mod_rewrite enabled Link to this post

    You need mod_rewrite to run SilverStripe CMS, but it is not enabled.

    this massage send wamp when installation silverstripe, please suggest me how can remove it.

  • banal
    Avatar
    Community Member
    901 Posts
  • amarbhanu
    Avatar
    Community Member
    57 Posts

    Re: mod_rewrite enabled Link to this post

    banal thanks...

  • jujudellago
    Avatar
    Community Member
    1 Post

    Re: mod_rewrite enabled Link to this post

    Hi,

    I have issues instaling silverstripe on my development machine (mac osx leopard)

    I am absolutely sure mod_rewrite is working fine, I can see it in the loaded modules with a <?php phpinfo(); ?> and it's working fine on other CMS installations (I.E. Wordpress)

    The documentations says silverstripe can be installed without mod_rewrite, in that case I don't know how that can be achieved, as the installer always hangs:

    ------------------------------------------------------------

    # Creating 'mysite/_config.php'...
    # Creating /Users/juju/Sites/silverstripe/mysite/_config.php
    # Creating '.htaccess' file...
    # Creating /Users/juju/Sites/silverstripe/.htaccess
    # Building database schema...
    # Checking that friendly URLs work...
    # Friendly URLs are not working. This is most likely because mod_rewrite isn't configuredcorrectly on your site. Please check the following things in your Apache configuration; you may need to get your web host or server administrator to do this for you:

    * mod_rewrite is enabled
    * AllowOverride All is set for your directory
    ------------------------------------------------------------

    I thought "AllowOverride All" was defined in the .htaccess ?

    the .htacess is generated with the following content:

    ------------------------------------------------------------------

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

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    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 ###

    ------------------------------------------------------------------

    I never had this kind of errors.... so I don't really knowwhere to look....

    any tips will be highly appreciated

    cheers

    2364 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.