Bluehost.com Web Hosting $6.95

How do I replace the standard directory page?

This is a discussion on How do I replace the standard directory page? within the Windows Web Servers forums, part of the Web Server and Related Forums category; How do you replace the directory page in Apache 2 with the web page that you want to post on ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-29-2004
madkayaker
 
Posts: n/a
Default How do I replace the standard directory page?

How do you replace the directory page in Apache 2 with the web page
that you want to post on the server? I looked in the documents on the
Apache website, but none of them answer this question.
  #2 (permalink)  
Old 11-29-2004
Znar
 
Posts: n/a
Default Re: How do I replace the standard directory page?

madkayaker wrote:
> How do you replace the directory page in Apache 2 with the web page
> that you want to post on the server? I looked in the documents on the
> Apache website, but none of them answer this question.

Don't know what OS you are running but think they all about same as far
as this answer......look under ur dir of htdocs for a file name
index.html....rename it as a backup just in case you want to use it
again...then copy ur webpage to the htdocs dir and name it index.html..
That will get u started..
  #3 (permalink)  
Old 11-29-2004
Nil
 
Posts: n/a
Default Re: How do I replace the standard directory page?

On 28 Nov 2004, mikeco57@gmail.com (madkayaker) wrote in
news:950719f5.0411281818.64c814ab@posting.google.c om:

> How do you replace the directory page in Apache 2 with the web page
> that you want to post on the server? I looked in the documents on the
> Apache website, but none of them answer this question.


Your document should be named "index.html" and placed in the htdocs
folder or whatever your main documents directory is, as assigned by the
DocumentRoot directive in http.conf.
  #4 (permalink)  
Old 11-30-2004
madkayaker
 
Posts: n/a
Default Re: How do I replace the standard directory page?

Nil <rednoise@REMOVETHIScomcast.net> wrote in message news:<Xns95B069FB3B1DAnilch1@63.240.76.16>...
> On 28 Nov 2004, mikeco57@gmail.com (madkayaker) wrote in
> news:950719f5.0411281818.64c814ab@posting.google.c om:
>
> > How do you replace the directory page in Apache 2 with the web page
> > that you want to post on the server? I looked in the documents on the
> > Apache website, but none of them answer this question.

>
> Your document should be named "index.html" and placed in the htdocs
> folder or whatever your main documents directory is, as assigned by the
> DocumentRoot directive in http.conf.


Oh. Thank you very much. That seems obvious now, thank you.
  #5 (permalink)  
Old 11-30-2004
jlc
 
Posts: n/a
Default Re: How do I replace the standard directory page?

mikeco57@gmail.com (madkayaker) wrote in message news:<950719f5.0411291943.2890cec4@posting.google. com>...
> Nil <rednoise@REMOVETHIScomcast.net> wrote in message news:<Xns95B069FB3B1DAnilch1@63.240.76.16>...
> > On 28 Nov 2004, mikeco57@gmail.com (madkayaker) wrote in
> > news:950719f5.0411281818.64c814ab@posting.google.c om:
> >
> > > How do you replace the directory page in Apache 2 with the web page
> > > that you want to post on the server? I looked in the documents on the
> > > Apache website, but none of them answer this question.

> >
> > Your document should be named "index.html" and placed in the htdocs
> > folder or whatever your main documents directory is, as assigned by the
> > DocumentRoot directive in http.conf.

>
> Oh. Thank you very much. That seems obvious now, thank you.


Ok I understan this part, but when I answered the two questions during
the installation I used localhost for the http:// part and then
www.localhost -- when I type in http://localhost in my browser I get a
screen that says my apache server is working fine. When I go to put a
test file that I want to label index.html I don't know where to put it
-- do I have to create a new subdirectory in htdocs called localhost
or what -- can someone tip me off on this cause then I think I can
get pretty far along before the next question.
  #6 (permalink)  
Old 12-01-2004
Nil
 
Posts: n/a
Default Re: How do I replace the standard directory page?

On 30 Nov 2004, coin123@mindspring.com (jlc) wrote in
news:6c94f811.0411300724.41b70e4d@posting.google.c om:

> When I go to put a test file that I want to label index.html I
> don't know where to put it -- do I have to create a new
> subdirectory in htdocs called localhost or what


Look in the configuration file, httpd.conf for the directive
"DocumentRoot". Whatever is indicated there is your main directory for
your documents - you can change it to somewhere else if you like. Put
your index.html there. You may want to empty that folder of all the
default apache documents.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:11 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0