Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

RE: FN-FORUM: ISAPI Rewrite issues

date posted 11th September 2007 13:33

Hi Paul,

Simply encode the filename string in asp with server.urlencode(string), that
should convert those # and / into url compatible code.

Regards
Sam Morgan
WiredEyes Media / ServWise Advanced Hosting

tel (Uk): +44 (0)20 7100 2178
tel (Italy): +39 070 773 6543
web : www.wiredeyes.com / www.servwise.com
----
umop ap!sdn w,! aw dlaH
----
==========================
Summer Sale 50% off all ServWise
hosting, use coupon code : HALFPRICE
==========================

> -----Original Message-----
> From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of Paul
> Cooper
> Sent: Tuesday, September 11, 2007 2:59 PM
> To: FN-FORUM / [EMAIL REMOVED]
> Subject: FN-FORUM: ISAPI Rewrite issues
>
>
> I'm using an ASP ISAPI rewrite component which I think does what most
> of you would know as mod rewrite. I've come across issues when using
> # (hash) and / (forward slash) characters.
>
> For example I get an error when you click on the first 2 links on this
> page:
>
> http://www.perpetual-solutions.com.servwise.com/training-
> courses/133,3/TCP/IP,-IP,-IPv6-Training-Courses.htm
>
> For the # sign I just did a 'replace with nothing' to remove it. This
> isn't ideal as I want people to be able to search for C# courses and
> have my pages indexed as such. I'm kind of assuming there's no way
> round it (browsers treat hashes with bookmarks and slashes with folder
> paths).
>
> But I thought I'd check just in case. Am I doing the right thing?
> Whilst I'm at it, are there any other characters that would cause me
> problems?
>
> TIA
> Paul
>
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
>



Messages by Day
September 30th 2007
September 29th 2007
September 28th 2007
September 27th 2007
September 26th 2007
September 25th 2007
September 24th 2007
September 23rd 2007
September 22nd 2007
September 21st 2007
September 20th 2007
September 19th 2007
September 18th 2007
September 17th 2007
September 16th 2007
September 15th 2007
September 14th 2007
September 13th 2007
September 12th 2007
September 11th 2007
September 10th 2007
September 9th 2007
September 8th 2007
September 7th 2007
September 6th 2007
September 5th 2007
September 4th 2007
September 3rd 2007
September 2nd 2007
September 1st 2007


Messages by Month
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000