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.

General Questions /

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

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

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


Reply


2 Posts   416 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, 1799 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.