httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Terbush <ra...@zyzzyva.com>
Subject Re: exectype negotiation
Date Sun, 19 Nov 1995 22:47:40 GMT
> Mmm, seems like you're looking for a solution that allows *.cgi files
> to sit anywhere under the document root and not just in scriptaliased
> directories.  In which case I guess that each server would have different
> DefaultExecType settings in it's conf files.  eg for the sunos box your conf
> file would have:
> 
> 	<Directory /usr/local/httpd/htdocs>
> 	DefaultExecType sunos_4
> 	...
> 	</Directory>
> 
> All yer published URLs could be of the form:
> 
> 	http://www.bleargh.com/somewhere/foo.cgi
> 
> and all you'd do is make sure that you've got a:
> 
> 	/usr/local/httpd/htdocs/somewhere/foo.sunos_4.cgi

Exactly.


> What sort of URLs do you envisage your server(s) receiving in these
> circumstances.  And what do you do if the relevent *.<arch>.cgi isn't
> there?

Receiving foo.cgi, Looking for foo."DefaultExecType".cgi, Fallback to foo.cgi

> Can you see a way to have the same functionality, but using MultiViews?

There appears to be some pretty good models in mod_negotiation.c for
handling Languages. Looks pretty easy to implement.  I'll give it a go.

I can see a need for a standard naming convention for ExecTypes...







Mime
View raw message