MasterBrian
09-12-2001, 04:33 AM
Hello,
I've a problem, I hope you can help me :)
I've a perl script that use sudo in /web/webmail/omail.pl and /web/webmail/contrib/onelogin/index.pl
I've added each directory (/web/webmail/ and /web/webmail/contrib/onelogin) a the end of my httpd.conf
in this way:
<Directory /web/webmail/contrib/onelogin/>
AllowOverride All
</Directory>
<Directory /web/webmail/omail.pl>
AllowOverride All
</Directory>
ScriptAlias /web/webmail/contrib/onelogin/ /web/webmail/
I've chmod 755 omail.pl and index.pl
I've added .htaccess in each directory containing this:
Options +ExecCGI
AddHandler cgi-script .pl
If I start index.pl from the web it work, but when it pass data to omail.pl I get the list of the script inside of omail.pl.
If I run it from telnet it work.
Can u help me?
Thank you in advance
I've a problem, I hope you can help me :)
I've a perl script that use sudo in /web/webmail/omail.pl and /web/webmail/contrib/onelogin/index.pl
I've added each directory (/web/webmail/ and /web/webmail/contrib/onelogin) a the end of my httpd.conf
in this way:
<Directory /web/webmail/contrib/onelogin/>
AllowOverride All
</Directory>
<Directory /web/webmail/omail.pl>
AllowOverride All
</Directory>
ScriptAlias /web/webmail/contrib/onelogin/ /web/webmail/
I've chmod 755 omail.pl and index.pl
I've added .htaccess in each directory containing this:
Options +ExecCGI
AddHandler cgi-script .pl
If I start index.pl from the web it work, but when it pass data to omail.pl I get the list of the script inside of omail.pl.
If I run it from telnet it work.
Can u help me?
Thank you in advance
