LinkFreeze on IIS7 64bit with rewrite
9 posts
• Page 1 of 1
LinkFreeze on IIS7 64bit with rewrite
Hi
I have an issue that pages without a file all links are not linkfreezed but when a site has a page e.g. /default.cfm then all links are freezes.
httpd.conf
-------------------------------
Include licenses.conf
Options All -StopOnError
LoadModule linkfreeze_module modules/mod_linkfreeze.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
RewriteLog rewrite.log
RewriteLogLevel 9
##
## Enable Linkfreeze
##
SetEnv mod_linkfreeze
#SetOutputFilter linkfreeze
------------------------------
htaccess
------------------------------
# Helicon Ape version 3.1.0.103
#LinkFreezeEngine on
LinkFreezePageSizeLimit 4096
LinkFreezeRule ~~~ "*" [NoSort, MoveExt]
RewriteEngine on
RewriteBase /
RewriteRule ^/Home(.*)\.html$ /Home.cfm\?id=$1 [NC,L]
RewriteRule ^/AgentHomes(.*)\.html$ /Agent_Homes.cfm\?id=$1 [NC,L]
RewriteRule ^/Agent(.*)\.html$ /Agent.cfm\?id=$1 [NC,L]
RewriteRule ^/Broker(.*)\.html$ /Broker.cfm\?id=$1 [NC,L]
RewriteRule ^/OfficeHomes(.*)\.html$ /Office_Homes.cfm\?id=$1 [NC,L]
RewriteRule ^/images/Dejablue(.*)\.gif$ /site/EmailTracker.cfm\?id=$1 [NC,L]
RewriteRule ^/location/([^/\.]+)$ /landing_page.cfm?uniquename=$1 [NC,QSA,L]
RewriteRule ^/gallery/?([^/\.]*)/?([^/\.]*)/?([^/\.]*)$ /gallery/default.cfm?p=$1&imagegroup=$2&imageid=$3 [NC,QSA,L]
RewriteRule ^/category/([^/\.]+)$ /_category.cfm?categorynameurl=$1 [NC,L]
RewriteRule ^/offer/.*/([^/\.]+)$ /_offer.cfm?offerid=$1 [NC,L]
----------------------------
With this config the issue appears if I remove anything from httpd.conf linkfreeze does not work at all.
Thank you in advance for you help
Niko
I have an issue that pages without a file all links are not linkfreezed but when a site has a page e.g. /default.cfm then all links are freezes.
httpd.conf
-------------------------------
Include licenses.conf
Options All -StopOnError
LoadModule linkfreeze_module modules/mod_linkfreeze.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
RewriteLog rewrite.log
RewriteLogLevel 9
##
## Enable Linkfreeze
##
SetEnv mod_linkfreeze
#SetOutputFilter linkfreeze
------------------------------
htaccess
------------------------------
# Helicon Ape version 3.1.0.103
#LinkFreezeEngine on
LinkFreezePageSizeLimit 4096
LinkFreezeRule ~~~ "*" [NoSort, MoveExt]
RewriteEngine on
RewriteBase /
RewriteRule ^/Home(.*)\.html$ /Home.cfm\?id=$1 [NC,L]
RewriteRule ^/AgentHomes(.*)\.html$ /Agent_Homes.cfm\?id=$1 [NC,L]
RewriteRule ^/Agent(.*)\.html$ /Agent.cfm\?id=$1 [NC,L]
RewriteRule ^/Broker(.*)\.html$ /Broker.cfm\?id=$1 [NC,L]
RewriteRule ^/OfficeHomes(.*)\.html$ /Office_Homes.cfm\?id=$1 [NC,L]
RewriteRule ^/images/Dejablue(.*)\.gif$ /site/EmailTracker.cfm\?id=$1 [NC,L]
RewriteRule ^/location/([^/\.]+)$ /landing_page.cfm?uniquename=$1 [NC,QSA,L]
RewriteRule ^/gallery/?([^/\.]*)/?([^/\.]*)/?([^/\.]*)$ /gallery/default.cfm?p=$1&imagegroup=$2&imageid=$3 [NC,QSA,L]
RewriteRule ^/category/([^/\.]+)$ /_category.cfm?categorynameurl=$1 [NC,L]
RewriteRule ^/offer/.*/([^/\.]+)$ /_offer.cfm?offerid=$1 [NC,L]
----------------------------
With this config the issue appears if I remove anything from httpd.conf linkfreeze does not work at all.
Thank you in advance for you help
Niko
Re: LinkFreeze on IIS7 64bit with rewrite
Hello, Niko
Can you give an example of the URL for which LinkFreeze doesn't work.
Can you give an example of the URL for which LinkFreeze doesn't work.
Re: LinkFreeze on IIS7 64bit with rewrite
Anton wrote:Hello, Niko
Can you give an example of the URL for which LinkFreeze doesn't work.
http://dreamhomes.dyndns.org/
On the left side hoover over the link "Sold Homes" and verify the link. Then click on it and hoover over it again.
Re: LinkFreeze on IIS7 64bit with rewrite
Hello, Niko
Please make sure that response from Condfusion doesn't come zipped.
Also, if necessary, switch off Flush in Coldfusion, 'cause otherwise it may bypass LinkFreeze.
And also check Ape error.log for possible error messages.
Please make sure that response from Condfusion doesn't come zipped.
Also, if necessary, switch off Flush in Coldfusion, 'cause otherwise it may bypass LinkFreeze.
And also check Ape error.log for possible error messages.
Re: LinkFreeze on IIS7 64bit with rewrite
Thank you for your response. I checked both and none of the caches are on.
What exactly do you mean by "doesn't come zipped"
Thank you.
Niko
What exactly do you mean by "doesn't come zipped"
Thank you.
Niko
Re: LinkFreeze on IIS7 64bit with rewrite
IS that what you meant? The smart_gzip_compression.conf file
LoadModule gzip_module modules/mod_gzip.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule headers_module modules/mod_headers.so
LoadModule cache_module modules/mod_cache.so
# By file extension
SetEnvIfNoCase request_uri \.mdb$ gzip=9
SetEnvIfNoCase request_uri \.bmp$ gzip cache-enable=mem
SetEnvIfNoCase request_uri \.(?:jpg|gif|png|swf|avi|rm)$ no-gzip
# By MIME type
SetEnvIfNoCase mime text/.* gzip=9 cache-enable=mem
SetEnvIfNoCase mime audio/wav gzip cache-enable=mem
SetEnvIfNoCase mime image/bmp gzip cache-enable=mem
SetEnvIfNoCase mime message/rfc822 gzip
SetEnvIfNoCase mime application/msword gzip
SetEnvIfNoCase mime application/postscript gzip
SetEnvIfNoCase mime application/vnd.ms-excel gzip
SetEnvIfNoCase mime application/vnd.ms-powerpoint gzip
SetEnvIfNoCase mime application/vnd.ms-works gzip
SetEnvIfNoCase mime application/x-javascript gzip cache-enable=mem
SetEnvIfNoCase mime application/x-msaccess gzip
SetEnvIfNoCase mime application/pdf gzip
# Exceptions for old browsers
#BrowserMatchNoCase \bOpera(?:\s5\.|/5) and mime application/.* no-gzip vary-agent !cache-enable
#BrowserMatchNoCase \bMozilla/4\.[67] and (mime application/.* or mime image/.*) no-gzip vary-agent !cache-enable
#BrowserMatchNoCase \bNetscape(?:6/6\.|/) and mime application/.* no-gzip vary-agent !cache-enable
#BrowserMatchNoCase \bFirefox/1 and mime application/pdf no-gzip vary-agent !cache-enable
SetEnvIfNoCase (mime text/css) or (mime image/jpeg) vary-agent
BrowserMatchNoCase \bMSIE\s[567]\. and (mime text/css or mime image/jpeg) no-gzip vary-agent !cache-enable
# Vary header should be properly set for caching
Header merge Vary User-Agent env=vary-agent
# Set expiry delta for static content.
# Dynamic pages should set expiry delta by oneself.
Header merge Cache-Control max-age=86400 env=cache-enable
LoadModule gzip_module modules/mod_gzip.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule headers_module modules/mod_headers.so
LoadModule cache_module modules/mod_cache.so
# By file extension
SetEnvIfNoCase request_uri \.mdb$ gzip=9
SetEnvIfNoCase request_uri \.bmp$ gzip cache-enable=mem
SetEnvIfNoCase request_uri \.(?:jpg|gif|png|swf|avi|rm)$ no-gzip
# By MIME type
SetEnvIfNoCase mime text/.* gzip=9 cache-enable=mem
SetEnvIfNoCase mime audio/wav gzip cache-enable=mem
SetEnvIfNoCase mime image/bmp gzip cache-enable=mem
SetEnvIfNoCase mime message/rfc822 gzip
SetEnvIfNoCase mime application/msword gzip
SetEnvIfNoCase mime application/postscript gzip
SetEnvIfNoCase mime application/vnd.ms-excel gzip
SetEnvIfNoCase mime application/vnd.ms-powerpoint gzip
SetEnvIfNoCase mime application/vnd.ms-works gzip
SetEnvIfNoCase mime application/x-javascript gzip cache-enable=mem
SetEnvIfNoCase mime application/x-msaccess gzip
SetEnvIfNoCase mime application/pdf gzip
# Exceptions for old browsers
#BrowserMatchNoCase \bOpera(?:\s5\.|/5) and mime application/.* no-gzip vary-agent !cache-enable
#BrowserMatchNoCase \bMozilla/4\.[67] and (mime application/.* or mime image/.*) no-gzip vary-agent !cache-enable
#BrowserMatchNoCase \bNetscape(?:6/6\.|/) and mime application/.* no-gzip vary-agent !cache-enable
#BrowserMatchNoCase \bFirefox/1 and mime application/pdf no-gzip vary-agent !cache-enable
SetEnvIfNoCase (mime text/css) or (mime image/jpeg) vary-agent
BrowserMatchNoCase \bMSIE\s[567]\. and (mime text/css or mime image/jpeg) no-gzip vary-agent !cache-enable
# Vary header should be properly set for caching
Header merge Vary User-Agent env=vary-agent
# Set expiry delta for static content.
# Dynamic pages should set expiry delta by oneself.
Header merge Cache-Control max-age=86400 env=cache-enable
Re: LinkFreeze on IIS7 64bit with rewrite
Hello, Niko
"IS that what you meant? The smart_gzip_compression.conf file"
- not really, but I see it's not the issue.
Could you disable LinkFreeze for a minute, copy the actual source code of the page (we are interested to see which type of links is frozen fine and which not) and re-enable LinkFreeze. And send us the actual links.
Also, please enable logging in httpd.conf by putting
LogLevel debug
And check if there are any records related to LinkFreeze in error.log in Ape installation folder.
"IS that what you meant? The smart_gzip_compression.conf file"
- not really, but I see it's not the issue.
Could you disable LinkFreeze for a minute, copy the actual source code of the page (we are interested to see which type of links is frozen fine and which not) and re-enable LinkFreeze. And send us the actual links.
Also, please enable logging in httpd.conf by putting
LogLevel debug
And check if there are any records related to LinkFreeze in error.log in Ape installation folder.
Re: LinkFreeze on IIS7 64bit with rewrite
Hello, good, it seems interesting. And good help it is very useful
9 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 13 guests