Without reading into the rule closely, I will point out that CF10 is known
to have case sensitivity in some situations (especially seeming to trip up
such rewrite rules) that is different from CF9. Just sharing that as a clue
if it may help you debug things.

/charlie

 

From: [email protected] [mailto:[email protected]] On Behalf
Of Xiaofeng Liu
Sent: Thursday, June 07, 2012 11:54 PM
To: [email protected]
Subject: [cfaussie] URL rewrite problem since upgraded to CF 10

 

Hi guys,

I got an issue since I upgraded to CF10.

I am using Apache 2.2 and before I upgraded to CF 10 I have URL rewrite rule
in my apache vhost file like the red highlighted text below, without them
commented out:

# I set localhost pointing to cfide so i can access my cf admin
<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot "C:/ColdFusion10/cfusion/

wwwroot/"
    ServerName localhost
    ServerAlias localhost
    ErrorLog "logs/localhost-error.log"
    CustomLog "logs/localhost-access.log" common
    Alias /CFIDE "C:/ColdFusion10/cfusion/wwwroot/CFIDE"
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot "C:/dev/www/duno_farcry"
    ServerName duno_farcry.int
    ServerAlias duno_farcry.int
    ErrorLog "logs/duno_farcry.int-error.log"
    CustomLog "logs/duno_farcry.int-access.log" common

    #RewriteEngine On
    #RewriteCond %{REQUEST_URI}
!(^/farcry|^/webtop|^/flex2gateway|^/flashservices|^/cfide)($|/)
    #RewriteRule ^([^.]+)$ /index.cfm?furl=/$1 [L,NC,QSA]
    Alias /CFIDE "C:/ColdFusion10/cfusion/wwwroot/CFIDE"
</VirtualHost>

It all worked fine before. But since I upgrade to CF 10, if I leave the
rewrite rule there, when I access the virtual host duno_farcry.int, I always
get redirected the the document root which is where the cfide sits.

 

If I commented out the rewrite rule I can access the site fine.

Can anyone see what the problem is?



-- 
Best regards,

Xiaofeng,^_^

-- 
You received this message because you are subscribed to the Google Groups
"cfaussie" 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/cfaussie?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" 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/cfaussie?hl=en.

Reply via email to