|
|
|
Web Page Setup at HIComSection ShortCuts:
IntroductionTo set up and maintain a web page, you generally need both a PPP and a shell or FTP account. The PPP account is used to establish a modem connection from your PC to HICom. The shell/ftp account is used to hold the web pages online for you after you have uploaded the pages from your PC. At HICom, if you rent a PPP account, you are entitled to a shell/FTP account at no additional charge. For security reasons, clients who use virtual domain hosting may only use an FTP account. Uploading Your Web PagesIf you are a HICom PPP client, you upload your web to your ./public_html folder in your shell account on ftp.hicom.net . The steps are as follows:
If you host a virtual domain at HICom, the process above is almost the same. However, you must tell HICom staff which folder you will be using to host the web pages in, whether you need a cgi-bin, and/or Frontpage extensions set up. Your FTP site will be ftp2.hicom.net Folder and File Access RightsIf you are a PPP user, the folder and file access rights must be 0755 (self - read-write-execute, group - read+execute, world - read+execute). From your telnet session, this can be checked as follows:
If you have a virtual domain, the folder and file access rights must be 0775 (self and group read-write-execute, world - read+execute)
Your Web Page's URLTo access your web pages, the URL's is: http://www.hicom.net/~ppp-userid/ If HICom hosts your virtual domain, the URL is http://www.domain.com
Web Page Directory and index.htmlWhen a browser visits your web page, the default web page which gets loaded is called "index.html". Note that the file name is all lower-case. Also be aware that certain web-creation software tend to create the first page as "default.htm". or "index.htm" Web Server ErrorsYou can check for errors generated from your web pages via the following URL's. Serach for your user-id or a date/time stamp CGIIf you use cgi scripts, they must be in a subdirectory named ./cgi-bin which must have world permissions r-x. The scripts themselves must also have world permissions r-x. Before using them we must set up a ScriptAlias. The convention used for the public name of your cgi subdirectory is /cgi-userid/. The usage is http://www.hicom.net/cgi-userid/. The ScriptAlias points to your ./cgi-bin directory. Example: The login name is: qqq The public_html actual name is: /home/user/qqq/public_html The cgi directory actual name is: /home/user/qqq/cgi-bin The cgi useage is: http://www.domain.com/cgi-qqq For PPP users, the actual name "cgi-bin" is reserved for the system. The real directory for it is /var/apache/cgi-bin. For virtual domains, the name "cgi-bin" may be mapped to a directory of your choice. If you use Perl to write cgi scripts, make sure that the first line in the program is: (Perl 5 is supported) #!/usr/bin/perl And the second line is totally blank (not # followed by nothing, TOTALLy blank). ImagemapsWe use Apache, a derivative of the NCSA web server. Do not put parenthesis around coordinates. Web Page SecurityWeb page security is supported via the .htaccess file in the subdirectory which you want to protect. Make sure it's world permissions are r-x. If you use password or group files, they must also have world permissions r-x. The command to check permission is "ls -la .htaccess". The command htpasswd (from NCSA) is located in your path for shell accounts. CountersAs far as I can determine, there are now four (4) ways to implement counters on a web page. Counters allow you to count how ofter someone visits a web page. Multiple counters may exist for a web. Counters do not need to display what they count (i.e. they can be hidden.)
Server-Side-Includes are enabled. The file suffix is ".shtml". The ~ key is usually to the left of the "1" key on the keyboard. The End Last updated Sunday, May 21, 2000 by Jürgen (admin@hicom.net)
|
|
Mail to webmaster@hicom.net
with questions or comments about this web site. |