httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Thompson <jthomp...@names.co.uk>
Subject [users@httpd] Apache redirects
Date Mon, 12 Oct 2009 10:11:41 GMT
Hi

I want to create some method of redirecting phishing sites to the
APWG/CUPS anti-phishing page at http://education.apwg.org/r/en/index.htm

I know that I can do this on a per folder basis using .htaccess

<Files \.htaccess>
order allow,deny
deny from all
</Files>
Redirect 301 /
http://education.apwg.org/r/?url/of/phishing/site/that/i/am/blocking

However, I ideally would like to do this server-side, where it can't be
modified or deleted by a user or a script.

I've tried creating a new conf file in the /sites/*.conf directory that
Apache2 uses:

<VirtualHost *>
Redirect permanent url/of/phishing/site
http://education.apwg.org/r/?url/of/phishing/site
Redirect permanent url/of/phishing/site
http://education.apwg.org/r/?/anotherurl/of/phishing/site
</VirtualHost>

but this doesn't seem to work.

Does anyone know of a way that I can get this running where only I can
mange it and no-one else can modify any entries I make?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message