FreeBSD Menu
FreeBSD Main
FreeBSD Hosting Plans
FreeBSD FAQ's
H-sphere Documentation
Order a FreeBSD Plan


Hosting Solutions
Red Hat Linux - cPanel
Windows 2000
FreeBSD




KNOWLEDGE BASE

Jump to 

CGI Related

1. Where do I place my CGI scripts?
2. What are the correct paths to my CGI Scripts?
3. What are the correct permissions for my CGI scripts?
4. How do I change the permission of my CGI scripts?
5. What version of Perl do we have in our FreeBSD Hosting?
6. What are the modules installed in Perl?


Where do I place my CGI scripts?
Your FreeBSD Hosting account by default has a cgi-bin folder, or directory. You must place all your .cgi or .pl scripts inside this directory.

Back To Top

What are the correct paths to my CGI Scripts?
path to perl: /usr/bin/perl

path to date: /bin/date

Send_Mail path: /usr/sbin/sendmail

Full path to home directory: /hsphere/local/home/

Back To Top

What are the correct permissions for my CGI scripts?
All .cgi and .pl scripts can only run with a 755 (-rwxr--r--) permission in our server.

Back To Top

How do I change the permission of my CGI scripts?
Changing the permission of your scripts can easily be done using your FTP program. To do that, connect to your Server using your favorite FTP program. Highlight the file that you wish to change permission. Right Click on the highlighted file then choose FTP Commands -> Site. Enter SITE string like this: chmod 755 name_of_file.

You can also use the UNIX command of changing file permission. To do that, highlight the file that you wish to change permission. Right Click then choose chmod (UNIX).

The following are the eqiuvalent UNIX command of changing file permission:

(755) -rwxr--r--
(644) -rw-r--r--
(666) -rw-rw-rw-
(777) drwxrwxrwx

.

Back To Top

What version of Perl do we have in our FreeBSD Hosting?
We have Perl 5.00503 currently installed in our FreeBSD Hosting.

Back To Top

What are the modules installed in Perl?
Please click on the link below to see the modules installed in our Perl:

http://www.dreamcohosting.com/perldiver.cgi

.

Back To Top

 

 

   
   Support | Forums | Terms of Service | Acceptable Use Policy | Contact Us
©Copyright 2002 Dreamcode Web Hosting