You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Cian sweeney <ci...@optonline.net> on 2003/12/05 03:15:47 UTC

[users@httpd] HTdoc root problem

I am running the server on win xp home ed. I want to have just a small personal website hosted, and I put the root directory in the htdocs folder. When I test by going to 127.0.0.1, it shows an ftp like menu, and you have to click on index.html to acces the website. All help appreciated.

Re: [users@httpd] HTdoc root problem

Posted by hunter <th...@sympatico.ca>.
On Thu, 2003-12-04 at 21:15, Cian sweeney wrote:
> I am running the server on win xp home ed. I want to have just a small
> personal website hosted, and I put the root directory in the htdocs
> folder. When I test by going to 127.0.0.1, it shows an ftp like menu,
> and you have to click on index.html to acces the website. All help
> appreciated.

Cian,

Have you modified the httpd.conf?

Make certain of the case and spelling of 'index.html' - it must be the
same as it is defined in the httpd.conf.

	DirectoryIndex index.html index.html.var

You can add index.htm to the list if that is what you called your index.

Be certain that you have not saved the file as unicode - the file must
be ASCII text only.

-hunter




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] HTdoc root problem

Posted by Kent Healey <kh...@email.com>.
I had the same problem, and may have it right now.

1 time when I installed apache I was able to simple remove everything from
HTdocs, call something index.html and it would load properly when the domain
is called up.

I changed the http.conf file and then nothing worked, even when I changed it
back.

So after about 20 installs, uninstalls, and finally a system restore I was
able to install indigoperl with Apache and get the "successful install"
albeit in German, but heck, its a start.


----- Original Message -----
From: "Herb Stein" <he...@herbstein.com>
To: <us...@httpd.apache.org>
Sent: Thursday, December 04, 2003 10:11 PM
Subject: RE: [users@httpd] HTdoc root problem


>
>
> > -----Original Message-----
> > From: Cian sweeney [mailto:cians@optonline.net]
> > Sent: Thursday, December 04, 2003 8:16 PM
> > To: users@httpd.apache.org
> > Subject: [users@httpd] HTdoc root problem
> >
> >
> > I am running the server on win xp home ed. I want to have just
> > a small personal website hosted, and I put the root directory in
> > the htdocs folder. When I test by going to 127.0.0.1, it shows
> > an ftp like menu, and you have to click on index.html to acces
> > the website. All help appreciated.
>
> Does the DirectoryIndex in http.conf, perhaps, only reference
> index.htm and not index.html ?
>
> --
> Herb Stein
> The Herb Stein Group
> www.herbstein.com
> herb@herbstein.com
> 314 952-4601
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] HTdoc root problem

Posted by Kent Healey <kh...@email.com>.
No, I think FTP like pages that you are thinking of just don't have any HTML
written for them.

I think
----- Original Message -----
From: "Cian sweeney" <ci...@optonline.net>
To: <us...@httpd.apache.org>
Sent: Friday, December 05, 2003 1:23 PM
Subject: Re: [users@httpd] HTdoc root problem


> Thanks to all that helped. The DirectoryIndex was index.html, when my file
> was index.htm, so thats working now. When apache doesn't find an index
file,
> does it turn into some ftp like server, becasue that is what it looked
like.
> ----- Original Message -----
> From: "Herb Stein" <he...@herbstein.com>
> To: <us...@httpd.apache.org>
> Sent: Thursday, December 04, 2003 10:11 PM
> Subject: RE: [users@httpd] HTdoc root problem
>
>
> >
> >
> > > -----Original Message-----
> > > From: Cian sweeney [mailto:cians@optonline.net]
> > > Sent: Thursday, December 04, 2003 8:16 PM
> > > To: users@httpd.apache.org
> > > Subject: [users@httpd] HTdoc root problem
> > >
> > >
> > > I am running the server on win xp home ed. I want to have just
> > > a small personal website hosted, and I put the root directory in
> > > the htdocs folder. When I test by going to 127.0.0.1, it shows
> > > an ftp like menu, and you have to click on index.html to acces
> > > the website. All help appreciated.
> >
> > Does the DirectoryIndex in http.conf, perhaps, only reference
> > index.htm and not index.html ?
> >
> > --
> > Herb Stein
> > The Herb Stein Group
> > www.herbstein.com
> > herb@herbstein.com
> > 314 952-4601
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] HTdoc root problem

Posted by Cian sweeney <ci...@optonline.net>.
Thanks to all that helped. The DirectoryIndex was index.html, when my file
was index.htm, so thats working now. When apache doesn't find an index file,
does it turn into some ftp like server, becasue that is what it looked like.
----- Original Message ----- 
From: "Herb Stein" <he...@herbstein.com>
To: <us...@httpd.apache.org>
Sent: Thursday, December 04, 2003 10:11 PM
Subject: RE: [users@httpd] HTdoc root problem


>
>
> > -----Original Message-----
> > From: Cian sweeney [mailto:cians@optonline.net]
> > Sent: Thursday, December 04, 2003 8:16 PM
> > To: users@httpd.apache.org
> > Subject: [users@httpd] HTdoc root problem
> >
> >
> > I am running the server on win xp home ed. I want to have just
> > a small personal website hosted, and I put the root directory in
> > the htdocs folder. When I test by going to 127.0.0.1, it shows
> > an ftp like menu, and you have to click on index.html to acces
> > the website. All help appreciated.
>
> Does the DirectoryIndex in http.conf, perhaps, only reference
> index.htm and not index.html ?
>
> --
> Herb Stein
> The Herb Stein Group
> www.herbstein.com
> herb@herbstein.com
> 314 952-4601
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] HTdoc root problem

Posted by Herb Stein <he...@herbstein.com>.

> -----Original Message-----
> From: Cian sweeney [mailto:cians@optonline.net]
> Sent: Thursday, December 04, 2003 8:16 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] HTdoc root problem
> 
> 
> I am running the server on win xp home ed. I want to have just
> a small personal website hosted, and I put the root directory in
> the htdocs folder. When I test by going to 127.0.0.1, it shows
> an ftp like menu, and you have to click on index.html to acces
> the website. All help appreciated. 

Does the DirectoryIndex in http.conf, perhaps, only reference
index.htm and not index.html ?

--
Herb Stein
The Herb Stein Group
www.herbstein.com
herb@herbstein.com
314 952-4601


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org