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

Most URLs wont work unless index.php is at the start


Go to End


2 Posts   842 Views

Avatar
KJ

Community Member, 1 Post

7 March 2014 at 7:36am

Hi

I'm working on old code that had its environment set up by someone else. Everything worked fine.

Now I'm setting it up under Linux and finding that a lot of the code breaks when clicking on links.

I.e. http://localhost/index.php/budget/admin/list ... works
but http://localhost/budget/admin/list ... but this fails

Rather than changing all the lniks to have index.php at the start does anyone know how to fix this?

I've tried playing around with mod rewriting/.htaccess but to no avail.

Thank you!

Avatar
swaiba

Forum Moderator, 1899 Posts

7 March 2014 at 7:53am

Well it certainly is the rewrite module either not enable or something.

The index.php is a substitute for that module.

I advise starting with a fresh install (just the plain cms to test this) and following all install instructions - then when this is working switch focus back to your inherited site.