Jump to:

4873 Posts in 7242 Topics by 1471 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Installation only showing "Index of" page

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: 1094 Views
  • evjan
    Avatar
    Community Member
    7 Posts

    Installation only showing "Index of" page Link to this post

    I've got an existing site that I'm trying to get up and running on my LAMP stack machine. I've put the site in /var/www/sitename but when I surf to http://localhost/sitename/ I only get the "Index of /[sitename]" page that lists the files. The same code works just fine on my MAMP machine, so what's the difference? .htaccess settings?

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Installation only showing "Index of" page Link to this post

    I think the problem is index.php is not defined as the "default document" in your Apache configuration.

    If it was, then browsing to http://localhost/mysite would take you to the SilverStripe installer.

    You can manually start it by going http://localhost/mysite/install.php

    Hope that helps!

    Sean

  • evjan
    Avatar
    Community Member
    7 Posts

    Re: Installation only showing "Index of" page Link to this post

    Thanks Sean!

    But this isn't a fresh site, this is a site that is up and running on other computers. So I don't have an install.php in my root any more.

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Installation only showing "Index of" page Link to this post

    Maybe mod_rewrite is not working on your server? That would certainly indicate why it's listing the directory contents instead of executing a PHP script.

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