Re: Продажа контента
Alex Kitschkiruk
rusnginx at gmail.com
Tue May 2 12:48:28 MSD 2006
а не проще ли просто силами nginxа?
location ^~ /download/ {
valid_referers none server_names *.server.com/;
if ($invalid_referer) {
return 403; }
root /srv/www/htdocs/web1/html;
autoindex on;
auth_basic "Priwet !!!";
auth_basic_user_file /usr/local/nginx/conf/passwd;
access_log /usr/local/nginx/logs/access_web1_download.log
download;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20060502/8870d159/attachment.html>
More information about the nginx-ru
mailing list