icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Choosing Surpass » Signed Up? » htaccess redirect and encoding...

Signed Up? If you're new with a question, ask here!

Reply
 
LinkBack Thread Tools Search this Thread
Old April 12th, 2006, 12:37 AM   #1 (permalink)
Registered User
Seasoned Poster
 
Joined in Mar 2006
Lives in Canada
Hosted on pass94
88 posts
Gave thanks: 0
Thanked 0 times
htaccess redirect and encoding...

I've created a redirect in cpanel.

It adds a RedirectMatch line in .htaccess

One of the URLs in the RedirectMatch line has a "?" question mark. This gets passed to the browser as %3F (ascii code I think) which of course fails to resolve and the client gets a 500 error.

How do I make sure a "?" is passed to the browser just as it appears in .htaccess?
__________________
\\\\\\\\\\//////////
http://www.theweeklyrant.com
wickers is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 12th, 2006, 1:21 AM   #2 (permalink)
Surpass Fan
Super #1
 
Joined in Aug 2004
Hosted on SH58
1,688 posts
Gave thanks: 6
Thanked 7 times
can you paste the line from .htaccess?
__________________
- Evan Charlton | [site] | Server - SH58
Kickersny.com is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 12th, 2006, 1:27 AM   #3 (permalink)
Registered User
Seasoned Poster
 
Joined in Mar 2006
Lives in Canada
Hosted on pass94
88 posts
Gave thanks: 0
Thanked 0 times
Code:
RedirectMatch permanent ^/article/2/rant-of-the-week$ http://en.theweeklyrant.com/modules/news/article.php?storyid=4
__________________
\\\\\\\\\\//////////
http://www.theweeklyrant.com
wickers is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 12th, 2006, 3:06 PM   #4 (permalink)
Registered User
Seasoned Poster
 
Joined in Mar 2006
Lives in Canada
Hosted on pass94
88 posts
Gave thanks: 0
Thanked 0 times
mm... *bump*
__________________
\\\\\\\\\\//////////
http://www.theweeklyrant.com
wickers is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 15th, 2006, 7:23 PM   #5 (permalink)
Registered User
Seasoned Poster
 
Joined in Mar 2006
Lives in Canada
Hosted on pass94
88 posts
Gave thanks: 0
Thanked 0 times
Well I'm just going to use a redirect script in the page then. thanks anyway.
__________________
\\\\\\\\\\//////////
http://www.theweeklyrant.com
wickers is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are On
Pingbacks are On
Refbacks are On