|
ROCKCI
DIY Virtual Server User Manual
We recommend that you read through all of Chapter 2 Getting Started before using your Virtual Server. Taken from customer email requests for support. How do I edit / maintain my web pages?
Use this host: www.Yourname.com Use this User ID: emailed with activation Use this password: emailed with activation
permissions 2 drwxr-xr-x 8 yourname guests 512 Apr 20 18:23 . Sytem files/directories 2 drwxr-xr-x 46 root wheel 1024 Apr 13 22:18 .. Sytem files/directories 2 -rw-r--r-- 1 yourname guests 466 Apr 4 12:15 .cshrc Sytem files/directories 2 -rw-r--r-- 1 yourname guests 22 Apr 5 00:40 .htaccess used to add mime types to your domain and control access 2 -rw-r--r-- 1 yourname guests 619 Apr 4 12:15 .login Sytem files/directories 2 -rw-r--r-- 1 yourname guests 290 Apr 4 12:15 .mailrc Sytem files/directories 4 -rw-r--r-- 1 yourname guests 1203 Apr 4 12:15 .profile Sytem files/directories 2 -rw------- 1 yourname guests 257 Apr 4 12:15 .rhosts Sytem files/directories 2 drwxr-xr-x 3 yourname guests 512 Apr 5 00:44 Guestbook Your Pre-installed Guest Book Directory 2 drwxr-xr-x 2 root wheel 512 Mar 11 06:47 bin Sytem files/directories 2 drwxr-xr-x 2 yourname guests 512 Apr 5 00:39 cgi-bin Your Pre-installed cgi-bin Directory 6 -rw-r--r-- 1 yourname guests 2126 Apr 5 00:41 cmail.html Your Pre-installed form mailer html form template 2 -rw-r--r-- 1 yourname guests 604 Apr 5 00:41 count.shtml Your Pre-installed SSI counter example 2 drwxr-xr-x 2 root wheel 512 Mar 11 06:47 etc Sytem files/directories 4 -rw-r--r-- 1 yourname guests 1330 Apr 20 18:23 index.html Your Pre-installed Home page 2 drwxrwxr-x 2 root wheel 512 Apr 6 22:45 logs your domain's logs directory 2 -rw-r--r-- 1 yourname guests 182 Apr 5 00:40 robots.txt your domain's search engine access control 2 drwxr-xr-x 2 root wheel 512 Mar 11 06:47 shlib Sytem files/directories These are system/directories files and should not (in most cases can not) be changed. Pre-installed editable files/directories for your domain. Maintained by ROCKCI, available for your use.
Your home page file should be named either "index.shtml","index.html" or "index.htm" . Make sure you use lowercase, not "INDEX.HTM" . This file must to located in your home directory. Your home directory is the first directory you see when accessing your web server via ftp.
The operating system (FreeBSD) is CaSe SeNsItIvE. In other words, the file name "joe.html" is NOT the same as "JOE.html". If your HTML code references a joe.html, but the actual file name is in uppercase, a File Not Found error will occur. This also applies to directory names. To prevent errors, name all files in lowercase. Spaces and special control characters are usually not a good idea. The underscore character ("_") is acceptable. You should avoid special characters (eg. ! @ # $ % ^ & * : ') in file and directory names. The tilde (~) cannot be used in directory or file names.
ROCKCI DIY Virtual servers support file (chmod) commands in Cute FTP and WS_FTP. You can also shell in and set permissions the old fashioned way.
ROCKCI DIY servers fully support CGI scripts based on Perl, Unix SH, KSH, CSH, and C languages. CGI is configured to run in any directory. A cgi-bin directory is pre-installed to better organize your scripts. Perl 5 (and Perl 4 for older applications) are located on the server for your use. /usr/bin/perl is perl4. /usr/local/bin/perl is perl5. The first line in all perl cgi should reflect the above listed directory. Scripts using mail should reference the following: mail_program = "/usr/sbin/sendmail"
Did you upload your script in ascii mode? Are your file permissions set correctly? Do you know where it is???? /usr/bin/perl is perl4. /usr/local/bin/perl is perl5. mail_program = "/usr/sbin/sendmail"
/usr/local/www/data/yourname
|