[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] cgi & perl webmail questionon a RaQ4
- Subject: [cobalt-users] cgi & perl webmail questionon a RaQ4
- From: "Frank Volpe" <frank@xxxxxxxxxxxxxxx>
- Date: Wed Sep 19 02:00:05 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hello list,
I need your personal skills. I try to troubleshoot the problem for about 2
days and nothing yet, no results. I trying to setup this webmail program in
my box, (w3mail . And well, basicly I have a permission problem. My box is a
RaQ4i with 128mb.
Here is what I get, when I try to run the script;
When I type http://www.mydomain.com/login.cgi to run the script, I get
this;
CGIWrap Error: Execution of this script not permitted
Execution of (root) is not permitted for the following reason:
User not Privileged.
I copy the login.cgi and the w3admin to my web directory, from the w3mail
directory who is under my /home/sites/site1/web/cgi-bin
Even if I type it like this http://www.mydomain.com/cgi-bin/w3mail/login.cgi
, don't work. Same error.
Two new folders were created on the install ( mimedir & datadir ) they are
located under my web directory /home/sites/site1/web at chmod 700. My
cgi-bin and w3mail are at chmod 755 as well as the files in it.
Here is my w3mail.conf
UW PICO(tm) 4.0 File: w3mail.conf
Modified
@mailservers = ("fvsolutions.com","");
@mailserver_replyto = ("fvsolutions.com","");
$smtpserv = "fvsolutions.com";
$cgidir = "/home/sites/site1/web/cgi-bin";
$mimedir = "/home/sites/site1/web/mimedir";
$mimehttp = "/home/sites/site1/web/mimedir";
$imageshttp = "/home/sites/site1/web/images";
$homepage = "http://www.fvsolutions.com;
$datadir = "/home/sites/site1/web/datadir";
$tail = "<hr size=1><a href=http://www.w3mail.org/>W3Mail</a>v1.0.2<br> ";
$adminuser = " ***** ";
$adminpass = " ***** ";
$style = "/home/sites/site1/web/images/w3mail.css";
$bgcolor = "#6699cc";
$link = "blue";
$vlink = "blue";
$alink = "red";
$hover = "#007FFF";
Note: I set everything up under super user root.......
Here are the instructions for your overview;
Installation of W3Mail is very simple, and can be performed in under 5
minutes with a script called install.pl.
1. Download W3Mail-1.0.2.tgz after purchasing at http://www.w3mail.org
2. Copy W3Mail-1.0.2.tgz to your cgi-bin directory.
cp W3Mail-1.0.2.tgz /home/httpd/cgi-bin
3. Extract the archive.
tar -xvzf W3Mail-1.0.2.tgz
4. Run ./install.pl
5. Extract Perl Modules.
tar -xvzf perl.modules.tgz
6. Change to perl.modules.
cd perl.modules
7. run install_modules.sh
8. edit html.top. This is an html file that is embedded into the output of
login.cgi, allowing you to customize the header that is presented to users
when they login.
Installation is now complete!
You may want to check the directories you have created to make sure their
permissions are correct:
$datadir and $mimedir - Owned by nobody (or whoever runs your httpd server),
permissions 700 (-rwx------)
To later change your configuration load w3admin.cgi through your webbrowser.
I check everywhere an I can find where the problem is, Please can you guys
help me...
Thank you very much,
Frank Volpe