I've installed SilverStripe (lastest version) on Ubuntu 9.04.. All work fine, but.... in the url, I see that "index.php" need to be write. If not, the url rewriting is not "in action".
For example, for the rebuild, this url is not valid : /relations_ships/db/rebuild?flush=1. I must add "index.php : /relations_ships/index.php/db/rebuild?flush=1
I try to see in the .htaccess, but the file is like the original after installation. Is in the apache2 configuration ?
2 June 2009 at 8:52am
(Last edited: 2 June 2009 8:52am),
Are you sure that mod_rewrite is enabled on your webserver, for the folder in question?
AFAIK SilverStripe now also works without mod_rewrite (see this post: http://silverstripe.org/silverstripe-2-3-1rc1-released-testers-wanted/), and it seems the URL you're using is the one without rewrite!
3 June 2009 at 12:32am
Is your site mounted at http://your-domain-name/silverstripe/relations_ships or http://your-domain-name/relations_ships? If it's the latter, I think the RewriteBase directive (in .htaccess) should be "RewriteBase /relations_ships".
3 June 2009 at 11:43pm
Hum...there is a difference between having an Apache module installed and having it enabled. In your site's phpinfo() output, does the "Loaded Modules" section under one of the "apache" headings show "mod_rewrite"?