[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vps-mail] Possible FormMail Issue
- Subject: Re: [vps-mail] Possible FormMail Issue
- From: Abigail Marshall <abigailrm@xxxxxxxxx>
- Date: Fri, 2 Sep 2011 00:23:15 -0700
The last time around I think part of your problem was that you had the path
to sendmail wrong. It was
'/usr/lib/sendmail -oi -t' and you changed it to '/usr/sbin/sendmail -oi
-t',
I don't know that it would produce a "forbidden" type error message, but it
would on place to start.
-Abigail
On Thu, Sep 1, 2011 at 1:49 PM, Colin Adams <webmaster@xxxxxxxxxxxxxxx>wrote:
> Come to think of it, I had another form issue on a website on this same
> server using the same Perl script that you helped me out with before and
> there wasn’t a problem with permissions then.****
>
> ** **
>
> The form reference is as follows:****
>
> ** **
>
> <form method="POST" action="/cgi-bin/FormMail.pl" onsubmit="return
> FrontPage_Form1_Validator(this)" language="JavaScript"
> name="FrontPage_Form1">****
>
> ** **
>
> The Script Alias is: ScriptAlias /cgi-bin /usr/local/etc/httpd/fhm-cgi-bin/
> ****
>
> ** **
>
> The FormMail.pl script is in the fhm-cgi-bin directory.****
>
> ** **
>
> Any ideas?****
>
> ** **
>
> *From:* owner-vps-mail@xxxxxxxxxxxxx [mailto:owner-vps-mail@xxxxxxxxxxxxx]
> *On Behalf Of *Abigail Marshall
> *Sent:* 01 September 2011 16:25
>
> *To:* vps-mail@xxxxxxxxxxxxx
> *Subject:* Re: [vps-mail] Possible FormMail Issue****
>
> ** **
>
> >From what I recall, permissions are not usually a big problem on a VPS1,
> but path designation in the form can be an issue. ****
>
> ** **
>
> On a VPS2 or 3, the error logs are usually in a file in the /www/logs
> directory -- you can just submit the form, then log in via shell and run
> tail on the error log to see the last few lines. Example****
>
> ** **
>
> cd /www/logs****
>
> tail error_log****
>
> ** **
>
> -Abigail****
>
> ** **
>
> -****
>
> On Thu, Sep 1, 2011 at 12:47 PM, Colin Adams <webmaster@xxxxxxxxxxxxxxx>
> wrote:****
>
> I’m on a V1 Unix platform****
>
> ****
>
> ****
>
> *From:* owner-vps-mail@xxxxxxxxxxxxx [mailto:owner-vps-mail@xxxxxxxxxxxxx]
> *On Behalf Of *Abigail Marshall
> *Sent:* 01 September 2011 15:14****
>
>
> *To:* vps-mail@xxxxxxxxxxxxx
> *Subject:* Re: [vps-mail] Possible FormMail Issue****
>
> ****
>
> What platform are you on? (VPS 3? Unix? )****
>
> On Thu, Sep 1, 2011 at 5:13 AM, Colin Adams <webmaster@xxxxxxxxxxxxxxx>
> wrote:****
>
> Hi,****
>
> ****
>
> First of all, thanks for looking at this so quickly.****
>
> ****
>
> I’m definitely not “technically inclined” so can I ask the following:****
>
> ****
>
> How do I change the permissions?****
>
> Where do I find the error log?****
>
> ****
>
> ****
>
> Thanks again…****
>
> ****
>
> ****
>
> *From:* owner-vps-mail@xxxxxxxxxxxxx [mailto:owner-vps-mail@xxxxxxxxxxxxx]
> *On Behalf Of *Abigail Marshall
> *Sent:* 01 September 2011 01:03
> *To:* vps-mail@xxxxxxxxxxxxx
> *Subject:* Re: [vps-mail] Possible FormMail Issue****
>
> ****
>
> Start by looking at the error log -- that often will give a clue. If it
> doesn't make sense to you, post whatever the output is here. It could be a
> lot of different things, and without access to your server or your script,
> it's hard to guess. ****
>
> ****
>
> You can start by checking permissions on the script, however -- that's
> basically the most common reason a newly created script won't work. Set
> them temporarily to 777 for testing, and then if it solves the problem, you
> can experiment by tightening them up. (You don't want to leave it at 777
> because that's a security risk, but if you test at that level and things
> still don't work, you'll at least know that it is not a permissions problem)
> ****
>
> ****
>
> -Abigail****
>
> On Wed, Aug 31, 2011 at 9:37 PM, Colin Adams <webmaster@xxxxxxxxxxxxxxx>
> wrote:****
>
> Hi ,****
>
> ****
>
> I’ve just created a new form using the FormMail.pl script to process the
> results.****
>
> ****
>
> The form can be found here:
> http://www.antigua-marina.com/booking_proof310811.html****
>
> ****
>
> I added a script alias for the cgi-bin directory to the virtual host config
> (ScriptAlias /cgi-bin /usr/local/etc/httpd/neem-cgi-bin/) and changed the
> variables for the FormMail.pl script.****
>
> ****
>
> I thought that I had got everything right but am encountering the following
> error message when I submit the form: ****
>
> ****
>
> *Forbidden*****
>
> You don't have permission to access /cgi-bin/FormMail.pl on this server.**
> **
>
> ****
>
> I double checked the @referers variable but couldn’t see anything wrong
> with it.****
>
> ****
>
> Can anyone help?****
>
> ****
>
> ****
>
> ****
>
> Thanks!****
>
> ****
>
> ****
>
> ****
>
> ** **
>
Main Index |
Thread Index