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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Mod_Rewrite


Go to End


3 Posts   1326 Views

Avatar
Roony

Community Member, 14 Posts

3 December 2010 at 8:25am

I have a new install of SS2.4 and it all works properly, however when I delete /index.php from the url it gives me a 500 error. When I add index.php back the site works fine. This means that every page has /index.php in front of it, which i need to get rid of.

the site is www.locodesigns.com.au

but you will only be able to see it properly at www.locodesigns.com.au/index.php

Is this something to do with mod_rewrite? and if so how do I fix it on my webserver? Or is it another problem that I will be able to look into? Any ideas anyone?

Avatar
Sean

Forum Moderator, 922 Posts

3 December 2010 at 8:40am

Edited: 03/12/2010 8:43am

This usually means mod_rewrite isn't enabled.

You could also ask your host for any logs which may shed light on the 500 server error.

Could you paste in your .htaccess file here?

Avatar
greenpea

Community Member, 19 Posts

18 May 2011 at 8:56pm

Edited: 18/05/2011 9:17pm

I had the same problem and my .htaccess file was empty - no content at all.

This thread http://www.silverstripe.org/installing-silverstripe/show/16895 sorted it out, now index.php no longer shows