atothel
6-14-06, 02:15 PM
I was migrated last night without my permission despite being down as a manual migrator.
Now Dada mail is not working on the new server. It worked perfectly on the old server. All paths have been changed in the config file...
OLD SETTINGS
=head2 $FILES
(2. What is the Absolute Path the lists going to be stored in?
Its a good idea to store this information somewhere
OTHER than under your public_html directory, to gaurantee that no
list information can be seen via a web browser. You may have to
chmod 777 this directory, or your cgi script
won't be able to write new files to it. 777 is very open to outside
eyes, if you can, always set this to the minimum permission needed!
=cut
$FILES = '/www/a/altrap/cgi-bin/dadafiles';
=pod
=head2 $MAILPROG
(3. What is the Absolute Path of your mail program?
(type in "which sendmail" in a telnet session
if you don't have sendmail, this script will still work great,
You may have to fiddle around with the "$MAIL_SETTINGS"
variable under the "additional settings, after the first four
variables. Dada Mail uses a Mail Program like Sendmail or Qmail to
send its messages and it needs to know where the Mail Program is
to be able to use it.
=cut
$MAILPROG = '/usr/sbin/sendmail';
=pod
=head2 $PROGRAM_URL
4. What is the URL of the mail.cgi script?
This is the address of the mail.cgi script, (not this file!)
so when you're all done setting up the script, you'll have to go
here to make your first list.
=cut
$PROGRAM_URL ='http://www.altrap.net/cgi-bin/dada/mail.cgi';
=pod
NEW SETTINGS
=head2 $FILES
(2. What is the Absolute Path the lists going to be stored in?
Its a good idea to store this information somewhere
OTHER than under your public_html directory, to gaurantee that no
list information can be seen via a web browser. You may have to
chmod 777 this directory, or your cgi script
won't be able to write new files to it. 777 is very open to outside
eyes, if you can, always set this to the minimum permission needed!
=cut
$FILES = '/home/users/web/b23/pow.atothel/htdocs/cgi-bin/dadafiles';
=pod
=head2 $MAILPROG
(3. What is the Absolute Path of your mail program?
(type in "which sendmail" in a telnet session
if you don't have sendmail, this script will still work great,
You may have to fiddle around with the "$MAIL_SETTINGS"
variable under the "additional settings, after the first four
variables. Dada Mail uses a Mail Program like Sendmail or Qmail to
send its messages and it needs to know where the Mail Program is
to be able to use it.
=cut
$MAILPROG = '/usr/sbin/sendmail';
=pod
=head2 $PROGRAM_URL
4. What is the URL of the mail.cgi script?
This is the address of the mail.cgi script, (not this file!)
so when you're all done setting up the script, you'll have to go
here to make your first list.
=cut
$PROGRAM_URL ='http://www.altrap.net/cgi-bin/dada/mail.cgi';
=pod
----------------------------------------------------------------
When I try to login to my admin page at http://www.altrap.net/cgi-bin/dada/mail.cgi I get a '500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log.'
----------------------------------------------------------------
Note I have also tried setting $PROGRAM_URL to
$PROGRAM_URL ='http://www.altrap.net/htdocs/cgi-bin/dada/mail.cgi';
(adding the htdocs) but with the same result...
Now Dada mail is not working on the new server. It worked perfectly on the old server. All paths have been changed in the config file...
OLD SETTINGS
=head2 $FILES
(2. What is the Absolute Path the lists going to be stored in?
Its a good idea to store this information somewhere
OTHER than under your public_html directory, to gaurantee that no
list information can be seen via a web browser. You may have to
chmod 777 this directory, or your cgi script
won't be able to write new files to it. 777 is very open to outside
eyes, if you can, always set this to the minimum permission needed!
=cut
$FILES = '/www/a/altrap/cgi-bin/dadafiles';
=pod
=head2 $MAILPROG
(3. What is the Absolute Path of your mail program?
(type in "which sendmail" in a telnet session
if you don't have sendmail, this script will still work great,
You may have to fiddle around with the "$MAIL_SETTINGS"
variable under the "additional settings, after the first four
variables. Dada Mail uses a Mail Program like Sendmail or Qmail to
send its messages and it needs to know where the Mail Program is
to be able to use it.
=cut
$MAILPROG = '/usr/sbin/sendmail';
=pod
=head2 $PROGRAM_URL
4. What is the URL of the mail.cgi script?
This is the address of the mail.cgi script, (not this file!)
so when you're all done setting up the script, you'll have to go
here to make your first list.
=cut
$PROGRAM_URL ='http://www.altrap.net/cgi-bin/dada/mail.cgi';
=pod
NEW SETTINGS
=head2 $FILES
(2. What is the Absolute Path the lists going to be stored in?
Its a good idea to store this information somewhere
OTHER than under your public_html directory, to gaurantee that no
list information can be seen via a web browser. You may have to
chmod 777 this directory, or your cgi script
won't be able to write new files to it. 777 is very open to outside
eyes, if you can, always set this to the minimum permission needed!
=cut
$FILES = '/home/users/web/b23/pow.atothel/htdocs/cgi-bin/dadafiles';
=pod
=head2 $MAILPROG
(3. What is the Absolute Path of your mail program?
(type in "which sendmail" in a telnet session
if you don't have sendmail, this script will still work great,
You may have to fiddle around with the "$MAIL_SETTINGS"
variable under the "additional settings, after the first four
variables. Dada Mail uses a Mail Program like Sendmail or Qmail to
send its messages and it needs to know where the Mail Program is
to be able to use it.
=cut
$MAILPROG = '/usr/sbin/sendmail';
=pod
=head2 $PROGRAM_URL
4. What is the URL of the mail.cgi script?
This is the address of the mail.cgi script, (not this file!)
so when you're all done setting up the script, you'll have to go
here to make your first list.
=cut
$PROGRAM_URL ='http://www.altrap.net/cgi-bin/dada/mail.cgi';
=pod
----------------------------------------------------------------
When I try to login to my admin page at http://www.altrap.net/cgi-bin/dada/mail.cgi I get a '500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log.'
----------------------------------------------------------------
Note I have also tried setting $PROGRAM_URL to
$PROGRAM_URL ='http://www.altrap.net/htdocs/cgi-bin/dada/mail.cgi';
(adding the htdocs) but with the same result...