This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Common Questions
 Helicon Tech : Common Questions
Subject Topic: Permanently redirect single page Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
bnchester
Newbie
Newbie


Joined: 26 November 2010
Location: United States
Online Status: Offline
Posts: 1
Posted: 26 November 2010 at 1:29pm | IP Logged Quote bnchester

I can't believe how much trouble I am having with this.  I am on shared Windows hosting and cannot use .htaccess to do a 301 redirect.  My hosting provider tells me they have ISAPI_Rewrite installed and that I can use that instead.  He says I should create a .irwaccess file instead of .htaccess.

All I want to do is have page.html in my root folder redirected to /subfolder/page.php.  I have followed all the examples I can find, both on this forum and on other sites, and here is what I now have in the .irwaccess file (this the entire contents):

RewriteEngine on
RewriteBase /
RewriteRule ^page\.htm$ http://www.mydomain.com/subfolder/page.php [NC,L]

What am I doing wrong?  I have been trolling this forum for an hour, see lots of similar questions, but am obviously missing something.

Thanks!
Back to Top View bnchester's Profile Search for other posts by bnchester
 
Guests
Guest
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -149
Posted: 29 November 2010 at 4:32am | IP Logged Quote Guests

Hello,

Your rule looks okay! (You may need to comment RewriteBase, as a fact)
So the thing i'm most concerned about is that how your provider has managed to use .irwaccess.

For your provider the necessary entry to make in httpd.conf is:

Code:
<VirtualHost www.domain_client1.com>
AccessFileName .irwaccess
</VirtualHost>


Regards
Andrew
Back to Top View Guests's Profile Search for other posts by Guests
 

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 cannot vote in polls in this forum