You need to also set the permissions to the /cgi-bin/ folder and /acatalog/. In CuteFTP you right click on one of these folder and select "CHMOD".
The permission for /cgi-bin/ should be 755 and the /acatalog/ should be 777.
Please note, these are UNIX Permission, if you are running an Windows server, then the permission should be:
Read
Read and Execute
Modify
Write
For both the folders.
Kind Regards
Hi Nadeem
My permission for /cgi-bin/ is set to 755 and for the /catalog/ it is set to 777.
But my 'Location' is showing '/'. How should my 'Location' read?
I tried the settings you suggested above and when carrying out a test these are the error messages I get:
"Unable to move to the acatalog directory "/public_html/" on the FTP server possibly due to a mistake in the Path from CGI-BIN to acatalog Directory field.
The specified directory does not exist or you do not have access to the directory."
"Actinic received a server error from the web server. The CGI scripts are not executing properly on the server. Run Web | Configure Web Site Details... to review your web site configuration."
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.
Responce:
Server Error
The following error occurred:
[code=SERVER_RESPONSE_CLOSE] The server closed the connection while reading the response. Contact your system administrator.
Please contact the administrator.
--------------------------------------------------------------------------
I have set my permissions in Cute FTP client on cgi-bin to “755” and have set the permissions on acatalog to “777”.
Can you please let me know how I can overcome this problem.
It looks to me like you've been through enough on this.
If I were you I'd log a support call with Actinic and get them to help you directly. This should only take them 5-10 minutes to sort out once they have access to your server.
Your settings look ok to me but can you check on your server that you have a folder called 'public_html' and that the 'acatalog' folder is within this folder.
Your settings are really all based on the 'cgi-bin'. First of all you need to determine where this is on your server, ie when you first ftp onto your server, do you see the cgi-bin straight away or is it within a sub-folder? If you can see it as soon as you log on then the 'Path to the cgi-bin' will be either '/cgi-bin/' or 'cgi-bin/'. If it is within a folder then then it will be '/foldername/cgi-bin/'.
Then you need to work out the 'Path from the cgi-bin to the acatalog directory'. On a Unix/Linux server this will always start with ../ as this means that you are coming out of the cgi-bin. Then you need to add the path to the 'acatalog' folder - so if you have to go into the 'public_html' folder to get to the 'acatalog' folder - ie your directory structure looks like:
cgi-bin (folder)
public_html (folder)
........acatalog (sub-folder in public_html)
your 'Path from CGI-BIN to acatalog directory would be:
../public_html/acatalog/
If your cgi-bin and acatalog folder are at the same level - ie:
Thanks for your previous reply, which I have applied but unfortunatly I am still getting error messages, which are as follows:
Actinic received a server error from the web server. The CGI scripts are not executing properly on the server. Run Web | Configure Web Site Details... to review your web site configuration.
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.
When I carry out a test using the wizard it stops at 'web site address' and the error message that follows is ' the wizard received an error while verifying the web server, error sending request'.
Looking at what you have posted for your 'Path to CGI-BIN':
PATHTOCGIBIN /public_html/cgi-bin/
You are saying that your cgi-bin is within the 'public_html' folder, therefore, your 'Path from CGI-BIN to acatalog folder' should be:
../acatalog/
as they are in the same folder and not '../public_html/acatalog/' as you have listed in your previous post. You might also want to try leaving the 'Path from CGI-BIN to acatalog directory (as viewed by the FTP server)' blank.
You should also remove '/public_html' from your 'Catalog URL' and CGI-BIN' url field.
Also, have you checked that a perl file will run from your cgi-bin? Try uploading the attached perl file (after unzipping it) to your cgi-bin (upload must be in ASCII mode) and then try running it in your browser at:
I did as you suggested by uploading the perl file (you attached) in ASCII mode to my cgi-bin directory. I then ran it in my browser using to following:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, percivalk@hotmail.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Now that we have established that perl is not working, what do I do now?
OK, now we might be getting somewhere. As the helloworld5.pl file does not run this suggests a problem on your server. You will need to check with your hosting company why this simple (non-actinic) perl script will not work. It may be as simple as the 'path to perl shell' is wrong or it could be that they have not set up perl to run from your cgi-bin.
123-Reg has informed me that the reason why the halloworld file was not loading was because the permission was incorrectly set. They have told me to set my permission to 744 and fortunatly that file loaded ok. But when I set the permission to 744 on the perl files within my cgi-bin, an error message appears saying that 'my scripts are not executing properly'.
I seem to be going around in circles and getting nowhere. For the last 3 1/2 months I have patiently tried to upload my site to my web site with no success.
Comment