This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
HotlinkBlocker (Forum Locked Forum Locked)
 Helicon Tech : HotlinkBlocker
Subject Topic: Error in ini file? (Topic Closed Topic Closed)
Author
Message |
freitasm
Newbie


Joined: 11 December 2005
Location: New Zealand
Posts: 28
Posted: 30 March 2006 at 8:43pm  

Strange. Upgraded from .38 to .45 and it's now not blocking. The log shows this:

###########################
#Begin loading congig file:
# 31/03/2006 2:27:03 a.m.
C:\Program Files\Helicon\HotlinkBlocker\Filters\HotlinkBlocker713294508 .ini


Line 9: (Unknown expression)     [Protect]


Any ideas?
Back to Top Visit freitasm's Homepage
 
freitasm
Newbie


Joined: 11 December 2005
Location: New Zealand
Posts: 28
Posted: 30 March 2006 at 8:47pm  

I actually found various *.ini files in that folder. Is it one for each domain?

Back to Top Visit freitasm's Homepage
 
Yaroslav
Admin Group


Joined: 15 August 2002
Posts: 6520
Posted: 31 March 2006 at 8:32am  

Just ignore this error, it means nothing. We remove it in next build.
Yes, there is one *.ini file for each web site.

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top Visit Yaroslav's Homepage
 
freitasm
Newbie


Joined: 11 December 2005
Location: New Zealand
Posts: 28
Posted: 31 March 2006 at 5:19pm  

Thanks for the reply.

I noticed that since upgrading from 0.38 to 0.45 the software is not blocking images/folder anymore!

No changes in configuration, just installed over the existing, rebooted the server.

Anything I can do to trace this?

Back to Top Visit freitasm's Homepage
 
Yaroslav
Admin Group


Joined: 15 August 2002
Posts: 6520
Posted: 01 April 2006 at 7:06am  

Please show your site link and HotlinkBlocker configuration. Also check that HotlinkBlocker ISAPI filter is loaded and running under your site properties.

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top Visit Yaroslav's Homepage
 
freitasm
Newbie


Joined: 11 December 2005
Location: New Zealand
Posts: 28
Posted: 01 April 2006 at 4:38pm  

The site with the Hotlinkblocker is www.geekzone.co.nz.

The configuration is:

#################################################
# HotlinkBlocker Configuration file


Signature=f2cfa8d1-[....]
LinkExpires=1800
NotifyOrder=MEDIUM


[Protect]
REFERER          ; /images     http://www.geekz one.co.nz/imghosted.jpg
REFERER          ; /tinymce     http://www.geek zone.co.nz/imghosted.jpg
REDIRECT     /downloads      http://www.geekzone.co.nz/imghosted.jpg


[ReferersBlackList]
*mywedding*
[ReferersWhiteList]
*microsoft*
*geekzone*
*msdn*
*yahoo*
*google*
*skweezer*
@^$
[UserAgentsBlackList]
[UserAgentsWhiteList]



A test page is available on www.mywedding.co.nz/test.asp, which is in the blocklist just for test - the image is not being blocked.

I still have the 0.38 file here, should I reinstall it?


Back to Top Visit freitasm's Homepage
 
Yaroslav
Admin Group


Joined: 15 August 2002
Posts: 6520
Posted: 02 April 2006 at 4:37am  

I don't know how ';' character trap in configuration, but it should not be there:

[Protect]
REFERER        /images     http://www.geekz one.co.nz/imghosted.jpg
REFERER        /tinymce     http://www.geek zone.co.nz/imghosted.jpg
REDIRECT     /downloads       http://www.geekzone.co.nz/imghosted. jpg

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top Visit Yaroslav's Homepage
 
freitasm
Newbie


Joined: 11 December 2005
Location: New Zealand
Posts: 28
Posted: 02 April 2006 at 4:58am  

The ";" is not in the ini file. I did a copy and paste and perhaps it was included because it was a TAB char?

Anyway, just looked at the .ini file and the configuration is as you show.

Still not blocking.

I might reinstall 3.8 tomorrow...

Back to Top Visit freitasm's Homepage
 
Yaroslav
Admin Group


Joined: 15 August 2002
Posts: 6520
Posted: 02 April 2006 at 5:24am  

And what about HotlinkBlocker ISAPI filter? Is it loaded? Maybe there are some error messages in System and Application log?
Also try to remove [Protect] section form the configuration file.

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top Visit Yaroslav's Homepage
 
