Re: Apache::ASP config question

1999-01-17 Thread Joshua Chamas

Brad Babb wrote:
> 
> Hi,
> I'm about to put a site into production using Apache::ASP, and need to have
> a development side to the site to continue working.
> I won't to be able to have 2 difference Application, one for the production
> side, and one for the development side.  What do I need to do to make this
> work.  I tried something like this in httpd.conf, but didn't seem to work..
> 

What didn't work about your config ?

> I'd also like to turn off all the debugging, etc, on the production side but
> like it on in the development side...

Debug 0 for production.

> I may just be tired, (or dumb) and have missed something or just way off,
> but need help anyway..

If you want a separate Application, just set StateDir to something
different.  In your config, I didn't see a global set, which is
very bad in production because then your state files will end 
up on Global/.state, which will be world readable, if Global
is '.', the default setting.

Note that you can use the same StateDir for both production
& development if you like, but not recommended, since you 
should isolate as much as possible the separate environments.
Further degrees of isolation would include separate apache
web servers, separate perl builds, ... (?)

-- Joshua
_
Joshua Chamas   Chamas Enterprises Inc.
NodeWorks >> free web link monitoring   Huntington Beach, CA  USA 
http://www.nodeworks.com1-714-625-4051



Apache::ASP config question

1999-01-17 Thread Brad Babb

Hi,
I'm about to put a site into production using Apache::ASP, and need to have
a development side to the site to continue working.
I won't to be able to have 2 difference Application, one for the production
side, and one for the development side.  What do I need to do to make this
work.  I tried something like this in httpd.conf, but didn't seem to work..


SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Debug  2
PerlSetVar NoState 1
PerlSetVar BufferingOn 0
PerlSetVar NoCache 1
   PerlSetVar DynamicIncludes 1


PerlHandler Apache::ASP
PerlSetVar Debug 2
PerlSetVar NoState 1
PerlSetVar BufferingON 0
PerlSetVar NoCache 1
PerlSetVar DynamicIncludes 1


PerlSetVar Global /usr/local/apache/htdocs


PerlSetVar Global /usr/local/apache/htdocs/development


I'd also like to turn off all the debugging, etc, on the production side but
like it on in the development side...
I may just be tired, (or dumb) and have missed something or just way off,
but need help anyway..
thanks,
brad