GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 14-Feb-2008, 18:08
padan66 padan66 is offline
New Member
 
Join Date: Feb 2008
Posts: 2
padan66 is on a distinguished road

How to add a web page I created to apache


I'm completely new to using web server software, so please bear with me. I installed Apache using WinXP Pro. I get the "It Works" page when I type in (Local Host) in the address bar, so I know apache is installed correctly. I created a simple web page using notebook. The web page works fine when I view it in the folder I created it in, but I can't get it to work as a web page with Apache. I get all of the file that are in the webpage to show up , but I can't get just the home page to show up like a regular web site does. I set both the httpd DocumentRoot & Directory to (D:\Documents and Settings\Computer D\My Documents\Webpage design), but all of the files show as a list instead of a web page. I also tried directing just the home page which is (WebPage.html), but I keep getting the error "DocumentRoot must be a directory". Can anyone help get my webpage to view as a webpage and not all of the files at once.
Thank you.
  #2  
Old 21-Feb-2008, 13:51
spacerich spacerich is offline
New Member
 
Join Date: Jul 2006
Posts: 5
spacerich is on a distinguished road

Re: How to add a web page I created to apache


You need to rename the file as 'index.html' or 'index.htm' to work.
  #3  
Old 21-Feb-2008, 18:40
padan66 padan66 is offline
New Member
 
Join Date: Feb 2008
Posts: 2
padan66 is on a distinguished road

Re: How to add a web page I created to apache


Thanks. I 'll give it a try.
Dan.
 
 

Recent GIDBlogLast Week of IA Training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Named virtual host not working Johnnyrotton Apache Web Server Forum 4 04-Sep-2007 20:32
Get Apache Off My Computer Plz!!! Trippinshrumes Apache Web Server Forum 1 30-Apr-2007 20:26
Apache default page can't be visited satimis Apache Web Server Forum 0 05-Apr-2007 04:40
Need to publish my Web Page on Apache server loaded on WinXp Pro achabla Apache Web Server Forum 1 06-Aug-2006 05:10
Can't view pages from another machine on the Intranet aevans Apache Web Server Forum 9 14-May-2004 02:26

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 23:50.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.