Print service provided by iDogiCat: http://www.idogicat.com/
home logo





Home > IT > Web Server Administration > Apache Usage

Apache Usage

iDog

Limit Linking of Images

Files in /img dir can only be linked from this site:

SetEnvIf REFERER "www\.mydomain\.com" linked_from_here
SetEnvIf REFERER "^$" linked_from_here

<Directory /www/images>
    Order deny,allow
    Deny from all
    Allow from env=linked_from_here
</Directory>

mod_perl 2.0 & Apache::Registry

Q: I am running mod_perl 2.X and I got following error message: failed to resolve handler `Apache::Registry'

A: mod_perl 2.X uses the ModPerl::[module] namespace for Apache. You must change the Apache::Registry line in the httpd.conf to read ModPerl::Registry . See the example httpd.conf at the top of the document for steps on how to configure.