cgi form email script not working (404)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Re: cgi form email script not working (404)
Re: cgi form email script not working (404)
31-10-2014 4:06 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Can you manage our expectations please with an anticipation of by when the matter will be considered and intentions decided?
Thanks,
Kevin
To others looking at a means of gathering structured information from a web-page form, you might find embedding a Google Form in an iFrame might work for you. Not quite the same, but workable!
In another browser tab, login into the Plusnet user portal BEFORE clicking the fault & ticket links
Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.
If this post helped, please click the Thumbs Up and if it fixed your issue, please click the This fixed my problem green button below.
Re: cgi form email script not working (404)
31-10-2014 4:38 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: Townman Can you manage our expectations please with an anticipation of by when the matter will be considered and intentions decided?
I was hoping to have had some movement by now if I'm honest Kevin
Quote from: Townman To others looking at a means of gathering structured information from a web-page form, you might find embedding a Google Form in an iFrame might work for you. Not quite the same, but workable!
Not an entirely unreasonable suggestion. Thanks for the tip
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: cgi form email script not working (404)
09-11-2014 11:03 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: cgi form email script not working (404)
10-11-2014 3:54 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: Bob
Quote from: Townman Can you manage our expectations please with an anticipation of by when the matter will be considered and intentions decided?
I was hoping to have had some movement by now if I'm honest Kevin
It's not looking like we're going to be in a position to re-factor/engineer the scripts without scheduling some time on our roadmap. To do this requires a certain degree of justification, and at present I'm led to believe that there are ~60 people making use of these scripts so I've a suspicion I'm going to struggle
I'm waiting on more precise figures, which we can then use to weigh up our options. It's looking like it's boiling down to either providing customers an alternative hosting environment (we've only really the CGI platform, which wouldn't be without problems) or suggesting some third party alternatives (suggestions welcomed).
I recognise that this is less than ideal, but we need to look at the number of people using these scripts versus the volume of work it's going to require to satisfy the concerns around their use. Unfortunately the latter far out-weighs the former.
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: cgi form email script not working (404)
14-11-2014 11:53 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: cgi form email script not working (404)
14-11-2014 12:29 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
- Get formmail.pl from Matt's script archive http://www.scriptarchive.com/download.cgi?s=formmail
- Upload formmail.pl to your public/CGI-BIN folder, and set permission rwx--x--x
- Edit the file to set @referers and @recipients as per Matt's documentation; eg.
@referers = ('mydomain.co.uk');
@recipients = ('^me\@mydomain\.co\.uk');
- In your form page, set the form properties
method="post" action="http://ccgi.yourname.plus.com/cgi-bin/FormMail.pl"
Seems to work ok!
Re: cgi form email script not working (404)
14-11-2014 1:04 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: cgi form email script not working (404)
14-11-2014 3:08 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: gandb If you do have Plusnet CGI space, this is how to set up Matt's formmail.pl script for use either from your cgi space or another website:
- Get formmail.pl from Matt's script archive http://www.scriptarchive.com/download.cgi?s=formmail
- Upload formmail.pl to your public/CGI-BIN folder, and set permission rwx--x--x
- Edit the file to set @referers and @recipients as per Matt's documentation; eg.
@referers = ('mydomain.co.uk');
@recipients = ('^me\@mydomain\.co\.uk');
- In your form page, set the form properties
method="post" action="http://ccgi.yourname.plus.com/cgi-bin/FormMail.pl"
Seems to work ok!
When I click submit on my form I am getting the text content of FormMail.pl - have set perms as above? Can anyone post a working FormMail.pl?
Or at least their config section? I have noticed that CGI-BIN has to be under public and upper case.
What is the parth to Perl / Sendmail for example - Thanks!
Re: cgi form email script not working (404)
14-11-2014 4:27 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Options +ExecCGI
AddHandler cgi-script .cgi .pl
Using the filemanager from the portal
Now I am getting an error message from the script so it looks like perl is
now processing the script ok
Re: cgi form email script not working (404)
14-11-2014 5:31 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@referers = qw(www.uraccount.plus.com);
@allow_mail_to = qw(you@uraccount.plus.com);
The referer is the url of your page that has the form on it - hint: no need to wrap url in ' '
mail_to is the email address that your form results will be sent to hint: no need to wrap address in ' '
Re: cgi form email script not working (404)
15-11-2014 2:00 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: cpcnw
@allow_mail_to = qw(you@uraccount.plus.com);
We must be using different versions - there's @no allow_mail_to in the current version (1.93).
Also, Matt's documentation at http://www.scriptarchive.com/readme/formmail.html#recipients does suggest escaping the @ and .'s in the email address
Re: cgi form email script not working (404)
26-11-2014 12:16 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Have I become totally confused here? I thought these scripts (notably Matt's form mail) had been taken down as they were viewed as being insecure? If this is the case is it unwise allowing / suggesting / recommending that individuals who have cgi space host this service there?
Or is the problem something different?
Kevin
In another browser tab, login into the Plusnet user portal BEFORE clicking the fault & ticket links
Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.
If this post helped, please click the Thumbs Up and if it fixed your issue, please click the This fixed my problem green button below.
Re: cgi form email script not working (404)
01-12-2014 11:07 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
So, on to this issue:
1. I have added Matt's FormMail script to a /public/CGI-BIN directory, amending it in accordance with the advice given by users on this thread.
ISSUE: when I attempt to use the mailform, I see displayed the text of the FormMail script, as described by cpcnw.
So:
2. I looked for an .htaccess file everywhere in my CGI space and found none.
When I created one, I could not editied it (wrong filetype), so I uploaded an .htaccess file with the two suggested line.
Then:
I now have a server error. No error number just a declaration that a server error has occurred.
So - can anyone tell me:
Should I have .htaccess anywhere in my CGI space?
Why can I not edit the file in File Manager as mentioned by others?
Can anyoine offer me a next step?
Thanks to anyone who answers!
Ken.
Re: cgi form email script not working (404)
01-12-2014 11:45 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
It was 2004 for us, agree totally with your first paragraph, appalling.
"Thanks to anyone who answers!" - is about the measure of the degree which PlusNet seems to take in respect of support, it seems. Sadly, I can offer no help on your question, but just to let you know that I and I'm sure many others, share your frustration - I can't recommend PlusNet anymore on this issue and support any longer..
Re: cgi form email script not working (404)
01-12-2014 11:44 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
If you really have no .htaccess files in your ccgi webspace, not even in your webspace root directory '/', then cgi scripts need to go in the root /cgi-bin folder (not /public/cgi-bin or /public/CGI-BIN).
Try putting the following helloworld.pl script in /cgi-bin and setting permissions (chmod) to 755 to make it executable
[code=helloworld.pl]
#!/usr/bin/perl -w
# Send an html header
print "Content-type: text/html\n\n";
# Send html tags and content
print "<html>\n";
print "<head><title>Hello World!</title></head>\n";
print "<body><h1>Hello world</h1></body>\n";
print "</html>\n";[/code]
Then browse to it at http://ccgi.yourusername.plus.com/cgi-bin/helloworld.pl; does it print "Hello world"?
David
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Re: cgi form email script not working (404)