Re: virtual host "server root"

2002-03-01 Thread Rick Myers

On Mar 01, 2002 at 19:30:37 +, Ged Haywood wrote:
> Hi there,
> 
> On Wed, 27 Feb 2002, Rick Myers wrote:
> 
> > I'm trying to create a "root" directory for each of my virtuals.
> > the realm of the virtual that certainly shouldn't be within
> [snip]
> > I've come up with three solutions, none of which I
> > particularly like for various reasons.
> 
> Have you looked at mod_macro?

I hadn't until now, but it looks interesting. Not quite what
I had in mind though.

Thanks

--rick




Re: virtual host "server root"

2002-03-01 Thread Andy Lester

> > I'm trying to create a "root" directory for each of my virtuals.
> > the realm of the virtual that certainly shouldn't be within
> [snip]
> > I've come up with three solutions, none of which I
> > particularly like for various reasons.
>
> Have you looked at mod_macro?

mod_macro has been a godsend for me.  I was about thisclose to writing
something to generate my http.conf for me.



-- 
%_=split/;/,".;;n;u;e;ot;t;her;c; ".   #   Andy Lester
'Perl ;@; a;a;j;m;er;y;t;p;n;d;s;o;'.  #   http://petdance.com
"hack";print map delete$_{$_},split//,q<   [EMAIL PROTECTED]   >





virtual host "server root"

2002-02-27 Thread Rick Myers

I'm trying to create a "root" directory for each of my
virtuals. The reason is that there's plenty of stuff within
the realm of the virtual that certainly shouldn't be within
the document root -- templates, cache, logs, etc. Plus, I
might want to point a virtual into a user dir somewhere.

I've come up with three solutions, none of which I
particularly like for various reasons.

- PerlSetVar VRoot /someplace
Simple, but I've always had a distaste for
PerlSetVar for some reason. *shrug*

- VRoot /someplace
Not as simple. Requires yet another module to
implement and adds even more overhead to the server
conf file.

- ServerPath /someplace
Pretty simple Server.xs hack, but probably never
supported. Also might open up security holes.

Is anybody else doing this sort of thing?

--rick