--- In [email protected], "rupendra_vengurlekar"
<rupendra_vengurle...@...> wrote:
>
> from Rupendra
>
> what is script aliasing in apache .
>
> i want " uptime " to be shown in my web page so that when the user clicks
> it he get the web server uptime
>
What is CGI
Each word in the acronym, "Common Gateway Interface," helps to understand the
interface:
* Common - interacts with many different operating systems.
* Gateway - provides users with a way to gain access to different programs,
like databases or picture generators.
* Interface - uses a well-defined method to interact with a web server.
Terms
http://www.cosmicperl.com/newbieguide.shtml
ScriptAlias is a directive.
It is used to map between URLs and file system paths. It works much like the
Alias directive. The only difference is that the ScriptAlias marks the target
directory as containing Common Gateway Interface (CGI) scripts. These CGI
scripts are meant to be executed by the mod_cgi's cgi-script handler. URLs are
mapped to scripts starting from the second argument that refers to full name of
the path in the local file system.
The ScriptAlias directive defines where CGI scripts are located. Generally, it
is not good practice to leave CGI scripts within the DocumentRoot, where they
can potentially be viewed as text documents.
For this reason, a special directory outside of the DocumentRoot,known as
cgi-bin (default is /var/www/cgi-bin)
Also called server side executables (SSI)
Creating Script Alias
http://help.hardhathosting.com/question.php/32
Difference between Alias & Script Alias
http://www.openbluhost.com/unix-server/50688-alias-vs-scriptalias
For server side monitoring use wtop + logrep
http://code.google.com/p/wtop/
B.Sadhiq