4571 Posts in 1383 Topics by 1376 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 924 Views |
-
Installation only showing "Index of" page

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?
-
Re: Installation only showing "Index of" page

8 November 2010 at 2:12pm Last edited: 8 November 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
-
Re: Installation only showing "Index of" page

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.
-
Re: Installation only showing "Index of" page

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.
| 924 Views | ||
|
Page:
1
|
Go to Top |


