httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petr Hracek <>
Subject [users@httpd] Usage of type-map
Date Mon, 14 Nov 2011 15:38:59 GMT
Dear users,

on the our web server I have found really strange thing.
Some web pages on linux stored in /opt/appl/htdocs are written so that
instead of index.shtml.[en_US|de]
there are file.

Are there any possibilities how to do that over type-map?
application.shtml.var on my system looks like:

URI: application1.shtml; vary="type,language"

URI: application1.shtml.en_US
Content-type: text/shtml
Content-language: en-US

Content-type: text/shtml
Content-language: de

But this does not work.

I have inserted in DirectoryIndex index.shtml.var
AddHandler type-map .var
application/x-type-map to mime.types but
When I am accessing https://<IP>/appl/application1.shtml the it shown
me that page was not found.

It seems that I did not understant of content negotiation well.

Best Regards / S pozdravem
Petr Hracek

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message