Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old February 16th, 2001, 07:10 PM
Sparky-marK Sparky-marK is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Location: England
Posts: 15 Sparky-marK User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question

I figured this would be an easy-peasy one for you guys so, I thought it would be worth asking ...

I am currently trying to install FormMail (1.6) from Matt's Script Archive and am having problems getting it run at all ... just my luck - Doh!

When I 'submit' the form and the 'action' tries to run the script off the website, I keep getting this page eror:

"You are not authorized to view this page

You might not have permission to view this directory or page using the credentials you supplied."

and the current line in the address bar goes something like:

http://www.mywebspace.com/cgi-bin/formmail.pl

I have set the $mailprog command to '/~/etc/mail/sendmail';

and the referers to: @referers = 'worldwidemart.com','206.31.72.203');

Why am I not getting any HaPPy results from this ... ?? Thanks go to any helpers with this

Reply With Quote
  #2  
Old February 16th, 2001, 07:41 PM
JonLed JonLed is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2000
Location: Indiana
Posts: 614 JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 h 49 m 49 sec
Reputation Power: 9
There are a million problems that could be going on here, but I'll list the likely ones

1. '/~/etc/mail/sendmail' should be '/etc/mail/sendmail'.. and it should actually be something like this:
/usr/sbin/sendmail

rarely are programs actually stored in the /etc/ folder

2. You've not chmoded the program correctly (755) or don't have access to whatever folder you uploaded it into (ownership problems).

3. The @referers array needs to have your site's url in it (www.whatever.com -- only). What you've got sounds like a server error, but you'll need to fix that after you get done with the server error as well.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > FormMail not functioning .....


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway