nossie
25-07-2005, 15:44
Hey i cant get AHL working for some reason..
i have two systems with same settings,
but one works and the other doesn't =/
and sometimes my domainA works but domainB doesnt
now all of them wont work
it was pretty frustating and any replies would be appreciated, thanks!
below are my configurations:
ahl.conf
########### AHL Configuration File ############
TIMEOUT=3600
LOG_HOTLINKS=0
DENY_FILE_LOCATION=/AHLredirect.html
ALLOWED_REFERERS=domainA.com,domainB.com
PAGE_EXTENTIONS=.html,.htm,.shtml,.php,.cgi
PROTECTED_EXTENTIONS=.asf,.wmv,.avi,.mov,.mpg,.mpe g,.rm
STATUS_PAGE_NAME=ahl_status_report
httpd.conf
#AHL installation main part BEGIN
RewriteEngine on
RewriteLock /usr/local/ahl/ahl.lock
RewriteMap ahl prg:/usr/local/ahl/ahl
RewriteCond %{REMOTE_HOST}::%{DOCUMENT_ROOT} (.*)
RewriteRule (.*) ${ahl:\:\:\:\:$1\:\:%1\:\:%{HTTP_REFERER}} [PT]
#AHL installation main part END
<VirtualHost>
#AHL installation virtualhost part BEGIN
RewriteEngine on
RewriteOptions inherit
Redirect /AHLredirect.html http://www.google.com/
#AHL installation virtualhost part END
</VirtualHost>
i have two systems with same settings,
but one works and the other doesn't =/
and sometimes my domainA works but domainB doesnt
now all of them wont work
it was pretty frustating and any replies would be appreciated, thanks!
below are my configurations:
ahl.conf
########### AHL Configuration File ############
TIMEOUT=3600
LOG_HOTLINKS=0
DENY_FILE_LOCATION=/AHLredirect.html
ALLOWED_REFERERS=domainA.com,domainB.com
PAGE_EXTENTIONS=.html,.htm,.shtml,.php,.cgi
PROTECTED_EXTENTIONS=.asf,.wmv,.avi,.mov,.mpg,.mpe g,.rm
STATUS_PAGE_NAME=ahl_status_report
httpd.conf
#AHL installation main part BEGIN
RewriteEngine on
RewriteLock /usr/local/ahl/ahl.lock
RewriteMap ahl prg:/usr/local/ahl/ahl
RewriteCond %{REMOTE_HOST}::%{DOCUMENT_ROOT} (.*)
RewriteRule (.*) ${ahl:\:\:\:\:$1\:\:%1\:\:%{HTTP_REFERER}} [PT]
#AHL installation main part END
<VirtualHost>
#AHL installation virtualhost part BEGIN
RewriteEngine on
RewriteOptions inherit
Redirect /AHLredirect.html http://www.google.com/
#AHL installation virtualhost part END
</VirtualHost>