This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Common Questions (Forum Locked Forum Locked)
 Helicon Tech : Common Questions
Subject Topic: Permanently redirect single page
Author
Message |
bnchester
Newbie


Joined: 26 November 2010
Location: United States
Posts: 1
Posted: 26 November 2010 at 1:29pm

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
 
Guests
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 29 November 2010 at 4:32am

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
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
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