Neptune Web Hosting

Web Hosting Home l Who We Are l Contact l Customers l Help l Testimonials

Neptune Web Hosting - Affordable UK hosting Packages

Web Hosting
Starter Gold
Business Gold
Professional Gold
Domains
Domain Checker
Features
Support Database

 

FEATURES
Extend Control Panel
Webmail and Email
Free Website Builder
Website Statistics
Site Tools
Free Web Tools
Databases
E-Commerce
CGI Scripts
Virus Protection
Service & Support
Our Technology
Data Centre
Our Guarantees

 

SUPPORT DATABASE
ASP
CGI
Domains
E-Mail
Extend Control Panel
FTP
Frontpage
Glossary
MySQL
PHP
SSH
Web Builder
Website Extras
Website Problems

UK Web Hosting at affordable prices!!

CGI

My cgi/asp/php script is giving an error when trying to write to a file.

This is almost certainly down to incorrect permissions on your script or file. Please see the following information on how to set permissions on files:

Doing a CHMOD (changing a file's permissions) is the setting of access privileges for a file. This tutorial shows the process in one of the most common FTP applications called WS_FTP but the process is very similar with other ftp clients. Only Perl scripts need to have permissions changed to run.

First connect to your hosting via FTP using the settings provided in your setup email. Click on the "public_html" directory to open the area where your website is placed.

Next click on the cgi-bin directory and right-click on the file you would like to set permissions for. The right-click menu is then displayed, and by clicking the "CHMOD" option we get to the main part of doing a CHMOD.

The new menu that appears has three columns - Owner, Group, and Other. Each column has three checkboxes below them - Read, Write, and Execute. In the "Owner" column, check all three boxes. In the "Group" column check the first and third checkboxes. In the "Other" column, check the first and third boxes.

Finally, click "OK" to complete the CHMOD. Test your script again by calling it from your web browser. Everything should work correctly, but if you are still seeing an Error 500 Server Error then it is not because of your permissions.

Return To CGI Database

 

 

 

 

Neptune Web Hosting - Affordable UK hosting packages for your web site.

 

 
 
 
Copyright ©2004 WWW.NeptuneWebHosting.com E-Mail : webmaster@neptunewebhosting.com - For All Your Web Hosting Needs!