SRMOptions

Top - Docs - General - Server - Resource - Access - FAQ - Tutorials

Purpose

This command is mostly for VirtualHost configuration. It allows you to specify Server Resource Management (SRM) configuration in the Server Configuration file. It works by calling the SRM parser on the file after the SRMOption line.


Syntax

<SRMOptions>
Directive1 Config1
...
</SRMOptions>
Where Directive1 is a SRM directive. Any number of directives can be used in a SRMOptions section.


Virtual Host

This directive is valid in both the VirtualHost section and the rest of the server configuration file. More than one section is also possible.


Default

It works by default. There is no way to disable it.

Compile Option: none


Examples

<SRMOptions>
DocumentRoot /www
Alias /icons/ /usr/local/etc/httpd/icons/
</SRMOptions>

<VirtualHost 127.0.0.1 required>
	ServerName localhost
	ServerAdmin yow@wow.net
	<SRMOptions>
		DocumentRoot /www/local
		Alias /icons/ /usr/local/etc/httpd/icons/
		ScriptAlias /cgi-bin/ /usr/local/etc/httpd/cgi-local/
		# Local can use internal imagemap
		AddType text/x-imagemap .map
		AddType application/x-httpd-cgi .cgi
	</SRMOptions>
</VirtualHost>


[Back] Return to Configuration File Overview
NCSA HTTPd Development Team / httpd@ncsa.uiuc.edu / 11-06-95