Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 3.0 support forum
 Helicon Tech : ISAPI_Rewrite 3.0 support forum
Subject Topic: work ok on staging site but not on real Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
scoop
Newbie
Newbie


Joined: 16 April 2008
Online Status: Offline
Posts: 13
Posted: 21 September 2008 at 3:03pm | IP Logged Quote scoop

I have a http://staging.mysite.com site set up (new version of our website in a folder caled staging) with a .htaccess file running that  works great.

I have pointed iis for www.mysite.com to the staging folder which puts the new website live, but the rewrites do not work I get a 404 error. As I haven`t moved anything over and just pointed the home directory in iis to the working staging folder containing the .htaccess and website files I thought this would work.

My htaccess file doesn`t specify any domains

RewriteBase /

RewriteRule ^tobuy/([^/]+)(?:/([^/]+))?/?$ tobuy.asp?page=$1&subpage=$2 [NC,L]

Do I need to specify something in IIS or isapi?

Back to Top View scoop's Profile Search for other posts by scoop
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Online
Posts: 4840
Posted: 23 September 2008 at 2:05am | IP Logged Quote Anton

Please try putting the .htaccess into staging folder.

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You can vote in polls in this forum