Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old August 28th, 2003, 02:09 PM
rmarkin rmarkin is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Reno, NV
Posts: 4 rmarkin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Where do I publish HTML files to in Apache 2.046?

I have recently installed the BigApache 1.05 package which uses Apache 2.046. Everything is up and running, and I can access the default index.html file, but I cannot find where to put my website files. If anybody knows the path to the "localhost" folder I would really appreciate it.

Thanks
Robert

Reply With Quote
  #2  
Old August 28th, 2003, 08:42 PM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,240 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
Hey Robert,

Welcome to DevArticles!

You want to put your site files into the "htdocs" folder.

For better organization practices, you should create directories, for each project, within the "htdocs" directory.

HTH!
__________________
____________________________________________
Developer Shed Weekly Writer | DevArticles Forum Moderator
Build Your Own KlipFolio Klip With PHP
FrankManno.com - Under Construction
Design Interactive Group - Under Construction

Reply With Quote
  #3  
Old August 29th, 2003, 10:20 AM
rmarkin rmarkin is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Reno, NV
Posts: 4 rmarkin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Frankie,

Thank you for the reply! I was able to find the htdocs folder, copy my website files and magically everything works great! About the organization thoughts, I have another question. If I want to host two websites with totally unique domain names, is that as simple as creating two directories in my htdocs folder each containing their respective index.html file? Of course I will need to purchase the two domains and have them pointed to my static ip address (NetworkSolutions) but how do I tell Apache to forward the correct domain to the correct directory?

This is already so much better than paying somebody else to host my site for me. Thank you very much for your help.

Robert

Reply With Quote
  #4  
Old August 29th, 2003, 10:48 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
Send a message via ICQ to dhouston
This'll require some tweaking of the httpd.conf file in your conf directory. There are probably sufficient sample entries to help you figure out the setup, and if not, you can usually find good info by browsing apache.org. Basically, you'll have to set the server up to listen for multiple domains, providing a VirtualHost block for each domain that tells the server which directory to look in for files, etc.

Reply With Quote
  #5  
Old August 29th, 2003, 12:53 PM
rmarkin rmarkin is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Reno, NV
Posts: 4 rmarkin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
dhouston,

Thank you for the tip. I am just finishing up getting the DNS working correctly, then I will take a look at the httpd.conf file to see what I need to change. I assume that this has something to do with the HTTP header info? I will post back when the DNS is operational and I have read a little more on the Apache website.

Thank you for the help.

Robert

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > Where do I publish HTML files to in Apache 2.046?


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap