Re: Re: Skunkweb-list digest, Vol 1 #357 - 5 msgs

Jacob Smullyan <[email protected]>
Newsgroups gmane.comp.web.skunkweb
Message-ID <[email protected]>
On Thu, Jul 29, 2004 at 09:20:44PM -0700, Matthew Bogosian wrote:
> This is probably not recommended (and I'd definitely consider going 
> with Jacob's suggestion first for obvious reasons), but if you're 
> looking for something quick and dirty, you can probably use the sw.conf 
> file itself. It may not be the best place to do your application 
> initialization (and it's probably a bad idea if you're developing 
> something which can be installed and used by others), but if you just 
> want to try something out, just tack a few lines onto the end of your 
> conf file (or include your custom file from sw.conf):

[etc] 

This sort of thing will usually work, but has been known to lead to
bizarre side-effects, as Drew memorably pointed out recently on this
list, writing:

  Importing AE.Component in sw.conf without first importing
  ae_component will make you want to kill yourself.

There isn't an absolute guarantee of a sane environment until after
the server has completely bootstrapped -- *after* the config has been
read.  Tread carefully!

js

-- 
Jacob Smullyan
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBCdcguqamFyFXXLIRAmJuAJ9KPq8F7kaqAERZwfRvvZdKm/Tz5gCgg5Ci
o5ZB1NGdVJREzoVnnY+xIu4=
=M+xH
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.