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

[2.0.48] About index.html.var and index.html

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
CGI issue when returning to index.html - I have a slight issue with my website. Most of the pages are generated by Perl and they all function correctly apart from when someone logs off. When a user clicks the logoff button, the page just goes blank instead of loading (frame page..

Apache2.0.47 can't get index.html.var working - Hi, i upgraded from a apache1 to a apache 2.0.47. Since then, i am not able to view documents in the right language. This doesn't work too in the default /manual section from apache (default I always get the page like: URI:

Apache not displaying index.html.en - Hey all, Just installed Apache 2. When i type - i get a 404 If i type it works, and shows the index page. Also, any link from the index page fails, because the links are to ..html but the files..

Apache 2.0: Cannot automatically server index.html - I am running 2.0.40 on Redhat 8.0 and I cannot get the server display the when I go to Instead, I get the If I specify then the page is returned properly. I first tried

index.pl not loading - Hi all! I do have a problem that my is not loading properly. Example of my problem: Let's say i do have a portal at: When i enter that URL in the browser the portal loads just fine. When i..
Next:  1157  
Author Message
nomail13

External


Since: Jan 04, 2004
Posts: 4



(Msg. 1) Posted: Sun Jan 04, 2004 9:44 pm
Post subject: [2.0.48] About index.html.var and index.html
Archived from groups: alt>apache>configuration (more info?)

( I use Apache 2.0.48 on XP Prof)

Under Apache 1.x I simply dumped my html files in the webroot folder and
'it' worked.
I am struggling to get my simple .HTML website running under 2.x
I see some things have changed dramatically in the conf files.
I checked the help but still don't understand how the mechanism works now.

Can anyone explain how I set up acces in the proper way to ANY html file ?
(primary concern is to het the server to respond with a default file when no
file is specified in the URL)
And when/why would I want a .var file, and how do I make a proper .var for
my own html files ???

Sorry for asking, I just can't make up what's what from the rather technical
manual (and I am not even a pc illiterate sigh, must be getting old)

Thanks,
Best!
Sjoerd

 >> Stay informed about: [2.0.48] About index.html.var and index.html 
Back to top
Login to vote
user2619

External


Since: Jan 05, 2004
Posts: 1



(Msg. 2) Posted: Mon Jan 05, 2004 11:10 am
Post subject: Re: [2.0.48] About index.html.var and index.html [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Sjoerd!
 > Can anyone explain how I set up acces in the proper way to ANY html
file ?
 > (primary concern is to het the server to respond with a default file
when no
 > file is specified in the URL)

What your're looking for is in the httpd.conf.
My conf looks like this and it works fine but I don't use .var so
you'll need someone else to explain that.

[...]
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
# The index.html.var file (a type-map) is used to deliver content-
# negotiated documents. The MultiViews Option can be used for the
# same purpose, but it is much slower.
#
DirectoryIndex index.html index.html.var
[...]

HTH
Jens<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: [2.0.48] About index.html.var and index.html 
Back to top
Login to vote
nomail13

External


Since: Jan 04, 2004
Posts: 4



(Msg. 3) Posted: Mon Jan 05, 2004 3:00 pm
Post subject: Re: [2.0.48] About index.html.var and index.html [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"JOe" <joetling.remove911.TakeThisOut@web.de> wrote in message
news:btb2li$55na8$1@news.hansenet.net...

 > What your're looking for is in the httpd.conf.
 > My conf looks like this and it works fine but I don't use .var so
 > you'll need someone else to explain that.
 >
 > [...]
 > #
 > # DirectoryIndex: sets the file that Apache will serve if a directory
 > # is requested.
 > #
 > # The index.html.var file (a type-map) is used to deliver content-
 > # negotiated documents. The MultiViews Option can be used for the
 > # same purpose, but it is much slower.
 > #
 > DirectoryIndex index.html index.html.var
 > [...]
 >

Joe, thanks for your reply! The weird thing is, that's exactly what I had in
mine. And as long as I leave the 'original' Apache pages in my docroot it
works like a charm, but as soon as I either remove the .var file from that
folder or add an index.html (all the default ones have a language extension)
I get nothing but an error. (tried creating a blank index.html, a default
one and renaming one of the provided ones....
Removing the .var from the DirectoryIndex clause in the httpd.conf does not
work either.

I'm baffled now it DOES work for you.... Looks like something else is not in
order then...

Sjoerd<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: [2.0.48] About index.html.var and index.html 
Back to top
Login to vote
benedict

External


Since: Jan 06, 2004
Posts: 1



(Msg. 4) Posted: Tue Jan 06, 2004 5:16 pm
Post subject: Re: [2.0.48] About index.html.var and index.html [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Suredeath wrote:

 > "JOe" <joetling.remove911.TakeThisOut@web.de> wrote in message
 > news:btb2li$55na8$1@news.hansenet.net...
 >
  > > What your're looking for is in the httpd.conf.
  > > My conf looks like this and it works fine but I don't use .var so
  > > you'll need someone else to explain that.
  > >
  > > [...]
  > > #
  > > # DirectoryIndex: sets the file that Apache will serve if a directory
  > > # is requested.
  > > #
  > > # The index.html.var file (a type-map) is used to deliver content-
  > > # negotiated documents. The MultiViews Option can be used for the
  > > # same purpose, but it is much slower.
  > > #
  > > DirectoryIndex index.html index.html.var
  > > [...]
  > >
 >
 > Joe, thanks for your reply! The weird thing is, that's exactly what I had in
 > mine. And as long as I leave the 'original' Apache pages in my docroot it
 > works like a charm, but as soon as I either remove the .var file from that
 > folder or add an index.html (all the default ones have a language extension)
 > I get nothing but an error. (tried creating a blank index.html, a default
 > one and renaming one of the provided ones....
 > Removing the .var from the DirectoryIndex clause in the httpd.conf does not
 > work either.
 >
 > I'm baffled now it DOES work for you.... Looks like something else is not in
 > order then...
 >
 > Sjoerd

I have exactly the same problem, except what I did was to leave the default if
you have no index.html file where it was and then put in a index.html, test.html
etc.

If I try to get to it by just putting in the web server, no luck, but if I put
in the Webserver/index.html or test.html it works fine. I even created an
index.htm file.

No joy in getting anything unless you named the document.

Any one got any thoughts?

It is a standard full install of redhat 9, I did use the GUI tool to modify
httpd.conf.

Kind regards

--
Benedict White
ben.TakeThisOut@cse-ltd.co.uk

DBase Charter Member<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: [2.0.48] About index.html.var and index.html 
Back to top
Login to vote
user2622

External


Since: Jan 05, 2004
Posts: 7



(Msg. 5) Posted: Tue Jan 06, 2004 9:36 pm
Post subject: Re: [2.0.48] About index.html.var and index.html [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sounds familiar to me too.

Doesn't look like something very high tech, still no good solutions seen
here or online.

Is it THAT hard people ? Out of the box install of 2.0.48 and adding a file
'index'html' to the docroot fails to load in a browser connecting to the
server by name. MUST be a simple straightforward overlooked situation it
seems or is this really rocket science ???

If I connect to localhost from the machine itself it gives the same
error(s). Don't remember anything similar under 1.3.x (both under Win32).
And since a fellow here uses Linux and has the same issue, my guess it is a
wrong/missing setting in httpd.conf

WHO helps us all out ???

jan
 >> Stay informed about: [2.0.48] About index.html.var and index.html 
Back to top
Login to vote
no_mail

External


Since: Jul 15, 2003
Posts: 26



(Msg. 6) Posted: Tue Jan 06, 2004 10:01 pm
Post subject: Re: [2.0.48] About index.html.var and index.html [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Jan Soldaat" <x22048AwesterterpPcom> wrote...
 > Sounds familiar to me too.
 >
 > Doesn't look like something very high tech, still no good solutions seen
 > here or online.
 >
 > Is it THAT hard people ? Out of the box install of 2.0.48 and adding a file
 > 'index'html' to the docroot fails to load in a browser connecting to the
 > server by name. MUST be a simple straightforward overlooked situation it
 > seems or is this really rocket science ???
 >
 > If I connect to localhost from the machine itself it gives the same
 > error(s). Don't remember anything similar under 1.3.x (both under Win32).
 > And since a fellow here uses Linux and has the same issue, my guess it is a
 > wrong/missing setting in httpd.conf
 >
 > WHO helps us all out ???
 >
 > jan
 >
 >
 >
I am suspecting you are mapping the .html extension as a type-map. Do
you have this somewhere in your document root:

<Files *.html>
SetHandler type-map
</Files><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: [2.0.48] About index.html.var and index.html 
Back to top
Login to vote
user2622

External


Since: Jan 05, 2004
Posts: 7



(Msg. 7) Posted: Wed Jan 07, 2004 1:07 pm
Post subject: Re: [2.0.48] About index.html.var and index.html [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Geez, the weirdest thing...
I tossed out the httpd.conf and copied a fresh one from the
httpd.default.conf,
made about the same changes to that one I made before (at least I think lol)
and now.....
it works like a charm.

Differences:
- I did not specify a listen IP address.
- I made all references to my docroot lowercast.
- I changed the UserDirectory to something else.

It serves index.html now without any problem when the URL entered is just
the servername.
Surprised, but happy....

jan
 >> Stay informed about: [2.0.48] About index.html.var and index.html 
Back to top
Login to vote
Display posts from previous:   
   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 ]