PDA

View Full Version : Network Setup


Kai
22-Oct-2003, 06:56 AM
Hi. I try to set up the network configuration but i have the follow error message when i do a Test on the network set up.
Error Message:

The test script failed to execute on the web server. The error could be caused by several things. Check the path to the Perl shell, the CGI script extension, the path to CGI-BIN, and the CGI-BIN URL. This error could also occur if your web site is out of disk space or your web server is not configured to accept POSTs to CGI scripts.

All brochure site is fine but not the Online catalog which involve the cgi-bin.
I use ws_ftp to check the level of the file. I also dont not have any problem uploading the file but it has error when merging

Error Message:
A server error occurred while attempting to merge server files. 500 - Internal Server Error

I tried using the Cofigure website detail, everything ok but not the peal script shell. It keep saying that i got the wrong path.

Below is a attachment of my configuration of the network setup. Really appeciate if someone can help as i spent 2 days just trying to configure it.

Thank
Regards,
Kai

Kai
22-Oct-2003, 06:57 AM
This attachment is the structure of the site on ws_ftp.

Nadeem
22-Oct-2003, 08:15 AM
Hi Kai

Looking at the network setup, i am surprised to see

/usr/bin/perl--

Please change this to

/usr/bin/perl

Kind Regards

Kai
22-Oct-2003, 08:23 AM
Hi i had changed it a sec after i post . It has the same error.

Nadeem
22-Oct-2003, 08:29 AM
Hi Kai

When trying to run the following test perlscript
http://www.hst.com.sg/cgi-bin/ts000000.pl

I get Internal Server Error

This can be of the following things

1. Permission are not set correctly for perlscript to execute
2. Path to perl is set differently
3. Your perlscripts are not configured for POST method

Most likely i would say is the permission not be set

Kind Regards

Kai
22-Oct-2003, 08:31 AM
So how to i set the pemission? or it is on the web hosting side, if yes wat permission should i tel them? Thank alot

Nadeem
22-Oct-2003, 08:35 AM
Hi Kai

If you are using an NT server, then the webhosting company has to do it for you

If you are using UNIX server, then you could do it via WS_FTP (I don't know how to do this, you will need to research on using CHMOD commands on WS_FTP) or again can contact your webhosting company and they will set it for you.

The permissions that need to be set are:

/Cgi-bin/ folder - 755
/Acatalog/ folder - 777
Please note these are for UNIX Servers.

For NT server you need to be able to read, write and execute perlscripts. You webhosting company has to set this for you

Kind Regards

Kai
22-Oct-2003, 08:39 AM
Oh yes! It is solved. It is due to the permission on the acatalog. It was 755 at first. Thank alot Nadeem. Really appeciate. Thumb up for the fast respond. Thank again!