Jump to content

Recommended Posts

Posted

Hi all,

is there a difference between the mod_rewrite module of Apache and $_SERVER['REDIRECT_HTTP_MOD_REWRITE'] or $_ENV['REDIRECT_HTTP_MOD_REWRITE']?

Processwire fails to detect mod_rewrite, but $_SERVER/$_ENV['REDIRECT_HTTP_MOD_REWRITE'] is "on".

Does it have to do with Apache running as FastCGI? I'm totally stuck here, because every other system using rewrites works fine on the machine, only Processwire fails. From phpinfo():

$_ENV["REDIRECT_HTTP_MOD_REWRITE"] On

$_SERVER["REDIRECT_HTTP_MOD_REWRITE"] On

Thanks for any hint!

Thomas

Posted

What he's implying is that it does help if you've searched for an answer first and report whether solutions provided in those threads worked for you or not :)

From the threads linked to by Soma and the ones below, PW does work with FastCGI. But, as you can tell from the threads, there could be issues..

http://processwire.com/talk/topic/2768-processwire-23-testing/?p=27542

http://processwire.com/talk/topic/4280-best-server-configuration-for-processwire/?p=42081

Posted

Ok, sorry folks.

I havent't tried to just ignore the error mentioned above - so I did it...

Now PW runs fine. Maybe PW is able to check the REDIRECT_HTTP_MOD_REWRITE on installation in the future, too?    :rolleyes:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...