Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Directory index & Content negotiation

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  JavaScript stops working after enabling embedded ..  
Author Message
hohmann

External


Since: Oct 22, 2004
Posts: 1



(Msg. 1) Posted: Sat Oct 23, 2004 1:10 am
Post subject: Directory index & Content negotiation
Archived from groups: alt>apache>configuration (more info?)

Hi,

Apache 1.3.31

DirectoryIndex is index.html index.htm home.html home.htm

So a request to "http://www.somedomain.tld/" will search for 4
index-filenames until it finds a matching file.

But what happens if there is content negotiation on the language?

Accept-Language: en, de

According to my point of view it should look for

index.html.en
index.html.de
index.html
index.htm.en
index.htm.de
index.htm
home.html.en
home.html.de
home.html
home.htm.en
home.htm.de
home.htm

Unfortunately it looks only for index.html index.htm home.html home.htm

Whats going wrong?

Bernd

 >> Stay informed about: Directory index & Content negotiation 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Sat Oct 23, 2004 8:43 am
Post subject: Re: Directory index & Content negotiation [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2004-10-22, Bernd Hohmann <hohmann RemoveThis @harddiskcafe.de> wrote:
 > But what happens if there is content negotiation on the language?

The same BUT with the addition of the languages.

 > Whats going wrong?

You don't have any of those languages in your browser or the language
negotiation is misconfigured. Check your logfile.
Davide

--
Some Windows were made to be broken.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Directory index & Content negotiation 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
user directory index - Hi all, On my Mac OS X system Apache creates an index in the DocumentRoot (http://localhost/) if no index.html is present but in the user directory (http://localhost/~username/) no index is created if no index.html page is present. I get permission denie...

Directory index query - Hi When there is no know index.* file in my root directory the contents of that directory are displayed under the heading Index of /Directory. Can anyone tell me how I disable this within the httpd.conf file. I want it to say /Forbidden or something..

how to remove parent directory in index ? - Hello Gents I need to configure a apache web with the directory index for show the content of one or more subdirectory. My problem is how to remove from the result page the link "parent directory" I check the rules for configure apache...

directory index to display images ? - Hello all, I'm familiar with basic config of Apache, but this is currently beyond my knowledge: is it possible to set up the directory indexing to display the images themselves instead of a link to them ? In other words have Apache generate a <IMG..

Directory index forbidden by rule:/var/www/html/ - To be precise lemme tell you what behaviour am i facing.I have developed an ASP.NET application using C# and i want to run it on RHL 9.0/Apache2.0 using mod_mono Mono 1.0.I have installed everything successfully(i guess so) from Daniel's notes step by..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]