Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Jun 15, 2011 10:18 am 
Offline
Senior Newbie

Joined: Wed Jun 15, 2011 8:37 am
Posts: 13
Website: http://aplawrence.com
<Directory /srv/www/aplawrence.com/Unixart>

RedirectMatch permanent ^/Unixart/perl_gates.html /cgi-bin/indexget.pl?Perl
RedirectMatch permanent ^/Unixart/bgrecovery.html /BGarlock/bgriprecovery.html
RedirectMatch permanent ^/Unixart/upgrade.html /Unixart/upgrades.html

</Directory>


All of these work fine except the one for /Unixart/bgrecovery.html

i keep looking and looking but I don't see my error..


Top
   
 Post subject:
PostPosted: Wed Jun 15, 2011 11:23 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
In what way is it not working?


Top
   
 Post subject:
PostPosted: Wed Jun 15, 2011 12:04 pm 
Offline
Senior Newbie

Joined: Wed Jun 15, 2011 8:37 am
Posts: 13
Website: http://aplawrence.com
Guspaz wrote:
In what way is it not working?


It's not redirecting - at least not for me from here.. I flushed cache.. I even fired up Safari (I normally use Chrome) and did a complete Safari reset. It doesn't redirect.

Am I meant to think that it does when you tried it???


Top
   
 Post subject:
PostPosted: Wed Jun 15, 2011 1:33 pm 
Offline
Senior Member
User avatar

Joined: Fri Dec 11, 2009 7:09 pm
Posts: 168
I get a 404 for that, with a suggestion that it is Closest match: ^/­Unixart/­bgriprecovery.­html which does redirect.

_________________
--
Chris Bryant


Top
   
 Post subject:
PostPosted: Wed Jun 15, 2011 1:57 pm 
Offline
Senior Newbie

Joined: Wed Jun 15, 2011 8:37 am
Posts: 13
Website: http://aplawrence.com
bryantrv wrote:
I get a 404 for that, with a suggestion that it is Closest match: ^/­Unixart/­bgriprecovery.­html which does redirect.


Exactly. But it should redirect without stopping there as the other ones do. It worked correctly on the site I came from (though I only had .htaccess there and am in the virtual host config here).

Obviously I have something munged, I just cannot see it!


Top
   
 Post subject:
PostPosted: Wed Jun 15, 2011 2:28 pm 
Offline
Senior Member
User avatar

Joined: Fri Dec 11, 2009 7:09 pm
Posts: 168
Actually- I was suggesting that the redirect:
RedirectMatch permanent ^/Unixart/bgrecovery.html /BGarlock/bgriprecovery.html
Has a typo as there is no ^/Unixart/bgrecovery.html, rather it is ^/Unixart/bgriprecovery.html

_________________
--

Chris Bryant


Top
   
 Post subject:
PostPosted: Wed Jun 15, 2011 2:33 pm 
Offline
Senior Newbie

Joined: Wed Jun 15, 2011 8:37 am
Posts: 13
Website: http://aplawrence.com
bryantrv wrote:
Actually- I was suggesting that the redirect:
RedirectMatch permanent ^/Unixart/bgrecovery.html /BGarlock/bgriprecovery.html
Has a typo as there is no ^/Unixart/bgrecovery.html, rather it is ^/Unixart/bgriprecovery.html


:)

A page doesn't have to exist for a redirect. None of the others exist either.

The point of the redirect is to correct the typo that somebody linking to it made.


Top
   
 Post subject:
PostPosted: Wed Jun 15, 2011 2:44 pm 
Offline
Senior Member
User avatar

Joined: Fri Dec 11, 2009 7:09 pm
Posts: 168
Dohh! :)

_________________
--

Chris Bryant


Top
   
 Post subject:
PostPosted: Sun Jun 19, 2011 1:31 am 
Offline
Senior Newbie

Joined: Tue Sep 07, 2010 12:19 pm
Posts: 14
AOL: 7000+Springs+LN
Location: United States
Works for me as of the 19TH, so I assume you figured it out.


Top
   
 Post subject:
PostPosted: Sun Jun 19, 2011 6:22 am 
Offline
Senior Newbie

Joined: Wed Jun 15, 2011 8:37 am
Posts: 13
Website: http://aplawrence.com
bcoker wrote:
Works for me as of the 19TH, so I assume you figured it out.


Yes - I had screwed up the <Directory> paths and it was actually reading the old .htaccess files. (which didn't have that particular redirect in them).

But I don't know how you got it , because I just fixed it AFTER reading your post..


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group