httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill -Sx- Jones <sn...@mac.com>
Subject Re: formmail.pl and redirection
Date Tue, 12 Mar 2002 12:57:46 GMT
On 3/12/02 5:23 AM, "Mike" <mike@ironmikie.nl> wrote:

> Hi,
> 
> I am having a problem with the apache rewrite engine for my formmail.pl. When
> i "browse" to www.test.nl/cgi-bin/formail.pl the apache (1.3) server must
> redirect this request to http://scripts.test2.nl/cgi-bin/formmail.pl. But this
> won't work, while another cgi script like printenv works just fine.
> 
> Does anyone know what my RewriteRule is supposed to look like? If i take a
> look in my rewrite log of the www.test.nl server i see that the redirect
> works, so i must be some information that the destination server is missing.


On the www.test.nl server, use something like -

RewriteRule ^/(cgi.+/formmail.+) http://scripts.test.nl/$1 [L]


> This is the error i get when i try to use the formmail.pl:
> 
> Bad Referrer - Access Denied
> The form attempting to use FormMail resides at http://www.test.nl/, which is
> not allowed to access this cgi script.
> If you are attempting to configure FormMail to run with this form, you need to
> add the following to @referers, explained in detail in the README file.
> 
> Add 'www.test.nl' to your @referers array.
> 

Where is the actual script?

On scripts.???  Or on www.???


The www system must be added so that it may call the script...


???
-Sx-  :]



---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message