|
Help Topics
User Accounts Network Access Additional Help
|
FAQ /
WWWOn this page... (hide) 1. Web Server Aliases
2. WWW browsersFirefox is recommended for web browsing. Just run The latest of version of Mozilla is installed and supported. Just run Note: Netscape is outdated and is not supported. For text based browsing there is 3. How to make homepagesIn order to create a web page on the ECE/CIS machines, you must create a Access to For ECL the URL will be For more information on HTML (HyperText Mark-up Language), please refer to HTML Beginner's Guide 4. CGI server, cgi-bin to make homepagesUser cgi scripts are not enabled on the main web servers mentioned above for security reasons. There is a webserver available to run CGI scripts on. It is on a separate, untrusted server to minimize security risks. On Tuesday, August 15, 2006 the cgi server was upgraded. Part of this upgrade is that ZFS will be utilized to store users' cgi-bin directories. The path for cgi directories will change from Info:
Note To have a filesystem made on this server to enable you to create/use CGI scripts, use the Computer Service / Help Request system and request access to the CGI server. There are security issues that you should be aware of when writing your own scripts. Note, that if you have a security hole a CGI that your account on cgi.eecis can be compromized, so special care should be taken, when writing CGIs and in processing any data from them. (This is why CGI scripts are not enabled on the main dept. web servers) Additional Info: 5. Department Web UpdatesFor those who have permissions to update the department websites, the web files can be accessed from any research Sun machine. Stimpy will work fine.
6. Web access/errors log filesThe Web access logs for our web servers can be found under the directory 7. Access ControlAn htaccess file provides a method to limit directory and file access to authorized users with username/password pairs. First, create a directory that is mode 755 (or at least readable and executable to [~/public_html/]> ls -al drwxr-xr-x 4 user group 512 May 18 11:39 . drwxr-xr-x 3 user group 512 Mar 3 09:28 .. drwxr-xr-x 2 user group 512 May 18 11:39 protected The next step is to create your htaccess password file which will be used for authentication.
Where NOTE: The htpasswd file you create will contain ENCRYPTED passwords. The default encoding is standard Unix crypt, but MD5 hashes can be used by using the After you have created the htpasswd file, the next step would be to create an .htaccess file in the directory you wish to restrict access to. [~/public_html/]> ls -al protected/ total 10 -rwxr-xr-x 1 user group 125 May 18 11:47 .htaccess NOTE: The .htaccess file and your htpasswd file MUST be world readable. ( mode 644 ), or at least readable by the user httpuser using ACLs, and exist in the The contents of the .htaccess file ( which protects the entire directory ) are as follows: AuthType Basic AuthName "My Protected Directory" AuthUserFile /usb/username/public_html/.htpasswd require valid-user From above:
An example of htaccess can be found here. 8. Advanced FeaturesYou can also require that the user use an encrypted session to access certain files. This is good for sensitive or confidential documents which you would not want to send over the network as cleartext. When used in conjunction with the password file you created above, you can allow secure access to only certain users, and certain ip addresses. To do so, add the following to your .htaccess file (Changing it of course): <Files secret.txt> SSLRequireSSL require user secure order deny,allow deny from all allow from 128.4. </Files> In the example above, SSL will be required when accessing the file secret.txt. The required username is 'secure', but any username which is in your htpasswd file can be specified there. Another option is to specify 'require valid-user', which will allow any user in your htpasswd file to authenticate. The 'allow from 128.4.' statement specifies that only users connecting from 128.4.*.* are allowed to access 'secret.txt'. A filemask can also be used in place of a specific file name. 9. SSLThe primary goal of the SSL Protocol is to provide privacy and reliability between two communicating applications. The SSL protocol provides connection security that has three basic properties:
10. Homepage counterA graphical, CGI counter is installed on the ECE/CIS system. This counter can take many options. There are too many to go into detail here. The simplest way to use the counter is to use the following code (put it where you want the counter to appear):
file.dat is the name of the datafile that stores the counter information. You must supply a unique filename for each page you want a counter on. Though it isn't required, you should try to incorporate your username into the datafile name to help avoid name conflicts. e.g.: If your username is jdoe and the HTML file is index.html, use something like this:
There is a counter parameter (st) that lets you set the initial count. This parameter MUST be given to Count.cgi the first time it is called for a particular datafile. To set your initial count to 100 use:
The st option is ignored if the datafile already exists. The "&" is used to separate the options given to the counter. 11. SearchingYou can let people search through your web pages by using a cgi script called htsearch, the front-end component of HT://Dig. Instructions for adding search capability to your web pages is located here. 12. Generating usage statisticsTo construct a web page showing statistics for your web page, use the program Analog, currently installed in To generate this page, you will need a configuration file. To get the default page output, create a configuration file with the following text: LOGFILE /usa/www/logs/www.<dept>.udel.edu/access OUTFILE <output file name> IMAGEDIR http://www.eecis.udel.edu/images/analog/ FILEINCLUDE /~<username>/* <dept> is the department where your web page is located, either eecis, cis, ee. You can get accesses to your page(s) from all three depts by listing 3 separate LOGFILE lines in your config file. The logfile named
There are 32 different reports that may appear in your output. You can select any combination of them, by entering into your configuration file the line:
or, if you do not wish a report to appear,
<reportname> is a keyword identifying the report you would like to present. You can get a list of valid keywords here. Once you have set up the configuration file, you may invoke analog to generate your output file with the command:
where <config file> is the name of the configuration file you created. Comments To add a comment, click the link below. You are free to contribute anonymously, but it is preferred that you sign your comments with your name. Simply add |