freitasm
Newbie


Joined: 11 December 2005
Location: New Zealand
Posts: 28
Posted: 02 April 2006 at 5:43am  

The ISAPI filter is loaded, but yes there are entries in the event log (Application):

Event 513: Initialization failed. Please check configuration.



Back to Top Visit freitasm's Homepage
 
Yaroslav
Admin Group


Joined: 15 August 2002
Posts: 6520
Posted: 02 April 2006 at 6:25am  

Please check permissions on the Filters folder under installation. Check that permission inheritance is enabled.

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top Visit Yaroslav's Homepage
 
freitasm
Newbie


Joined: 11 December 2005
Location: New Zealand
Posts: 28
Posted: 02 April 2006 at 6:33am  

Thanks for the suggestion. Just checked the permissions and inheritance is set. Just restart the domain and it still logged the Even 513.

Back to Top Visit freitasm's Homepage
 
Yaroslav
Admin Group


Joined: 15 August 2002
Posts: 6520
Posted: 02 April 2006 at 6:37am  

In 99% cases this event means insuffient permissions. What happens if you set Everyone (at least) read permissions to the Filters folder? Also check that a filter path on ISAPI tab points to the correct .dll file.

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top Visit Yaroslav's Homepage
 
freitasm
Newbie


Joined: 11 December 2005
Location: New Zealand
Posts: 28
Posted: 02 April 2006 at 6:43am  

Thanks again... The permissions for the folder and all files are Read/Execute for Everyone. I've manually changed the ISAPI DLL path to point to the correct hotlinkblocker*.dll file.

Also excluded it from the Antivirus automatic scan, but still failed to load.

Back to Top Visit freitasm's Homepage
 
Yaroslav
Admin Group


Joined: 15 August 2002
Posts: 6520
Posted: 03 April 2006 at 5:19am  

Please show your exact configuration file. Turn off "Forum codes" to prevent corruption of your .ini file by a forum engine.
Or better send it as an attachment to the [email protected]

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top Visit Yaroslav's Homepage
 
freitasm
Newbie


Joined: 11 December 2005
Location: New Zealand
Posts: 28
Posted: 03 April 2006 at 5:50am  

#################################################
# HotlinkBlocker Configuration file


Signature=f2cfa8d1-1f43-4843-9054-a32e029ad846
LinkExpires=1800
NotifyOrder=MEDIUM


[Protect]
REFERER          ; /images     http://www.geekz one.co.nz/imghosted.jpg
REFERER          ; /tinymce     http://www.geek zone.co.nz/imghosted.jpg
REDIRECT     /downloads      http://www.geekzone.co.nz/imghosted.jpg


[ReferersBlackList]
[ReferersWhiteList]
*microsoft*
*geekzone*
*msdn*
*yahoo*
*google*
*skweezer*
@^$
[UserAgentsBlackList]
[UserAgentsWhiteList]
Back to Top Visit freitasm's Homepage
 
freitasm
Newbie


Joined: 11 December 2005
Location: New Zealand
Posts: 28
Posted: 03 April 2006 at 5:53am  

I see there are the ";" again... I will manually edit this file right now and test again.

Back to Top Visit freitasm's Homepage
 
freitasm
Newbie


Joined: 11 December 2005
Location: New Zealand
Posts: 28
Posted: 03 April 2006 at 5:58am  

I have just deleted the file and just changed the Signature, clicked Apply and OK, so that it would recreate the file. It still fails to initialise.

Back to Top Visit freitasm's Homepage
 
freitasm
Newbie


Joined: 11 December 2005
Location: New Zealand
Posts: 28
Posted: 03 April 2006 at 5:59am  

#################################################
# HotlinkBlocker Configuration file


Signature=e9578ce6-006d-4d7b-9a07-88f2b0816013
LinkExpires=1800
NotifyOrder=MEDIUM


[Protect]


[ReferersBlackList]
[ReferersWhiteList]
[UserAgentsBlackList]
[UserAgentsWhiteList]
Back to Top Visit freitasm's Homepage
 
freitasm
Newbie


Joined: 11 December 2005
Location: New Zealand
Posts: 28
Posted: 03 April 2006 at 6:00am  

The previous entry is an empty file and Hotlinkblocker logs an error on the Event entries...

Thanks for your patience while we debug this...
Back to Top Visit freitasm's Homepage
 

Page of 2 Next >>
 
Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum