Afficher un message
Vieux 02/06/2007, 10h33   #2
Davide Bianchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: httpd.conf - how to use a single domain with multiple directories

On 2007-06-02, thatguyfromnj <pirigyim@gmail.com> wrote:
> I would like to use multiple directories on a subdomain to access
> different sites. So for example:
>
> DNS is setup to point to: http://sub.example.com


This is as clear as mud... if you want to access different
subdirectories, just uses different subdirectories, the fact that each
subdir has his own 'site' is of no interest for Apache.
Otherwise explain what you mean and what you want to achieve.

> Note that each of the above will have its own document root.


A site can have ONE document root, if you want to use different
subdir, you don't have different sites, you just have different dirs.
You can have different document root if you use different domains
(http://domain1.com, http://domain2.com and so on).

Clear your mind and explain.

Davide

--
Grown-up Operative System: old enough to drink, old enough to vote,
old enough to drive, old enough to fsck
- Brian Kantor and Anthony de Boer on asr
  Réponse avec citation
 
Page generated in 0,06186 seconds with 9 queries