HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Apache FastCgi PHP-FPM: mod_rewrite? (http://www.howtoforge.com/forums/showthread.php?t=58086)

rubendob 26th July 2012 17:56

Apache FastCgi PHP-FPM: mod_rewrite?
 
Hello

I have follow this tutorial and it works!

http://www.howtoforge.com/using-php5...-centos-6.2-p2

Only point is the rules of rewrite of my old server (apache mod_php ) does not work with the new server

Mod_Rewrite is enabled by default in my new setup. I don't know if extra setup is needed with FastCGI enabled or simply I need to modify the rules

Any ideas? I leave some rules of my application for better explanation:

...
RewriteRule ^direccion$ /address.php [QSA,L]
RewriteRule ^direcciones$ /addresses.php [QSA,L]
...

It's just an example. Currently any rewrite rule works for me :(

If somebody can help here, will be great!

falko 27th July 2012 12:48

Is the rewrite module enabled?

If you use your rewrite rules in an .htaccess file, do you use
Code:

AllowOverride All
so that these rules are allowed in the .htaccess file?

rubendob 24th September 2012 15:12

you're right
 
hello falko

yes you were right, I have changed AllowOverride from /var/www/html default None to All and then .htaccess generated by Wordpress works.

Thanks by your support.


All times are GMT +2. The time now is 16:11.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.