Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

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

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

Installation only showing "Index of" page


Go to End


4 Posts   1998 Views

Avatar
evjan

Community Member, 7 Posts

8 November 2010 at 12:42pm

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?

Avatar
Sean

Forum Moderator, 922 Posts

8 November 2010 at 2:12pm

Edited: 08/11/2010 2:14pm

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

Avatar
evjan

Community Member, 7 Posts

8 November 2010 at 6:54pm

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.

Avatar
Sean

Forum Moderator, 922 Posts

9 November 2010 at 12:06am

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.