Weird error with linkfreeze rule
18 posts
• Page 1 of 1
Weird error with linkfreeze rule
Hello
I'm running iis 7.5 with windows 2008r2. I have application pool of v4.0 and classic and just the default install of Ape. in my httpd.conf I have setenv mod_linkfreeze uncommented as well as the module load for linkfreeze. When I have just that and the following rewrite in .htaccess:
RewriteEngine On
RewriteRule . - [G]
I get the page is gone, which tells me that the install for Ape went okay and all should be well however. When I put the following LinkFreezeRule in I get an error in my apache logs and the default page of the site returns an internal server error. Possible I'm doing something wrong but the rule seems pretty simple overall. I put this in my .htaccess file:
RewriteEngine On
LinkFreezeRule ~~~ "asp=htm"
This returns the following error in my error_log
.htaccess (4) / Internal Error - Exception in LinkFreeze_module: Object reference not set to an instance of an object.
Any ideas as to what is going on, I'm stumped.
Thanks
I'm running iis 7.5 with windows 2008r2. I have application pool of v4.0 and classic and just the default install of Ape. in my httpd.conf I have setenv mod_linkfreeze uncommented as well as the module load for linkfreeze. When I have just that and the following rewrite in .htaccess:
RewriteEngine On
RewriteRule . - [G]
I get the page is gone, which tells me that the install for Ape went okay and all should be well however. When I put the following LinkFreezeRule in I get an error in my apache logs and the default page of the site returns an internal server error. Possible I'm doing something wrong but the rule seems pretty simple overall. I put this in my .htaccess file:
RewriteEngine On
LinkFreezeRule ~~~ "asp=htm"
This returns the following error in my error_log
.htaccess (4) / Internal Error - Exception in LinkFreeze_module: Object reference not set to an instance of an object.
Any ideas as to what is going on, I'm stumped.
Thanks
Re: Weird error with linkfreeze rule
Hello,
I think you just need to enable linkfreeze like this:
SetEnv mod_linkfreeze
LinkFreezeRule ~~~ "asp=htm"
I think you just need to enable linkfreeze like this:
SetEnv mod_linkfreeze
LinkFreezeRule ~~~ "asp=htm"
Re: Weird error with linkfreeze rule
It is enabled, at least as far as I can tell, as that line is in the config, my mistake, didn't write it in the post. How would I make sure its being loaded properly since this is IIS, I don't really know it that well, more of a unix/apache guy myself. Thanks
Re: Weird error with linkfreeze rule
RewriteEngine On
#RewriteRule .? - [F]
setenv mod_linkfreeze
LinkFreezeRule ~~~ "asp=htm"
my .htaccess file
#RewriteRule .? - [F]
setenv mod_linkfreeze
LinkFreezeRule ~~~ "asp=htm"
my .htaccess file
Re: Weird error with linkfreeze rule
Hello,
Please check if mod_linkfreeze module is enabled in httpd.conf:
LoadModule linkfreeze_module modules/mod_linkfreeze.so
Also please specify what build of Ape you are using.
Please check if mod_linkfreeze module is enabled in httpd.conf:
LoadModule linkfreeze_module modules/mod_linkfreeze.so
Also please specify what build of Ape you are using.
Re: Weird error with linkfreeze rule
It is enabled in the httpd.conf, but I don't see any modules directory in the install, is that normal? Speaking of the httpd.conf, the one it seems to be looking for is in c:\Program Files(x86)\Helicon\Ape\httpd.conf. This is correct I'm assuming?
Using the version I downloaded yesterday,
Version 3.0.0.76. The trial still have 44 days to go.
Thanks
Using the version I downloaded yesterday,
Version 3.0.0.76. The trial still have 44 days to go.
Thanks
Re: Weird error with linkfreeze rule
"It is enabled in the httpd.conf, but I don't see any modules directory in the install, is that normal?"
- yes, that's ok.
"Speaking of the httpd.conf, the one it seems to be looking for is in c:\Program Files(x86)\Helicon\Ape\httpd.conf. This is correct I'm assuming?"
- Yes, that's correct
Please try to change the application pool mode to Integrated (if possible) just for testing.
Also please try to check if any other modules of Ape are working.
- yes, that's ok.
"Speaking of the httpd.conf, the one it seems to be looking for is in c:\Program Files(x86)\Helicon\Ape\httpd.conf. This is correct I'm assuming?"
- Yes, that's correct
Please try to change the application pool mode to Integrated (if possible) just for testing.
Also please try to check if any other modules of Ape are working.
Re: Weird error with linkfreeze rule
I've tried to change it to Integrated and the site doesn't work with it that way unfortunately. What other modules of Ape would I try, I'm not familiar with any of them. Could you please provide an example of how to check?
Thanks
Thanks
Re: Weird error with linkfreeze rule
Let's try to use proxy. Put the following lines into your .htaccess:
ProxyPass /testtest/ http://www.google.com/
ProxyPassReverse /testtest/ http://www.google.com/
ProxyPassReverseCookieDomain your.localsite.com www.google.com
Replace "your.localsite.com" with the name of your local site (where you put the rules) and make a request to your.localsite.com/testtest.
If you get the Google page, proxy works, otherwise please report what result you get.
ProxyPass /testtest/ http://www.google.com/
ProxyPassReverse /testtest/ http://www.google.com/
ProxyPassReverseCookieDomain your.localsite.com www.google.com
Replace "your.localsite.com" with the name of your local site (where you put the rules) and make a request to your.localsite.com/testtest.
If you get the Google page, proxy works, otherwise please report what result you get.
Re: Weird error with linkfreeze rule
I did this and I keep getting the following error in the error_logs:
invalid proxypass proxypassmatch parameter parameter must form key value
I tried what you had below, I tried this:
ProxyPass /testtest http://www.google.com/ max=20 ttl=12- retry=300
All give me the same error, what am I doing wrong. I should only have to put:
ProxyPass /testtest/ http://www.google.com/
ProxyPassReverse /testtest/ http://www.google.com/
and have the proxy work.
Thanks
invalid proxypass proxypassmatch parameter parameter must form key value
I tried what you had below, I tried this:
ProxyPass /testtest http://www.google.com/ max=20 ttl=12- retry=300
All give me the same error, what am I doing wrong. I should only have to put:
ProxyPass /testtest/ http://www.google.com/
ProxyPassReverse /testtest/ http://www.google.com/
and have the proxy work.
Thanks
Re: Weird error with linkfreeze rule
The full log messages
[proxy_module] (4) [/] System.Collections.Generic.List`1[System.String]: Invalid ProxyPass|ProxyPassMatch parameter. Parameter must be in the form 'key=value'
proxy_module] (4) [/] System.Collections.Generic.List`1[System.String]: Invalid ProxyPass|ProxyPassMatch parameter. Parameter must be in the form 'key=value'
[8/3/2012 5:08:52 AM] [ConfigLoader] (4) [/] \\snas01\www_statfox\site\.htaccess(6): Unknown Error in the proxy_module.
Line: ProxyPass /testtest http://www.google.com
Error in the proxy_module.
Line: ProxyPass /testtest http://www.google.com
Incorrect syntax proxypass /testtest http://www.google.com
[proxy_module] (4) [/] System.Collections.Generic.List`1[System.String]: Invalid ProxyPass|ProxyPassMatch parameter. Parameter must be in the form 'key=value'
proxy_module] (4) [/] System.Collections.Generic.List`1[System.String]: Invalid ProxyPass|ProxyPassMatch parameter. Parameter must be in the form 'key=value'
[8/3/2012 5:08:52 AM] [ConfigLoader] (4) [/] \\snas01\www_statfox\site\.htaccess(6): Unknown Error in the proxy_module.
Line: ProxyPass /testtest http://www.google.com
Error in the proxy_module.
Line: ProxyPass /testtest http://www.google.com
Incorrect syntax proxypass /testtest http://www.google.com
Re: Weird error with linkfreeze rule
Hello,
I think it was not the best idea to test Ape functionality using proxy... I see that Ape is operating and the logs are written, so the problem might be related specifically to mod_linkfreeze.
Could you give the link to the page where the links are supposed to be "frozen" and indicate some specific link on this page which should be transformed and how it should look after transformation.
I think it was not the best idea to test Ape functionality using proxy... I see that Ape is operating and the logs are written, so the problem might be related specifically to mod_linkfreeze.
Could you give the link to the page where the links are supposed to be "frozen" and indicate some specific link on this page which should be transformed and how it should look after transformation.
Re: Weird error with linkfreeze rule
Is it just a misprint that you have different domain names in original and desired URLs?
And as for your rule, it should be like this:
SetEnv mod_linkfreeze
LinkFreezeRule ~~~ "asp=htm" [ AbsLinks,MoveExt ]
And as for your rule, it should be like this:
SetEnv mod_linkfreeze
LinkFreezeRule ~~~ "asp=htm" [ AbsLinks,MoveExt ]
Re: Weird error with linkfreeze rule
Yes, that's my fault on the typo...the domain should be statfox.com, sorry about that.
Re: Weird error with linkfreeze rule
I put that rule in and now I'm back to where I started, an apache 500 error with this in the error_log:
[8/3/2012 6:45:40 AM] [.htaccess] (4) [/] Internal error - exception in linkfreeze_module:
Object reference not set to an instance of an object.
My .htaccess file has just what you'd said in the last post.
[8/3/2012 6:45:40 AM] [.htaccess] (4) [/] Internal error - exception in linkfreeze_module:
Object reference not set to an instance of an object.
My .htaccess file has just what you'd said in the last post.
Re: Weird error with linkfreeze rule
Hello,
can we arrange an online meeting to be able to try it live and try fix it?
If yes, please rend us the invitation to [email protected] with reference to this post.
And please specify what time zone you are in and what time would be fine for you.
can we arrange an online meeting to be able to try it live and try fix it?
If yes, please rend us the invitation to [email protected] with reference to this post.
And please specify what time zone you are in and what time would be fine for you.
Re: Weird error with linkfreeze rule
Sure, that's fine, I will send a mail to that address. Thanks for all your help, appreciate it.
18 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 26 guests