Jump to:

4938 Posts in 16827 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Internal Server Error

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: 3837 Views
  • mejobloggs
    Avatar
    Community Member
    11 Posts

    Internal Server Error Link to this post

    I've uploaded the silverstripe files 2.3rc2 to my website in a silverstripe folder.

    When I go to www.mysite.com/silverstripe/ I get the following error:

    "Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request."

    From what I've seen on the forums, this is because mod_rewrite is not enabled, yet the hosting guys assure me that it is.

    Any other suggestions on how to fix the problem? Or maybe the hosting guys are wrong, and it's actually not enabled?

  • Liam
    Avatar
    Community Member
    470 Posts

    Re: Internal Server Error Link to this post

    Check your log files to see what exactly the error is.

    It could be anything really, but the logs would say specifically.

    I doubt it's mod rewrite fwiw.

  • ultramedia
    Avatar
    Community Member
    4 Posts

    Re: Internal Server Error Link to this post

    I get this problem too, here is the alert from the last line of my apache error log :

    [Mon Dec 22 19:15:43 2008] [alert] [client 127.0.0.1] D:/server/www_silver_dev/.htaccess: RewriteBase takes one argument, the base URL of the per-directory context

    And here is the .htaccess file contents (this was just what came with SS).

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

  • ultramedia
    Avatar
    Community Member
    4 Posts

    Re: Internal Server Error Link to this post

    Got it

    Change the following :

    RewriteBase \

    to :

    RewriteBase /

    (p.s. I'm on vista)

  • mejobloggs
    Avatar
    Community Member
    11 Posts

    Re: Internal Server Error Link to this post

    My error log says "/home/mywebsite.co.nz/public_html/silverstripe/.htaccess: DirectorySlash not allowed here"

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