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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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