Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Development

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:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old September 18th, 2004, 11:37 PM
cdrobsonjr cdrobsonjr is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 1 cdrobsonjr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Virtual Hosting and file structure question

SooperNoob here...

I need to know if what I want to do is (1) possible and (2) how to do it if it is.

I want to set up Apache to do Virtual Hosting on one hardware server, serving
more than 100 web sites. I want to allow the web site clients to have access
to updating their content as far as the text input goes, but I want to have my own
control over CSS, and templates for layout and presentation under my control
through a set of files and scripts that are kept separate from each Virtual Host's
Document Root structure.
How do I go about creating a file structure that can be referenced by the HTML
pages from inside the Virtual Hosts Document Root structure that Apache
serves to requesting browser clients which resides in a file structure not in
the Virtual Hosts Document Root? That is, when the HTML index.html page
is being served from VH Doc. Root, and it makes reference to somescript.php
or some other template file NOT under VH Doc. Root, how can the connection
be made to them? Where do you put it, and what directives do you put into
the Virtual Host container setup in httpd.conf to support that kind of referencing?

The idea here is that I have a lot of supporting files consisting of logic (scripting)
and formatting files (templates, CSS's, etc) that will be common to every
Virtual web host - so extensive that I do not want to fill up valuable disk space
replicating it in each and every Virtual Host's Doc. Root structure. So I want to
break out the common stuff and have it reside physically on disk only once and
be able to refer to it from within the scope of every Virtual server.
Essentially, I'm wanting to know if there is a way to
serve files outside of the DocumentRoot of each Virtual
Host. If so, how does it work.

I've probably been as clear as mud in stating my quest, but that's about as
good as I can make it now with my totally newbie and incomplete understanding
of Apache at this point.

Looking for lots of kind, patient help.

Doug
drobson@chartertn.net

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Development > Virtual Hosting and file structure question


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway