[pLog-svn] Anti-Hotlink via .htaccess
Mark Wu
markplace at gmail.com
Fri Sep 16 07:44:07 GMT 2005
Hi Alexander:
Wow ... I love this idea.. It looks easier. Can it work in pretty url and
mod_rewrite url? If possible, I think I wii remove my plugins away ..
Because this one is eaiser. :D
Mark
> -----Original Message-----
> From: plog-svn-bounces at devel.plogworld.net
> [mailto:plog-svn-bounces at devel.plogworld.net] On Behalf Of
> Alexander Kaiser
> Sent: Friday, September 16, 2005 3:33 PM
> To: pLog-svn at devel.plogworld.net
> Subject: [pLog-svn] Anti-Hotlink via .htaccess
>
> Prevent Hotlinking of Images outside of the pLog Community
> via .htaccess:
>
> RewriteCond %{HTTP_REFERER} !^$
> RewriteCond %{HTTP_REFERER}
> !^http://([a-z0-9]+)\.yourdomain\.com(.*) [NC] RewriteRule
> resserver.php?.*$ - [F,NC]
>
> seems pretty easy and works well on our installation.
> this allows all subdomains on "yourdomain.com" to use the
> resserver.php (which handles the images stuff) and everybody
> else gets a red cross :)
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
More information about the pLog-svn
mailing list