Hello,

I use the Include directive to attach the virtual host's configuration files
within the original httpd.conf.
I guess, when making the log file paths relative to DocumentRoot they have to
reside below the public area. Isn't the following structure possible?

server
    host1
        logs
        docs
    host2
        logs
        docs
...

Regards, Markus


Klaus-Peter Schulze wrote:

> Hi,
>
> Markus Wagner wrote:
>
> > Hello,
> >
> > I would like to have different virtual hosts with different
> > configuration and log files. There should be a different directory tree
> > for each virtual host, with subfolders "conf", "logs", etc.. But I
> > recognized that the "ServerRoot" directive is not available within a
> > virtual host context. Thus, I have to enter full paths for any file
> > associated to a server, which gets more and more complex especially when
> > using SSL.
>
> No, you can use the "DocumentRoot" directive for the documents a new log
> directive for your logfiles, but there�s only one conf folder the virtual
> hosts
> are configured in the conf-files of the original server.
>
> >
> >
> > What would be a recommended organization of the hosts and their
> > associated files on disk?
> >
>
> I�ve made a new folder on another partition with subfolders for all the
> documents and logs of the virtual hosts, now i can handle the
> user-rights and shares much faster.

Reply via email to