Hi,
I have a site where users can upload pictures. I would not like anyone
to link to these pictures from other sites. I am thinking about writing
an ASP script that checks the referrer and not serve the images if the
referer is not that of the main site. This is OK but probably one of you
I use something like:
%
my $allowed = 'x.com|y.com';
...
unless (exists $ENV{HTTP_REFERER} $ENV{HTTP_REFERER} =~
/^http:\/\/($allowed)\//) {
$Response-{Status} = NOT_FOUND;
$Response-End;
}
...
%
This is from memory so *excuse* the syntax and regexp errors ...
Peter
-
On RedHat 8.0:
I am running apache_1.3.27 , mod_perl 1.27 (from
mod_perl-1.0-current.tar.gz)and,
i want to install Apache-ASP-2.49. After compiling and installing
Apache-ASP, i have a
problem when i want to build apache :
../Apache-Asp-2.49/make_httpd./build_httpds.sh
[root@linux make_httpd]#
[EMAIL PROTECTED] wrote:
On RedHat 8.0:
I am running apache_1.3.27 , mod_perl 1.27 (from
mod_perl-1.0-current.tar.gz)and,
i want to install Apache-ASP-2.49. After compiling and installing
Apache-ASP, i have a
problem when i want to build apache :
../Apache-Asp-2.49/make_httpd./build_httpds.sh