Jump to:

23358 Posts in 17875 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » Most URLs wont work unless index.php is at the start

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

Page: 1
Go to End
Author Topic: 282 Views
  • KJ
    Avatar
    Community Member
    1 Post

    Most URLs wont work unless index.php is at the start Link to this post

    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!

  • swaiba
    Avatar
    Forum Moderator
    1784 Posts

    Re: Most URLs wont work unless index.php is at the start Link to this post

    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.

    282 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.