I'm going to guess this is happening because you're using relative links in the layout template and css files.
Make all the css/image references "hard" references from the site root and they won't be a problem ( i.e. instead of "css/styles.css" use "/css/styles.css").
I'm sure there's got to be a way to skip them in the filter, but this way seems to be a lot easier to work out.
Steve
On 9/15/06, Marv <[EMAIL PROTECTED]> wrote:
Hi All,
The Problem: when using FU's, the main link (for example, /go/support/)
works and it goes to the support page, but the other links in the page (css
and image links) do not as they are also getting re-written by the rule .
The css is broken and the image (in this case the mollio logo) does not
appear.
Here is a snip from the ISAPI log:
- New Url: '/go/support'
- ApplyRules (depth=0)
- Rule 1 : 2
- GenerateReplacementString: src=''
ReplacePattern='/go.cfm?path=/go/$1' vec=[[ 0, 11] ] count=2
- Result (length 24): /go.cfm?path=/go/support
- ApplyRules: returning 1
- Rewrite Url to: '/go.cfm?path=/go/support'
- HttpFilterProc SF_NOTIFY_PREPROC_HEADERS
- DoRewrites
- New Url: '/go/css/ie6_or_less.css'
- ApplyRules (depth=0)
- Rule 1 : 2
- GenerateReplacementString: src=''
ReplacePattern='/go.cfm?path=/go/$1' vec=[[ 0, 23] ] count=2
- Result (length 36): /go.cfm?path=/go/css/ie6_or_less.css
- ApplyRules: returning 1
- Rewrite Url to: '/go.cfm?path=/go/css/ie6_or_less.css'
- HttpFilterProc SF_NOTIFY_PREPROC_HEADERS
- DoRewrites
Of course, in the FU table, there is a record for /go/support, but there is
not for the embedded links on the page (go/css/ie6_or_less.css).
Is there a way to leave the secondary links untouched? Or should I build
entries in the FU table for them?
I am using Win2003/IIS/CF7/Farcry 3.0.1 with mollio skin. Using the Ionic
ISAPI re-writer.
TIA,
Marv
--
View this message in context: http://www.nabble.com/Un-Friendly-URLs-tf2279132s621.html#a6330625
Sent from the FarCry - Dev forum at Nabble.com.
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/farcry-dev
-~----------~----~----~----~------~----~------~--~---
- [farcry-dev] Un-Friendly URLs Marv
- [farcry-dev] Re: Un-Friendly URLs Steve Rittler
- [farcry-dev] Re: Un-Friendly URLs Jeff Coughlin
- [farcry-dev] Re: Un-Friendly URLs Marv
- [farcry-dev] Re: Un-Friendly URLs Jeff Coughlin
