Hey all,
Im having trouble with the cgi scripts on our server. the trouble is that i have tried everthing i can think of to get the scripts to work to the point where im starting to repeat myself, so it time for a "hands up im beaten approach now".
Here`s are our setting`s
SCRIPTID 1
SCRIPTEXT .pl
SMTPHOST mail.thebagshopuk.com
WEBSITEURL http://www.thebagshopuk.com
IGNOREPASSIVEERRORS true
USERELATIVECGIURLS false
PATHTOPERL /usr/bin/perl ----------( php info() says its 5.8.3 )------------
USEENHANCEFTP true
FTPCLIENTTIMEOUT default
FTPRETRYDELAY default
FTPSILENT true
FTPMAXRETRIES 3
FTPCONNECTTIMEOUT default
SMTPAUTHREQUIRED false
SMTPUSERNAME :******************
SMTPPASSWORD:******************
SSLCATALOGURL https://www.thebagshopuk.com/httpdocs/acatalog/
SSLCGIBINURL https://www.thebagshopuk.com/cgi-bin/
SSLPATHFROMCGITOCATALOG ../httpdocs/acatalog/
SSLCODEBASE ./
SSLFTPHOST ftp.thebagshopuk.com
SSLFTPUSERNAME ****************
SSLFTPPASSWORD *****************
SSLPATHTOCGIBIN /cgi-bin/
SSLUSEPASSIVEFTP false
CATALOGURL http://www.thebagshopuk.com/httpdocs/acatalog/
CGIBINURL http://www.thebagshopuk.com/cgi-bin/
PATHFROMCGITOCATALOG /httpdocs/acatalog/
CODEBASE ./
FTPHOST ftp.thebagshopuk.com
FTPUSERNAME ***as supplied***
FTPPASSWORD ***as supplied***
PATHTOCGIBIN cgi-bin/
USEPASSIVEFTP false
FTPPATHFROMCGITOCATALOG
This is my exact apache info:
( from php info() )
_SERVER["SERVER_SOFTWARE"] Apache/2.0.51 (Fedora)
We are running this on a Linux platform
I posted that i had a problem a while ago on this thread thinking it was the cause of the problem:
http://community.actinic.com/showthread.php?t=30437
At the time i thought that the errors had ocoured because of the dns settings (as explained in the above thread) but that doesnt appear to be the cause of my problem.
When i hit test on actinic i get a "actinic recived an error from the webserver. the cgi scripts are not executing properly on the server. run web|configure website details... to review your website configuration" error. if i click "view response i find i have a 500 internal server error message.
Obviously i did a little further digging and read the server error reports which tells me i have a premature end of script errors. at first i thought it could be my FTP not uploading in ascii but when i do a test upload in binary i get a totally differant error message so atleast thats something.
Then i thought it was actinic so i tried several hello world scipts to no availl. I browsed the forums and decided to try and dos2unix both the hello world and actinic scripts and still nothing. Ive tried with 755 & 777 permissions not just on the cgi-bin directory but also on the directories further "up" the chain (through-out every test etc i have tried). ive tried changing the cgi script extension to .cgi . tried changing the path to perl shell (the attempts are shown below)
/usr/bin/perl
/usr/local/psa/lib/perl5/site_perl/5.8.3 (tried because of something i saw in php info() but mainly desperation)
/httpdocs/usr/bin/perl
/cgi-bin/usr/bin/perl
ive tried with every possibe ftp configuration i could &
the trained chimps that awnser the pipex support lines and quickly say "i have no idea plase email us" where predictably useless to. (tho hats of to there trainer, they alst sound human, maybee the hoff threatend to BBQ them lol)
Im well aware that the problem is probably a simple to linux jobby but im new to linux, and only used it because people on the forums recommend it (as opposed to a windows based platform) as its supposedly easier. i have SSH & Root(ish) access for referance.
im stumped so anyhelp would be greatly appreciated
Sincereley
Billy Munroe
P.S
When i run the configure website details wizard i get to the secure server CGI-BIN URL but cant go any urther, there again we havnt bought a certficate yet so is this normall ????
Im having trouble with the cgi scripts on our server. the trouble is that i have tried everthing i can think of to get the scripts to work to the point where im starting to repeat myself, so it time for a "hands up im beaten approach now".
Here`s are our setting`s
SCRIPTID 1
SCRIPTEXT .pl
SMTPHOST mail.thebagshopuk.com
WEBSITEURL http://www.thebagshopuk.com
IGNOREPASSIVEERRORS true
USERELATIVECGIURLS false
PATHTOPERL /usr/bin/perl ----------( php info() says its 5.8.3 )------------
USEENHANCEFTP true
FTPCLIENTTIMEOUT default
FTPRETRYDELAY default
FTPSILENT true
FTPMAXRETRIES 3
FTPCONNECTTIMEOUT default
SMTPAUTHREQUIRED false
SMTPUSERNAME :******************
SMTPPASSWORD:******************
SSLCATALOGURL https://www.thebagshopuk.com/httpdocs/acatalog/
SSLCGIBINURL https://www.thebagshopuk.com/cgi-bin/
SSLPATHFROMCGITOCATALOG ../httpdocs/acatalog/
SSLCODEBASE ./
SSLFTPHOST ftp.thebagshopuk.com
SSLFTPUSERNAME ****************
SSLFTPPASSWORD *****************
SSLPATHTOCGIBIN /cgi-bin/
SSLUSEPASSIVEFTP false
CATALOGURL http://www.thebagshopuk.com/httpdocs/acatalog/
CGIBINURL http://www.thebagshopuk.com/cgi-bin/
PATHFROMCGITOCATALOG /httpdocs/acatalog/
CODEBASE ./
FTPHOST ftp.thebagshopuk.com
FTPUSERNAME ***as supplied***
FTPPASSWORD ***as supplied***
PATHTOCGIBIN cgi-bin/
USEPASSIVEFTP false
FTPPATHFROMCGITOCATALOG
This is my exact apache info:
( from php info() )
_SERVER["SERVER_SOFTWARE"] Apache/2.0.51 (Fedora)
We are running this on a Linux platform
I posted that i had a problem a while ago on this thread thinking it was the cause of the problem:
http://community.actinic.com/showthread.php?t=30437
At the time i thought that the errors had ocoured because of the dns settings (as explained in the above thread) but that doesnt appear to be the cause of my problem.
When i hit test on actinic i get a "actinic recived an error from the webserver. the cgi scripts are not executing properly on the server. run web|configure website details... to review your website configuration" error. if i click "view response i find i have a 500 internal server error message.
Obviously i did a little further digging and read the server error reports which tells me i have a premature end of script errors. at first i thought it could be my FTP not uploading in ascii but when i do a test upload in binary i get a totally differant error message so atleast thats something.
Then i thought it was actinic so i tried several hello world scipts to no availl. I browsed the forums and decided to try and dos2unix both the hello world and actinic scripts and still nothing. Ive tried with 755 & 777 permissions not just on the cgi-bin directory but also on the directories further "up" the chain (through-out every test etc i have tried). ive tried changing the cgi script extension to .cgi . tried changing the path to perl shell (the attempts are shown below)
/usr/bin/perl
/usr/local/psa/lib/perl5/site_perl/5.8.3 (tried because of something i saw in php info() but mainly desperation)
/httpdocs/usr/bin/perl
/cgi-bin/usr/bin/perl
ive tried with every possibe ftp configuration i could &
the trained chimps that awnser the pipex support lines and quickly say "i have no idea plase email us" where predictably useless to. (tho hats of to there trainer, they alst sound human, maybee the hoff threatend to BBQ them lol)
Im well aware that the problem is probably a simple to linux jobby but im new to linux, and only used it because people on the forums recommend it (as opposed to a windows based platform) as its supposedly easier. i have SSH & Root(ish) access for referance.
im stumped so anyhelp would be greatly appreciated
Sincereley
Billy Munroe
P.S
When i run the configure website details wizard i get to the secure server CGI-BIN URL but cant go any urther, there again we havnt bought a certficate yet so is this normall ????
Comment