Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » mod_rewrite issues remain in 2.2.2 rc2

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1466 Views
  • sharper
    Avatar
    Community Member
    7 Posts

    mod_rewrite issues remain in 2.2.2 rc2 Link to this post

    i've installed the latest build and the issue with mod_rewrite still remain. specifically, i continue to get this message: "I can't tell whether mod_rewrite is running. You may need to configure a rewriting rule yourself."

    is there a solution or work-around?

  • tuwhare
    Avatar
    Community Member
    3 Posts

    Re: mod_rewrite issues remain in 2.2.2 rc2 Link to this post

    Yes I have the same issue on a server I am working. I managed to get it working by making changes to Apache conf file on my development server as suggested in the install documentation.

    However I cannot make changes to Apache on my Production server as it is a hosted server and I do not have access to conf files to make changes. My host states mod_rewrite is enabled.

    Any help with getting around the mod_rewrite issues would be appreciated. Currently working with 2.2.1

  • cames
    Avatar
    Community Member
    9 Posts

    Re: mod_rewrite issues remain in 2.2.2 rc2 Link to this post

    Does your host run PHP as cgi? If so, you won't have the apache2handler functions to return the available modules, so the installer tells the truth, if not the full story. Complete the install anyway, and check your .htaccess file - the rewrite rules should still get written and Silverstripe should be fine.

  • tuwhare
    Avatar
    Community Member
    3 Posts

    Re: mod_rewrite issues remain in 2.2.2 rc2 Link to this post

    I've since read the 2.2.2 rc2 resolves the rewrite so I have successfully installed that now. I still got the "cannot determine if mod_rewrite is working" error but managed to install regardless. My host runs Apache on Linux (of course) so PHP runs normally rather than as cgi.

    Most things are working okay in 2.2.2 but there are a few quirks (bugs) which I will look to document.

  • cames
    Avatar
    Community Member
    9 Posts

    Re: mod_rewrite issues remain in 2.2.2 rc2 Link to this post

    PHP can be run on Linux as an executable cgi binary, or integrated with Apache as a module - check 'Server API' at the top of PHP Info output to see which one you have.

    1466 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.