You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Bl...@blaise.ru on 2016/06/29 18:18:51 UTC

ScriptAlias with a specific handler

ScriptAlias seems to have an unfair preference for mod_cgi, since the handler "cgi-script" is hard-coded in mod_alias.
Would it not be nicer (towards other scripting modules and the user) if ScriptAlias accepted an optional third parameter -- handler's name, so that one could write
	ScriptAlias /webapp "/path/to/webapp" custom-script-processor
instead of
	Alias /webapp "/path/to/webapp"
	<Location /webapp>
		Options +ExecCGI
		SetHandler custom-script-processor
	</Location>
?

-- 
\u03b2