Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 78084 invoked by uid 500); 12 Mar 2002 21:05:13 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 78059 invoked from network); 12 Mar 2002 21:05:11 -0000 Received: from coredump.xs4all.nl (HELO gateway.sigterm.nl) (213.84.219.40) by daedalus.apache.org with SMTP; 12 Mar 2002 21:05:11 -0000 Received: from localhost (localhost.sigterm.nl [127.0.0.1]) by gateway.sigterm.nl (8.11.6/8.11.6) with ESMTP id g2CL5FU14550 for ; Tue, 12 Mar 2002 22:05:15 +0100 (CET) (envelope-from martijn@sigterm.nl) Date: Tue, 12 Mar 2002 22:05:09 +0100 (CET) From: "M.v.Buytene" To: users@httpd.apache.org Subject: Re: formmail.pl and redirection In-Reply-To: Message-ID: <20020312220156.V14520-100000@gateway.sigterm.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I think he means they host a LOT of virtual sites and want to redirect all the customers formmail.pl's to one secure that resides on a single server. If he follows your guidelines (thanx anyways) he would have to yank in a LOT of sites :) I also posted something about this subject... he already rewrites urls to a hashed dir on the disc, and now we only want to rewite the formmail.pl's to another server... Thanx in advance, -- E: martijn@sigterm.nl URL:http://www.sigterm.nl E: sig@realnoise.net URL http://www.realnoise.net -=/ That's the end of *your* loony toon, drugs bunny \=- On Tue, 12 Mar 2002, Pete Nelson wrote: > I think you should be able to fix this problem through the FormMail.pl > script, rather than doing anything tricky on the server. > > If you open the script in a text editor, you should find near the top > (line 38 on my script) the definition for the @referers array. Add in > any other hosts/domains that you would like to be able to use the > script. For example: > > @referers = ('www.test.nl', 'scripts.test2.nl'); > > That should solve your problem. > > Take a look at > http://www.worldwidemart.com/scripts/readme/formmail.shtml#necessary_vars > for more info - in fact, I'd highly recommend reading this document if > you're going to be using FormMail. The author spent a good amount of > time providing this documentation, it'd be a shame not to use it. > > -- > Pete Nelson, Web Developer > > http://www.ci.stpaul.mn.us/ > > >>> mike@ironmikie.nl 03/12/02 04:23AM >>> > 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. > > 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. > > end of error message > > ps. when i add the test.nl to @referers it still makes no difference. > > Thanx in advance > > MichaelZ > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server > Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org