Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 25th January 2013, 16:54
bobsona bobsona is offline
Junior Member
Join Date: Jan 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with mod_rewrite... it's urgent

I moved my website from cPanel server with Apache to IspConfig3 server with nginx.
My problem is that these current lines for mod_rewrite don't work in nginx...
RewriteEngine on
RewriteRule ^blog/(.*)/?$ /blogview.php?id=$1
RewriteRule ^blog/category/(.*)/?$ /blog_category.php?id=$1
Options -Indexes
Can anyone help me ?
Sorry for my English...
Reply With Quote
Sponsored Links
Old 26th January 2013, 21:15
Croydon Croydon is offline
ISPConfig Developer
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 264 Times in 208 Posts

nginx is not capable of using .htaccess files.
You have to specify nginx-specific rewrite rules inside the nginx directives of the website.
Maybe do some searching for "convert htaccess to nginx".
Marius Cramer

pixcept KG
Reply With Quote
Old 28th January 2013, 15:13
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

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


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
table lookup problem aurelius Installation/Configuration 5 2nd November 2011 20:12
Mail send/recieve problem DKLeader Installation/Configuration 14 22nd February 2011 16:13
Urgent! SMTP/SASL problem after Kernel update teves Installation/Configuration 17 27th March 2007 12:24
URGENT Web_ problem itgroup Installation/Configuration 11 12th August 2006 18:23
EMail problem, urgent please ! fobicodam General 9 7th June 2006 15:18

All times are GMT +2. The time now is 18:40.

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