Re: Skunkweb-list digest, Vol 1 #387 - 2 msgs Virtual Host under apache
"Sterling Michel" <[email protected]>
| Newsgroups | gmane.comp.web.skunkweb |
|---|---|
| Message-ID | <[email protected]> |
Hey James here is sample httpd configuration currenly use in one of my server
that should fix your problem. Giving that your skunkweb module and sw.conf are
loaded correctly then this should do the magic.
--Sterling
<VirtualHost *>
ServerName deent.com
ServerAlias www.myhost.com
ServerAlias brokers.myhost.com
User smichel
Group smichel
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined
CustomLog /home/smichel/myhost.com/logs/access.log combined
Errorlog /home/smichel/myhost.com/logs/error.log
DocumentRoot /home/smichel/myhost.com/htdocs
RewriteEngine on
RewriteRule ^/static/(.*) /home/smichel/myhost.com/static/$1
RewriteRule ^/webstat/(.*) /home/smichel/myhost.com/webstat/$1
<Location />
SetHandler skunkweb-handler
</Location>
<Location /static/>
SetHandler default-handler
</Location>
<Location /webstat/>
SetHandler default-handler
</Location>
SkunkWebSocketAddress /home/smichel/myhost.com/skunkweb/skunkweb.soc
SkunkWebRetries 3
SkunkWebErrorDoc
/home/smichel/deent.com/skunkweb/share/skunk/modskunkweb_error.html
SkunkWebErrorEmails smichel@localhost
</VirtualHost>
[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
> > -------------------------------------------------------
> > 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
> > _______________________________________________
> > Skunkweb-list mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/skunkweb-list
> >=20
>
> --=20
> Jacob Smullyan
>
> --X1bOJ3K7DJ5YkBrT
> Content-Type: application/pgp-signature
> Content-Disposition: inline
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
>
> iD8DBQFCA4pguqamFyFXXLIRAhBzAKDHpUfFhEUqEe7c/9A5Knbxn90vKACgtaNz
> Tpc9/h8zNMndFhwO3Bhq0LU=
> =w/cb
> -----END PGP SIGNATURE-----
>
> --X1bOJ3K7DJ5YkBrT--
>
>
>
> --__--__--
>
> _______________________________________________
> Skunkweb-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/skunkweb-list
>
>
> End of Skunkweb-list Digest
>
-------------------------------------------------------
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