Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 18418 invoked by uid 500); 4 Aug 2003 09:43:31 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 18404 invoked from network); 4 Aug 2003 09:43:31 -0000 Received: from rwcrmhc11.comcast.net (204.127.198.35) by daedalus.apache.org with SMTP; 4 Aug 2003 09:43:31 -0000 Received: from jacrebel (12-209-236-180.client.attbi.com[12.209.236.180](untrusted sender)) by comcast.net (rwcrmhc11) with SMTP id <2003080409434201300g00gpe>; Mon, 4 Aug 2003 09:43:43 +0000 Message-ID: <000e01c35a6c$e24fbc30$6400a8c0@jacrebel> Reply-To: "Jason Cicillian" From: "Jason Cicillian" To: , =?iso-8859-1?Q?Alfredo_G=F3mez_Grande?= References: <001701c35a67$37c08100$ea1f25d5@PCMain> Date: Mon, 4 Aug 2003 04:43:38 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01C35A42.F908A2E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] Basic index.html Problem ------=_NextPart_000_000B_01C35A42.F908A2E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thank you both for your help....I double checked my spelling of the = index page...it's all lowercase (and Linux IS case-sensitive) and it = ended in .html BUT, just to take advice, I added changed the = DirectoryIndex setting to index.html Index.html index.htm Index.htm and = it worked with just typing the IP address! Weird!=20 But, thanks... Jason ----- Original Message -----=20 From: Alfredo G=F3mez Grande=20 To: users@httpd.apache.org=20 Sent: Monday, August 04, 2003 4:03 AM Subject: Re: [users@httpd] Basic index.html Problem Q=3D When going into a web browser, it WON'T find the index.html = automatically. I have to specifiy, 12.209.236.180/index.html in order = to load it up. A=3D I had that same problem. I discovered it was due to not = specifying the main file extension, as our friend says below. All my = "index" files were .htm and Apache was initially configured under the = DirectoryIndex directive to access only .html files, so I had to modify = this directive and to include the .htm extension. Another thing, that I = don't know is if in Linux this is case sensitive and you have to write = all the combinations. DirectoryIndex index.htm index.html Index.html Index.htm ----- Original Message -----=20 From: csebe@fx.ro=20 To: users@httpd.apache.org ; Jason Cicillian=20 Sent: Monday, August 04, 2003 10:52 AM Subject: RE: [users@httpd] Basic index.html Problem I'm not sure you already put this in your config (afaik is case = sensitive too): DirectoryIndex index.htm index.html Index.html Index.htm If so, posting the relevant bits from the config file would probably = help. Lian Sebe, M.Sc. Freelance Analyst-Programmer www.programEz.net =20 -----Original Message----- From: Jason Cicillian [mailto:jacrebel@comcast.net] Sent: Monday, August 04, 2003 10:17 AM To: users@httpd.apache.org Subject: [users@httpd] Basic index.html Problem I have Apache installed from my Red Hat Linux 9.0 installation. I = have tried hopelessly over and over again to get it to work right. What is happening is this: My Linux box is on a home network. It has a DHCP address assigned = by the router...in my case 192.168.0.102 The router is capable of using a virtual HTPP server and it takes my = cable modem WAN IP address of 12.209.236.180 and re-directs it to the = Linux box. Sweet. Accessing 12.x.x.x.x whatever from the internet DOES = go to my linux box. BUT, when doing this, I get the Apache default (error index.html) = that says Apache is working right, now put your files in this direcotry = /var/www .... ok, now I configured the HTTP server in Linux and a = virtual host. I used the Linux Box IP as the host name, server, name, = everthing with a pointer to the acutal directory containing my files. = In the search for file types, I have index.html listed, as it IS the = directory file index for this site. =20 When going into a web browser, it WON'T find the index.html = automatically. I have to specifiy, 12.209.236.180/index.html in order = to load it up. At work, we have an older Linux OS running ( the old = /home/httpd/html directory structure), anyway, you just type in the = linux box IP address and bam, you load the index.html. Not so for = me... WHY??? I can't find it anywhere online. Thanks for you help. Jason ------=_NextPart_000_000B_01C35A42.F908A2E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thank you both for your help....I = double checked my=20 spelling of the index page...it's all lowercase (and Linux IS = case-sensitive)=20 and it ended in .html    BUT, just to take advice, I = added=20 changed the DirectoryIndex setting to index.html Index.html index.htm=20 Index.htm  and it worked with just typing the IP address!  = Weird!=20
But, thanks...
Jason
----- Original Message -----
From:=20 Alfredo=20 G=F3mez Grande
Sent: Monday, August 04, 2003 = 4:03=20 AM
Subject: Re: [users@httpd] = Basic=20 index.html Problem

Q=3D When going into a = web browser, it=20 WON'T find the index.html automatically.  I have to specifiy,=20 12.209.236.180/index.html  in order to load it=20 up.
 
A=3D I had that same problem. I discovered it was = due to not=20 specifying the main file extension, as our friend says below. All my = "index"=20 files were .htm and Apache was initially configured under the = DirectoryIndex=20 directive to access only .html files, so I had to modify this = directive and to=20 include the .htm extension. Another thing, that I don't know is if in = Linux=20 this is case sensitive and you have to write all the=20 combinations.
 
DirectoryIndex    =  index.htm=20 index.html Index.html Index.htm
 
 
----- Original Message -----=20
From: csebe@fx.ro
Sent: Monday, August 04, 2003 10:52 AM
Subject: RE: [users@httpd] Basic index.html = Problem

I'm=20 not sure you already put this in your config (afaik is case sensitive=20 too):
 
DirectoryIndex index.htm index.html Index.html=20 Index.htm
 
If=20 so, posting the relevant bits from the config file would probably = help.
 
Lian Sebe, M.Sc.
Freelance = Analyst-Programmer
www.programEz.net  
-----Original Message-----
From: Jason Cicillian=20 [mailto:jacrebel@comcast.net]
Sent: Monday, August 04, = 2003 10:17=20 AM
To: users@httpd.apache.org
Subject: = [users@httpd]=20 Basic index.html Problem

I have Apache installed from my Red = Hat Linux=20 9.0 installation.  I have tried hopelessly over and over again = to get=20 it to work right.
What is happening is = this:
 
My Linux box is on a home = network.  It has=20 a DHCP address assigned by the router...in my case=20 192.168.0.102
The router is capable of using a = virtual HTPP=20 server and it takes my cable modem WAN IP address of 12.209.236.180 = and=20 re-directs it to the Linux box.  Sweet.  Accessing = 12.x.x.x.x=20 whatever from the internet DOES go to my linux box.
 
BUT, when doing this, I get the = Apache default=20 (error index.html) that says Apache is working right, now put your = files in=20 this direcotry /var/www .... ok, now I configured the HTTP server in = Linux=20 and a virtual host.  I used the Linux Box IP as the host name, = server,=20 name, everthing with a pointer to the acutal directory containing my = files.  In the search for file types, I have index.html listed, = as it=20 IS the directory file index for this site. 
 
When going into a web browser, it = WON'T find=20 the index.html automatically.  I have to specifiy,=20 12.209.236.180/index.html  in order to load it up.
 
At work, we have an older Linux OS = running (=20 the old /home/httpd/html directory structure), anyway, you just type = in the=20 linux box IP address and bam, you load the index.html.   = Not so=20 for me... WHY??? I can't find it anywhere online.
 
Thanks for you help.
 
Jason
------=_NextPart_000_000B_01C35A42.F908A2E0--