Subject: The mailing list for listmasters using Sympa
List archive
[sympa-users] wwsympa setup with apache2 virtualhosts on Fedora Core 4?
- From: Troy Davis <address@concealed>
- To: address@concealed
- Subject: [sympa-users] wwsympa setup with apache2 virtualhosts on Fedora Core 4?
- Date: Thu, 14 Jun 2007 11:12:14 -0400
Hello,
Before I get too far, is there an IRC channel that sympa users congregate on?
I've been trying to get wwsympa working on a Fedora Core 4 machine. Right now I'm getting a 403 error when attempting to access the Web interface. The server logs say "(13)Permission denied: access to / denied". Sympa is installed and running, here's the config statement I used:
./configure \
--prefix=/usr/local/sympa-stable \
--with-bindir=/usr/local/sympa-stable/bin \
--with-sbindir=/usr/local/sympa-stable/sbin \
--with-libexecdir=/usr/local/sympa-stable/bin \
--with-cgidir=/usr/local/sympa-stable/bin \
--with-iconsdir=/usr/local/sympa-stable/icons \
--with-datadir=/usr/local/sympa-stable/bin/etc \
--with-expldir=/usr/local/sympa-stable/expl \
--with-libdir=/usr/local/sympa-stable/bin \
--with-docdir=/usr/local/sympa-stable/doc \
--with-piddir=/usr/local/sympa-stable \
--with-etcdir=/usr/local/sympa-stable/etc \
--with-localedir=/usr/local/sympa-stable/locale \
--with-scriptdir=/usr/local/sympa-stable/script \
--with-sampledir=/usr/local/sympa-stable/sample \
--with-spooldir=/usr/local/sympa-stable/spool \
--with-openssl=/usr/bin/openssl \
--with-user=sympa \
--with-group=sympa
The server runs sympa as a separate virtualhost, here's the relevant portions of httpd.conf (the first virtualhost is a mod_perl app):
PerlSwitches -I/var/www/myapp/lib
PerlModule myapp
PerlSetEnv HOSTNAME myapp.company.com
<VirtualHost *:80>
# PerlModule Apache2::Reload
# PerlInitHandler Apache2::Reload
ServerName myapp.company.com
DocumentRoot /var/www/myapp/root
SetEnv HOSTNAME myapp.company.com
<Location />
SetHandler modperl
PerlResponseHandler myapp
</Location>
</VirtualHost>
#FastCgiWrapper /usr/sbin/suexec
#FastCgiIpcDir /tmp/fastcgi
#FastCgiServer /usr/local/sympa-stable/bin/wwsympa.fcgi -processes 3 - idle-timeout 120
<VirtualHost *:80>
LogLevel debug
SuexecUserGroup sympa sympa
ServerName sympa.company.com
DocumentRoot /usr/local/sympa-stable/bin
AddHandler fastcgi-script fcgi
Alias /static-sympa /usr/local/sympa-stable/static_content
ScriptAlias / /usr/local/sympa-stable/bin/wwsympa.fcgi
<Directory /usr/local/sympa-stable/bin>
Options +ExecCGI
</Directory>
<Location />
AddDefaultCharset UTF-8
</Location>
</VirtualHost>
User and Group are set to apache near the top of httpd.conf, of course.
I'm puzzled as to what I should do to get this working. Should I change ownership / permissions on sympa's files? I'd like to avoid running another instance of apache if possible, that sounds messy. Apache2 doesn't allow the use of the User or Group directives in VirtualHosts, so I'm not sure what to do.
Any pointers would be greatly appreciated.
Thank You,
Troy
-
[sympa-users] wwsympa setup with apache2 virtualhosts on Fedora Core 4?,
Troy Davis, 06/14/2007
- [sympa-users] Re: wwsympa setup with apache2 virtualhosts on Fedora Core 4?, David Verdin, 06/18/2007
-
[sympa-users] Re: wwsympa setup with apache2 virtualhosts on Fedora Core 4?,
Olivier Salaün, 06/19/2007
-
[sympa-users] Re: Re: wwsympa setup with apache2 virtualhosts on Fedora Core 4?,
Stefan Hornburg, 06/19/2007
- [sympa-users] Re: Re: Re: wwsympa setup with apache2 virtualhosts on Fedora Core 4?, Olivier Salaün - CRU, 06/19/2007
-
[sympa-users] Re: Re: wwsympa setup with apache2 virtualhosts on Fedora Core 4?,
Stefan Hornburg, 06/19/2007
Archive powered by MHonArc 2.6.19+.