Nothing was left over, because this was a blanked hard drive, a totally new build in a new box, from Windows on up. I would much rather use a newer version, but it's not worth the struggle and time to see why this feature doesn't work. From my conf file above, it sure looks like I did...
Switched back to older version of Apache, SSI works now.
Newposter
"Good judgment comes from experience. Experience comes from bad judgment."
All other scripts run fine. I have guestbook scripts that write to a file and generate emails, and they work with no errors. The error I'm getting is associated with Apache. Nothing has changed except the version of Apache. The last-modified script ran perfectly under an older version, does...
Something like this:
&checkempty($username,"Your name cannot be blank.");
Newposter
"Good judgment comes from experience. Experience comes from bad judgment."
...for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
# with ServerRoot set to "D:/www" will be interpreted by the
#...
That was it, thank you!
Yes, the script is a hodge-podge. I used a 3rd-party host who had that freeware script offered to create an email form, and when my ISP required email authentication, I had to find/write code to embed the username and password. That's where the use CGI qw, Print Header...
...= "http://www.domain.com/cgi-bin/sendemail.cgi"; # THE URL OF CGI SCRIPT.
$filehead = "C:/www/htdocs/domain/"; # THE REAL PATH OF "*.htm", "*.txt" FILES. (YOU MAY CONTACT YOUR ISP FOR THIS PATH)
$guestbookfile = "email.txt"; # DATABASE OF MESSAGES
$mainpagefile = "index_temp.htm"...
OK, I can post the Apache config and the GCI script, the first is quite long. Not sure what the HTTP response headers are.
I did right-click and View Source of the resulting page, and the "Content-type" line appears at the very top, before and outside of the <html> setting, if that helps.
The...
OK, I just built a new server and it created a new problem for me.
Old server:
Windows 2000 Pro
Apache 1.3.3.1
ActiveState PERL 5.6.1
New server:
Windows 2000 Pro
Apache 2.2.1.5
ActiveState PERL 5.10
(and also has IIS installed but not yet configured).
This NEVER happened with...
If I'm not mistaken, you need the following line inserted after AuthUserFile /usr/bin/apache/passwd/digest:
AuthGroupFile /dev/null
Newposter
"Good judgment comes from experience. Experience comes from bad judgment."
Hmm. As I said, if I reboot the server (not merely restart the mailserver's services), the email delivers instantly, even if it's been sitting in the queue overnight. I find that very odd, and can't be anything due to the script.
Newposter
"Good judgment comes from experience...
Yes, I can telnet to the ISP fine, at least outside of my home network. I will try inside tonight.
The "Can't open mail connection" error is the result of the || die code in my script, and references the path to my script, and the line for defining the relay. It always worked before.
So the...
Is there a way to tell if the auth() method is part of my PERL installation? I just installed ActiveState PERL 5.10.1 and updated the shebang to the new PERL path.
Using my own mailserver name as the relay, I get this error:
"Can't authenticate SASL: No such file or directory at...
Thanks for your diligence! Hopefully I can just overwrite the installation with a newer one. Will report back.
Newposter
"Good judgment comes from experience. Experience comes from bad judgment."
OK, I changed my relay from my ISP to my own mailserver name, and this time I got this error:
Can't locate object method "auth" via package "Net::SMTP" (perhaps you forgot to load "Net::SMTP"?) at xxx\\cgi-bin\\SENDEM~1.CGI line 154.\n
Line 154 is:
$smtp->auth($smtp_username, $smtp_password)...
Thanks, but it didn't work. Error log shows:
Can't open mail connection: Unknown error at xxxxx\cgi-bin\\SENDEM~1.CGI line 153.\n
That line is:
my $smtp = Net::SMTP->new($relay) || die "Can't open mail connection: $!";
Newposter
"Good judgment comes from experience. Experience comes...
Thanks, it looks like the username and password are expected to be encoded 'per RFC 2554'. Does that mean I should use Windows MD5 encoding, or can I test this just to begin with by using plain text, to see if it works?
And I presume the AUTH command comes just between the "new($relay)" and...
I have a PERL script to generate a form email, and it worked flawlessly thousands of times, until my ISP started requiring authentication. I'm stumped now in trying to write the line(s) of code to send out the username and password to authenticate to the ISP's mail server, which is my smart...
I've found in Outlook 2000 that there are two limitations that will stop you dead - Inbox (and probably other folders) having 16,384 items; and file size of 2 GB (not the 20 GB posted above). I had to delete or move items to be able to receive email again. Yes, archiving creates a separate...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.