2010/09/09

The Labs.Com Web Lab HTTP
Last update 1999/01/19

The Labs - Design & Functionality For The Net

HTTP Papers and Server Infos

What would be the world-wide-web without it's hundred thousands of servers providing the documents, images and all other stuff on demand, the HTTP-daemons.
  1. Papers
  2. Apache
  3. Features
  4. Servers
  5. Further Resources
HTTP
1. Papers
Hypertext Transfer Protocol -- HTTP/1.1
The must to have, 430K long
HTTP Authentication
Detail info about authentication, 72K long

HTTP
2. Apache: Features

404.html

 To make write your own 404-File Not Found page just put this line into your root .htaccess:

 ErrorDocument 404 /404.html 

Within your 404.html make sure you put <base href="..."> at the beginning in case you reference pictures in your 404.html and you want them to be referenced properly.

Make CGI as Dir

 access.conf:

 <Directory /> 
 Options Indexes FollowSymLinks ExecCGI 
 AllowOverride None 
 </Directory> 
  
 AllowOverride AuthConfig 
  
 <Location /Members> 
 SetHandler cgi-script 
 order allow,deny 
 allow from all 
 </Location> 

/Member is a cgi (perl), for the users or search-engines it will look like it's a directory: http://yourserver.com/Members/SomeMore/Dirs/test.html within the CGI you have PATH_INFO environment-variable "/SomeMore/Dirs/test.html" then.

In case you like to have / (root) of the web-server wrapped through a CGI or perl-script then use http.conf:

 DocumentRoot /your/path/html/my-script 
 <Location /> 
 SetHandler perl-script 
 PerlHandler Apache::PerlRun 
 Options +ExecCGI 
 PerlSendHeader On 
 </Location> 

Assuming you have mod_perl compiled with apache. The start-up may complain that my-script is not existant, but that's not true, as apache expects a directory, but you provide a script for it.

Inline Perl

 Since mod_perl was released several packages where written to provide embedded or inline perl:
PowerPerl
Inline perl using <script language="PerlScript"> tags
Embperl: Embed Perl in HTML
Embedded perl within HTML using [- and -] as tags
ePerl
Alike package, uses <? and !> as tags
InlinePerlPages
Our developed package, uses #perl and #/perl as control tags

HTTP
3. Servers

Apache Server
The No 1 on the net
TkApache
Graphical interface for Apache
Netscape Enterprise Server
The No 1 commercial variant
THTTP
Another interesting server (??)
W3: Clients & Servers
Also more recent papers and documentation

HTTP
4. Further Resources

CGI Library
Some CGIs we wrote
InlinePerlPages
Inline perl with mod_perl

                                                                                                                                   

Framer Web Lab

Hipocrisy of the finest: "I agree that no single company can create all the hardware and software. Openness is central because it's the foundation of choice."
-- Steve Balmer (Microsoft) blaming Apple regarding iPhone, February 18, 2009

Last update 1999/01/19

All Rights Reserved - (C) 1997 - 2009 by The Labs.Com

Top of Page

The Labs.Com