
|
How do I execute CGI scripts from any directory ? [cgi-aliases] can be used to alias specific directories for CGI usage. This is the fastest and most secure method of adding another directory the execution of CGI scripts. This method is not appropriate if you have CGI scripts that are found throughout your document directories or need to be in the same directory as your documents. To treat all files within your document directories that end in .pl as PERL CGI scripts, a module must be used. A default module cgi_module is provided to execute CGI scripts. The following entry can be used to execute .pl files as CGI scripts:
[modules]
How do I restrict logging by IP address or request ?
How do I add a page counter ?
<IMG SRC="/session/pagecount?page=foobar"> The directory where the counter files are saved (tmp) can be modified by altering the Application Directory configuration parameter in the config.ini file.
How do I add/remove/modify users ? It is recommended that you modify the password of the "admin" user prior to putting the Sambar Server on a public network. Simply click on the "admin" account, and enter a new password into the Password field. Then update the admin account.
How do I password protect a file/directory ?
The above entry restricts access to urls matching /foobar to the user bob or the users in the group staff.
How do I increase the "Process Timeout" period of the server ?
The period (300) is in seconds.
How can display the current count of a page without increasing the page count ?
<!--#include file="C:/sambar416/tmp/counterfilename" -->
|
© 1998 Sambar Technologies. All rights reserved. Terms of Use.