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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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.. |
|
|||
|
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. |
|
|||
|
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. |
|
|||
|
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. |
|
|||
|
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. |