version 1.57, 2001/02/26 18:14:07
|
version 1.58, 2001/02/27 21:06:07
|
Line 215 main server configuration file
|
Line 215 main server configuration file
|
<METAGROUP> |
<METAGROUP> |
<LONCAPA TYPE=LOCATION DIST="redhat6.2" SOURCE="loncom/srm.conf" TARGET="etc/httpd/conf/srm.conf" CATEGORY="static conf"> |
<LONCAPA TYPE=LOCATION DIST="redhat6.2" SOURCE="loncom/srm.conf" TARGET="etc/httpd/conf/srm.conf" CATEGORY="static conf"> |
<DESCRIPTION> |
<DESCRIPTION> |
name space configuration |
<P> |
|
This file configures the "name space" of the Apache web server. srm.conf |
|
defines when specific perl modules should be called to handle a given |
|
request. This definition is a function of the name of the perl module, |
|
and a specific regular expression associated with the URL, such as |
|
"^/res/.*\.page". |
|
</P> |
|
<P> |
|
Here is an example entry: |
|
<PRE> |
|
<LocationMatch "^/res/.*\.page$> |
|
SetHandler perl-script |
|
PerlHandler Apache::lonpage |
|
</LocationMatch> |
|
</PRE> |
|
</P> |
</DESCRIPTION> |
</DESCRIPTION> |
</METAGROUP> |
</METAGROUP> |
<METAGROUP> |
<METAGROUP> |