|
Perl Scripts Form Mail Scripts, send form results to your mail box We are designing new secure form mail scripts.
Installing your own scripts Powerhoster.com gives you the freedom to install your own script on your site. To install scripts in your cgi-bin dir execute the following steps. ----> Upload Scritps to your /var/www/cgi-bin directory. ----> chmod any directory in your cgi-bin directory to 755 ----> upload your scripts using ASCII ----> chmod the script 755 You will need to review the readme file that comes with your script and set it up correctly. If you get an internal server error please check your scripts' path, or upload manner(ASCII upload). Here are several settings that may be useful: Path to perl: /usr/bin/perl Remember to chmod 777 any files that need to be written to by the script. You cannot run any perl script outside your /var/www/cgi-bin directory. You can use http://www.yourdomain.com/cgi-bin/perscript.pl(or .cgi ) to call your perl scripts. You log files are located in your /var/log/httpd directory. If you have some difficulties to debug your codes, you can download your error_log files with your ftp and find your errors easily. Your log files can also help you trace your visitors' information such as their IP address, and which kinds of platform they use. But if your traffic is too big, Your log files will occupy too much of your space. You can contact Support to delete them for you. The full path of your files and directoriesYou can upload Server.cgi to your cgi-bin dir to check your server setting. remember to rename this file to server.cgi and chmod to 755 Normally, your full path to your /var/www/html/ folder should be /home/virtual/site#/fst/var/www/html/
your full path to your /var/www/cgi-bin/ folder should be /home/virtual/site#/fst/var/www/cgi-bin/ Useful Free Script Links Top
|