Web Servers on Windows - Newbi Problem

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Windows > July 2004 > Newbi Problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Newbi Problem
unacorn

2004-04-07, 7:43 pm

I just downloaded Apache today,b ut I cannot figure out how to replace
the default index page with my own. I can't even find it. Is there
some control panel or soemthing to use?
Thor Kottelin

2004-04-08, 1:48 am



unacorn wrote:
>
> I just downloaded Apache today,b ut I cannot figure out how to replace
> the default index page with my own. I can't even find it. Is there
> some control panel or soemthing to use?


You can use e.g. Windows Explorer to replace the default index.html page
with your own.

Thor

--
http://thorweb.anta.net/
unacorn

2004-04-11, 4:31 pm

Yes, I know that, but I can't locate it. I see lots of index files
in the htdocs folder. Do I jsut delete them all and then put mine in?
Nil

2004-04-11, 4:31 pm

On 08 Apr 2004, starbasesw@classicnet.net (unacorn) wrote in
news:98aac893.0404080906.72ee2e5c@posting.google.com:

> Yes, I know that, but I can't locate it. I see lots of index
> files in the htdocs folder.


Are you sure? Don't they have extensions like .en or .fr for languages?
There can be only one index.html in the root directory.

> Do I jsut delete them all and then put mine in?


Yes.

Have you checked out the FAQ at the Apache site? I bet they go into
more detail there and in the documention.




rach

2004-04-11, 4:31 pm

"unacorn" <starbasesw@classicnet.net> wrote in message
news:98aac893.0404080906.72ee2e5c@posting.google.com...
> Yes, I know that, but I can't locate it. I see lots of index files
> in the htdocs folder. Do I jsut delete them all and then put mine in?


Better yet, comment out the DocumentRoot "C:/Program
Files/apache2/Apache2/htdocs" (or whatever your httpd.conf file says the
path is with a # so like:

#DocumentRoot "C:/Program Filess/apache2/Apache2/htdocs"

Then add your own path below:

DocumentRoot "D:\http-root"

Etc.

Rach


Kenneth Doyle

2004-07-12, 5:51 pm

starbasesw@classicnet.net (unacorn) wrote in
news:98aac893.0404071510.32db7e7@posting.google.com:

> I just downloaded Apache today,b ut I cannot figure out how
> to replace the default index page with my own. I can't
> even find it. Is there some control panel or soemthing to
> use?


It's using a type map:

DirectoryIndex index.html index.html.var

Your seeing the .en version of the missing index.html in htdocs,
if you see what I mean.



--
CodeCutter - good, fast and cheap; pick two.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com