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.

Installing SilverStripe /

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

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

Installation only showing "Index of" page


Reply


4 Posts   1237 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.