No, as far as I know you cannot deny some addresses with .htaccess only for
some forms, but for the entire page.
This is wrong because nobody will be able to see  the web pages.
To deny the access to a perl script which is activated by a form you will
need to check the REMOTE_ADDR and the REMOTE_HOST environment variables and
if they are not the address or the host of your server, the perl script can
tell the visitor to calm down.



Teddy

----- Original Message -----
From: Hanson, Rob <[EMAIL PROTECTED]>
To: 'awarsd' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, July 25, 2003 1:50 AM
Subject: RE: .htaccess


> This is really an Apache question, not Perl.  Most things that can be done
> in the Apache config can be done in a .htaccess file, assuming the main
> Apache config file allows you to do so.  You might want to check out the
> Apache docs at http://httpd.apache.org.
>
> Rob
>
> -----Original Message-----
> From: awarsd [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 24, 2003 4:28 PM
> To: [EMAIL PROTECTED]
> Subject: .htaccess
>
>
> Hello,
>
> I'm curious i read somewhere with .htaccess we can block user to do
hotlinks
> in both ways etc...
> But my question is a bit different it is possible with .htaccess to forbid
> forms that comes from a different domain? so no hacking
>
>
> Thank You
>
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to