Re: Skunkweb-list digest, Vol 1 #387 - 2 msgs
Juan Carlos Leon <[email protected]>
| Newsgroups | gmane.comp.web.skunkweb |
|---|---|
| Message-ID | <[email protected]> |
James,
1. Make sure you follow the skunkweb installation
properly.
2. Setup a Virtual Host container in Apache's
httpd.conf, e,g:
<VirtualHost *>
ServerName skunkweb.zunzun.com
ServerAlias skunkweb.zunzun.org
<Location />
SetHandler skunkweb-handler
</Location>
ErrorLog logs/skunkweb.zunzun.error.log
LogFormat "%h %l %u %t \"%r\" %>s %b
\"%{Referer}i\" \"%{User-Agent}i\"" combined
CustomLog logs/skunkweb.zunzun.access.log combined
</VirtualHost>
3. Create a Scope in skunkweb's sw.conf, eg:
Scope(
Host('skunkweb.zunzun.com',
documentRoot='/usr/local/skunkweb/docroot',
compileCacheRoot='/usr/local/skunkweb/docroot',
componentCacheRoot='/usr/local/skunkweb/docroot',
),
)
4. Don't forget the apxs path when compiling skunkweb.
You should be fine,
--JC
--- [email protected] wrote:
> Send Skunkweb-list mailing list submissions to
> [email protected]
>
> To subscribe or unsubscribe via the World Wide Web,
> visit
>
>
https://lists.sourceforge.net/lists/listinfo/skunkweb-list
> or, via email, send a message with subject or body
> 'help' to
> [email protected]
>
> You can reach the person managing the list at
> [email protected]
>
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of Skunkweb-list digest..."
>
>
> Today's Topics:
>
> 1. Gentoo setup Wiki entry ([email protected])
> 2. Re: Gentoo setup Wiki entry (Jacob Smullyan)
>
> --__--__--
>
> Message: 1
> Date: Fri, 4 Feb 2005 09:17:18 -0500
> From: [email protected]
> To: [email protected]
> Subject: [Skunkweb-list] Gentoo setup Wiki entry
>
> Hi,
>
> This is James Phillips of http://zunzun.com,
> I'm considering
> moving zunzun.com from Webware to Skunkweb to take
> advantage of
> multiple processors - or at least multicore
> processors. I'm on
> a Linode Gentoo server, and "emerge skunkweb" worked
> fine and
> the test URL http://localhost:8080 worked fine. The
> demos also
> worked fine *after* I ran "emerge
> dev-python/imaging" to get PIL.
> That made me think a Gentoo-specific install section
> of the Wiki
> would have been handy, with a USE flag for the PIL
> dependency.
>
> The default Gentoo ebuild installs Skunkweb as,
> of course,
> user skunkweb group skunkweb. The Skunkweb install
> documentation
> recommends running as the same user as Apache, but I
> received
> errors only resolved with "emerge sudo". Even then
> I cannot
> make the user apache and the group apache, so I'm
> leaving it
> at user skunkweb group skunkweb for now until I get
> that part
> figured out. Sudo would make a nice Gentoo USE flag
> IMHO.
>
> My present problem is getting Skunkweb
> configured for
> virtual hosts under Apache, where Apache does not
> seem
> to talk to Skunkweb even though my mod_skunkweb
> configuration
> and sw.conf files appear correct per the
> documentation.
>
> Here's what I'd like to ask: if an experienced
> user can
> work with me to resolve the install, I'll make the
> Wiki
> Gentoo install section with all of my notes for you
> all to
> polish up for other newbies like me. Any takers?
>
> James Phillips
> http://zunzun.com
>
>
>
> --__--__--
>
> Message: 2
> Date: Fri, 4 Feb 2005 09:44:48 -0500
> From: Jacob Smullyan <[email protected]>
> To: [email protected]
> Cc: [email protected]
> Subject: Re: [Skunkweb-list] Gentoo setup Wiki entry
>
>
> --X1bOJ3K7DJ5YkBrT
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
>
> Hi James --
>
> I'm glad to help. I use skunkweb on gentoo in
> production situations.
>
> As for the ebuild, adding sudo as a dependency, not
> a USE, might be
> correct because sudo is actually used inside the
> swmgr script; but I
> consider the fact that it is used there an
> embarrassment, and I should
> take it out (I had forgotten about it). Scripts,
> unless they are
> personal scripts, shouldn't decide to call sudo.
> This is part of
> skunkweb's "in-house project" legacy.
>
> Imaging could be a USE flag, definitely, although it
> isn't a biggie.
>
> There is nothing wrong with using the
> skunkweb/skunkweb setup on
> gentoo, actually. You don't need to use any
> particular user/group.
> There may be situations where it matters because
> apache needs to write
> in skunk's directories, or vice versa, but generally
> speaking that
> isn't the case and the docs shouldn't be giving that
> sort of
> misleading advice. Sorry!
>
> Now the question is what is wrong with your apache
> configuration.
> Could you send me some detail?=20
>
> j
>
>
>
> On Fri, Feb 04, 2005 at 09:17:18AM -0500,
> [email protected] wrote:
> > Hi,
> >=20
> > This is James Phillips of http://zunzun.com,
> I'm considering
> > moving zunzun.com from Webware to Skunkweb to take
> advantage of
> > multiple processors - or at least multicore
> processors. I'm on
> > a Linode Gentoo server, and "emerge skunkweb"
> worked fine and
> > the test URL http://localhost:8080 worked fine.
> The demos also
> > worked fine *after* I ran "emerge
> dev-python/imaging" to get PIL.
> > That made me think a Gentoo-specific install
> section of the Wiki
> > would have been handy, with a USE flag for the PIL
> dependency.
> >=20
> > The default Gentoo ebuild installs Skunkweb
> as, of course,
> > user skunkweb group skunkweb. The Skunkweb
> install documentation
> > recommends running as the same user as Apache, but
> I received
> > errors only resolved with "emerge sudo". Even
> then I cannot
> > make the user apache and the group apache, so I'm
> leaving it
> > at user skunkweb group skunkweb for now until I
> get that part
> > figured out. Sudo would make a nice Gentoo USE
> flag IMHO.
> >=20
> > My present problem is getting Skunkweb
> configured for
> > virtual hosts under Apache, where Apache does not
> seem
> > to talk to Skunkweb even though my mod_skunkweb
> configuration
> > and sw.conf files appear correct per the
> documentation.
> >=20
> > Here's what I'd like to ask: if an
> experienced user can
> > work with me to resolve the install, I'll make the
> Wiki
> > Gentoo install section with all of my notes for
> you all to
> > polish up for other newbies like me. Any takers?
> >=20
> > James Phillips
> > http://zunzun.com
> >=20
> >=20
> >=20
>
=== message truncated ===
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl