Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th July 2012, 18:56
rubendob rubendob is offline
Junior Member
 
Join Date: Jul 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation 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!
Reply With Quote
Sponsored Links
  #2  
Old 27th July 2012, 13:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 24th September 2012, 16:12
rubendob rubendob is offline
Junior Member
 
Join Date: Jul 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default 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.
Reply With Quote
Reply

Bookmarks

Tags
apache, fastcgi, php-fpm, rewrite

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR 503 nginx demon326 Installation/Configuration 4 25th November 2011 19:02
ISPConfig3 Debian Squeeze Crontab - Log petrichbg Installation/Configuration 5 22nd March 2011 13:25
coexistence of php4 and php5 on ISPC3 AceLine Tips/Tricks/Mods 5 5th November 2010 15:56
libWand.so.10 error Taxick Installation/Configuration 8 3rd May 2009 02:27
Apache2 Freezes celtic Server Operation 31 28th May 2007 18:18


All times are GMT +2. The time now is 20:01.


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