Feature
| Microsoft IIS
| UNIX CGI
|
Default location of HTTP documents
|
x:\Inetpub\WWWRoot\
|
On the Apache Web server: /usr/local/http/htdocs/
|
File extensions of HTTP files
|
".htm" extensions and
".asp" file type for server-side scripts
|
".html" extensions and
".cgi" file type with
"Context-type:" in headers.
|
Method to differentiate HTTP files and server-side scripts
|
".asp" file type
|
".cgi" file type with
"Context-type:" in headers.
A blank line between the end of the header and the beginning of the actual content
is needed to avoid a "500 Server Misconfiguration error".
|
Default file name
|
"Index.htm" or "Index.asp", but configurable.
|
"default.html"
|
Default location of executables
|
c:\Programs\
|
/cgi-bin/
|
Default location of interpreter
|
c:\Programs\Perl32
|
#!/bin/sh for Bourne shell scripts.
#!/usr/bin/perl for Perl scripts.
|
Method of passing data from Web server to CGI programs
|
Temporaray files (which slows performance)
|
Environment variable QUERY_STRING.
|
"403 Forbidden" message
|
|
Permissions for user "nobody"
|
Error Log Location Avoiding browser "404 Not Found" message
|
|
/var/log/httpd
|
Error Log location
|
With HTML:
<A href="javascript:history.go(-1)"> <img src="http://merc.tv/img/flipprev.gif" border="0" alt=Back> </A>
Custom Error messages on NT ISAPI
|
if ($ENV{'HTTP_REFERER'}) {
$referrer = $ENV{'HTTP_REFERER'};
print “<P>Go back to the referring page:<BR>\n";
print “<A href=\"$referrer\">$referrer</A></P>\n";
}
Perl Redirection of error messages
|
To retrieve variables
(such as the Document Name/File/URI Path, LAST_MODIFIED, DATE_LOCAL, etc.)
|
Microsoft Active Server Pages
VBScript ActiveX
|
Chilisoft offers ASP on for Netscape Enterprise on Sun Solaris, was released during the summer of 1998.
ChilBeans
automatically converts Java components to COM objects.
|
Login Security:
|
Both Netscape and Internet Explorer support Basic Authentication. Basic Authentication sends the login name and password as unencrypted clear text. To handle a wide scope of people on NT systems, Basic Authentication is used. Internet Explorer is the only browser that also supports NT Challenge/Response. When using NT Challenge/Response authentication, HTTP Keep-Alives needs to be Enabled.
|
|
Changing Security:
|
Start, Programs, NT Option Pack, Internet Administrator
|
In a listing output from the command ls-l, the first character of the 10-character string
-rwxr-xr-- denotes the file type,
which is - for files, d for directories, and l for Symbolic links (files that is a pointer to another file somewhere else).
A permission string such as "rwxr-xr-x" use three characters for each of three groups: the user, the group that owns the file, and others.
(r) is read permission, (w) for write permission, (x) for execute permission, and (-) for no permission.
Command chgmod 755 file.ext
|
To retrieve data PUT from a FORM
|
|
PATH_INFO or PATH_TRANSLATED
|