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.
|