httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Luoma <luo...@peak.org>
Subject Re: content negotiation examples
Date Fri, 19 Jul 2002 04:54:27 GMT
Joshua Slive wrote:

> This is discussed in detail at
> http://httpd.apache.org/docs-2.0/content-negotiation.html
> 
> The two choices are type-maps and multiviews.  The first is faster at
> run-time, while the second is usually quicker to setup.
> 
> Assuming you want the second, it is probably as easy as adding
> "Multiviews" to your Options lines and then referring to the images
> without their file extensions.  So, for example, if you have an
> image01.jpg and image01.png in the root directory of your site, then
> reference them as <img src="image01">.
> 
> Now, exactly what effect this will have depends on how the browser has its
> Accept lines configured.

Multiviews... ah.... I was thrown by this line:

	MultiViews is a per-directory option

I (stupidly) didn't realize that the directory could be /

duh

Thanks, that was very easy once I knew what I was doing.

TjL




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message