Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » WAMP install. Getting the mod_rewrite error

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: 2181 Views
  • Aram
    Avatar
    Community Member
    598 Posts

    WAMP install. Getting the mod_rewrite error Link to this post

    well having built several sites directly to online servers, I finally got around to installing WAMP in my machine (64bit vista), but it seems it wasn't as strait forward as I was expecting.

    Installing WAMP 2.0 is fine, everything works and I get the index page.

    I also get the SS install screen, and once 'rewrite_module' is checked in the apache settings I am able to run the SS install.

    However after about a minuite I get the mod_rewrite failure screen......or I get the 'Maximum execution time exceeded'.

    I have also tried this on my laptop (32bit vista) with exactly the same result . Am I missing something here?

    Cheers

  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: WAMP install. Getting the mod_rewrite error Link to this post

    Now this is something happens because of the server configurations.

    You can edit them,

    1) the execution time in the php.ini
    2) enable mod_rewrite through the httpd.conf

    1) to increase maximum execution time open the php.ini and edit the following variable

    max_execution_time

    Also it is good to allocate more memory too,
    do it by changing the value of the following variable in the php.ini

    memory_limit

    2) to enable the mod_rewrite open the httpd.conf and then search for the following

    LoadModule rewrite_module modules/mod_rewrite.so

    then uncomment it by removing the # in front of the line.

  • Aram
    Avatar
    Community Member
    598 Posts

    Re: WAMP install. Getting the mod_rewrite error Link to this post

    Hi Nivanka

    Thanks for your reply! The rewrite_module was already uncommented in the hhtpd.conf and I tried making the max_execution_time 200 and memory limit 512, but still no joy, it just fails on the mod_rewrite step......

    I don't understand how SS can think that mod_rewrite is enabled when I go to install it and then it doesnt work when it does the rewrite test?

  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: WAMP install. Getting the mod_rewrite error Link to this post

    okay it seems that there is some other issue.

    Can you run the rewrite test and see?

    or see whether the database is created and if so try to run the website

  • Aram
    Avatar
    Community Member
    598 Posts

    Re: WAMP install. Getting the mod_rewrite error Link to this post

    Thanks Nivanka, it seems to work now, giving it more time to run meant it go to the rewrite page where I could force it and even though it was still telling me mod_rewrite wasnt working, the database is created and the site runs.

    Thanks a lot for your help, I really appreciate it

  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: WAMP install. Getting the mod_rewrite error Link to this post

    Welcome!

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