The first thing to do is turn mod rewrite logging on and set the log level (you can google that bit) then watch the rewrite log as you make the request and check that apache is still rewriting the URL as expected. The only other thing I could suggest trying is put your rewrite rules in a .htaccess file (not ideal) and see if it works or not ( you can google that one too as there are plenty of people that have had to do that with apache), the other thing that can happen when installing/upgrading coldfusion is it can write new stuff to the apache config so check your config files for anything new that may have been added :)
Sent from my iPhone On 8 Jun 2012, at 04:54, Xiaofeng Liu <[email protected]> wrote: > 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.
