yes you will need to apply the isapi filter, a free one is here
http://www.fileorama.com/applications/Ionics-ISAPI-Rewriting-Filter-1.0.1/142539.htm

download and extract it,
copy these two files:
IsapiRewrite4.dll
IsapiRewrite4.ini

to any folder accessable from IIS (make sure the two files are in the same folder)

add the following line to the end of the 
IsapiRewrite4.ini file

# Friendly URLS RewriteRules
RewriteRule  .*/go/(.*)       /go.cfm?path=/go/$1&bISAPIRewrite=1

add the filter via IIS, restart it, now any url refernce with a /go/ in it will be redirected to the
project_folder/www/go.cfm

Theo Galanakis wrote:

Hi,

 

            I have tried to enable friendly url’s in FC3.0. However keep getting this error when I visit a page on the website that has a frieldly url.

 

500 String index out of range: -1

String index out of range: -1

 

 

            Do I need to install the ISAPI filter? And where can I find one?

 

Can someone please help?

 

Environment:

CFMX7

IIS6

FC3.0

 

Theo

 


From: [email protected] [mailto:[email protected]] On Behalf Of guy phanvongsa
Sent: Thursday, 17 November 2005 10:37 AM
To: [email protected]
Subject: [farcry-dev] Re: friendly urls

 

you will probably need to check a couple of things, first check whether you have friendly urls enabled by going
Admin -> General -> Configuration -> Config Files -> Plugins
and set the FU value to Yes

Admin -> General -> Configuration -> Config Files -> FUSetting
and make sure it has a urlpattern eg. /go/

now when you make an update to your navigation and content items a friendly url will be generated for it automatically

now depending on whether you are using make a the web server point to when the '/go/' is in the url  'redirect' to project_root/www/go.cfm but not change the url


Apache:
use mod_rewrite
uncomment this near the top of page somewhere (bout line 164)
LoadModule rewrite_module modules/mod_rewrite.so

and add this line (without the ---) to your virtual host
---------------------------------------------------

RewriteEngine on
# friendly url rules
RewriteRule ^/go/(.*)$ /go.cfm?path=/go/$1 [L,PT]
---------------------------------------------------

IIS
you need to add an ISAPI rewrite filter
a free one is here
http://www.fileorama.com/applications/Ionics-ISAPI-Rewriting-Filter-1.0.1/142539.htm



[EMAIL PROTECTED] wrote:

I'm trying to figure out how to use friendly urls in Farcry 3.  When i
create a new navigation section i add the friendly url.  Then if i go
into the admin section and click manage friendly urls there is nothing
listed.  When I browse around the website as well the friendly urls
don't show up.  It seems like i need to do another step get this
working, but I not sure what to do yet.  I know in the past people had
to use some sort of IIS ISAPI filters.  It looks like FU are built into
Farcry from what I've read and seen, but can't figure out what i'm
doing wrong.
 
Mike
 
  

-- _____________________________________________________________________________________________________________________________________________________________

Notice from Melbourne Business School Ltd

The information contained in this e-mail is confidential, and is intended for the named person's use only. It may contain proprietary or legally privileged information. If you have received this email in error, please notify the sender and delete it immediately. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient

Internet communications are not secure. You should scan this message and any attachments for viruses. Melbourne Business School does not accept any liability for loss or damage which may result from receipt of this message or any attachments.

____________________________________________________________________________________________________________________________________________________________

Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.
http://www.mailguard.com.au/mg
 
 


Reply via email to