You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mike Dewhirst <mi...@dewhirst.com.au> on 2005/07/25 06:05:29 UTC
[users@httpd] mod_python stops subversion
I got a hint from the subversion list that I could maybe post this here.
Any advice appreciated.
Overview
I just added mod_python to apache2 and my subversion repositories are no
longer accessible via TortoiseSVN. Update returns the following error ...
PROPFIND request failed on '/repos/xfiles/wip95'
PROPFIND of '/repos/xfiles/wip95': Could not read status line:
connection was closed by server. (http://svn.domain.com)
I can remove the offending module and everything works again.
Questions
1. Is it possible for Apache to serve both?
2. If so, where do I start looking for help?
Thanks
Mike
Information (sorry for the verbosity)
Server
SuSE 9.1
Subversion 1.1.3-7.1
Apache 2.0.53-5.1
mod_python 3.1.3-37.6
SuSE claims all package dependencies are OK
Client
Windows XP Pro SP1 and fully updated (except for SP2)
TortoiseSVN 1.1.5, Build 2990, UNICODE
Subversion 1.1.4,
apr 0.9.5
apr-iconv 0.9.5
apr-utils 0.9.5
berkeley db 4.2.52
neon 0.24.7
OpenSSL 0.9.7e 25 Oct 2004
zlib 1.2.2
Here is the bit I edit to add or remove mod_python ...
<etc/sysconfig/apache2>
# 05724 -> removed last module in list - php4
# 05724 -> apppended python
APACHE_MODULES="access actions alias auth auth_dbm autoindex cgi dav
dav_svn authz_svn dir env expires include log_config mime negotiation
setenvif ssl suexec userdir python"
</etc/sysconfig/apache2>
When it is added this is written by Apache ...
<etc/apache2/sysconfig.d/loadmodule.conf>
#
# Files in this directory are created at apache start time by
/usr/sbin/rcapache2.
# Do not edit them!
#
# as listed in APACHE_MODULES (/etc/sysconfig/apache2)
LoadModule access_module
/usr/lib/apache2-prefork/mod_access.so
LoadModule actions_module
/usr/lib/apache2-prefork/mod_actions.so
LoadModule alias_module
/usr/lib/apache2-prefork/mod_alias.so
LoadModule auth_module
/usr/lib/apache2-prefork/mod_auth.so
LoadModule auth_dbm_module
/usr/lib/apache2-prefork/mod_auth_dbm.so
LoadModule autoindex_module
/usr/lib/apache2-prefork/mod_autoindex.so
LoadModule cgi_module
/usr/lib/apache2-prefork/mod_cgi.so
LoadModule dav_module
/usr/lib/apache2-prefork/mod_dav.so
LoadModule dav_svn_module /usr/lib/apache2/mod_dav_svn.so
LoadModule authz_svn_module /usr/lib/apache2/mod_authz_svn.so
LoadModule dir_module
/usr/lib/apache2-prefork/mod_dir.so
LoadModule env_module
/usr/lib/apache2-prefork/mod_env.so
LoadModule expires_module
/usr/lib/apache2-prefork/mod_expires.so
LoadModule include_module
/usr/lib/apache2-prefork/mod_include.so
LoadModule log_config_module
/usr/lib/apache2-prefork/mod_log_config.so
LoadModule mime_module
/usr/lib/apache2-prefork/mod_mime.so
LoadModule negotiation_module
/usr/lib/apache2-prefork/mod_negotiation.so
LoadModule setenvif_module
/usr/lib/apache2-prefork/mod_setenvif.so
LoadModule ssl_module
/usr/lib/apache2-prefork/mod_ssl.so
LoadModule suexec_module
/usr/lib/apache2-prefork/mod_suexec.so
LoadModule userdir_module
/usr/lib/apache2-prefork/mod_userdir.so
LoadModule python_module /usr/lib/apache2/mod_python.so
#
</etc/apache2/sysconfig.d/loadmodule.conf>
Here is the result after restarting Apache ...
<error_log>
[Mon Jul 25 12:11:46 2005] [warn] Init: Session Cache is not configured
[hint: SSLSessionCache]
[Mon Jul 25 12:11:46 2005] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec2)
[Mon Jul 25 12:11:47 2005] [notice] mod_python: Creating 32 session
mutexes based on 150 max processes and 0 max threads.
[Mon Jul 25 12:11:47 2005] [notice] Apache/2.0.53 (Linux/SUSE)
configured -- resuming normal operations
# and when trying to update a working copy via TortoiseSVN
[Mon Jul 25 12:15:57 2005] [notice] child pid 3110 exit signal
Segmentation fault (11)
</error_log>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] mod_python stops subversion
Posted by Mike Dewhirst <mi...@dewhirst.com.au>.
Joshua Slive wrote:
> On 7/25/05, Mike Dewhirst <mi...@dewhirst.com.au> wrote:
>
>>I got a hint from the subversion list that I could maybe post this here.
>>Any advice appreciated.
>>
>>Overview
>>
>>I just added mod_python to apache2 and my subversion repositories are no
>>longer accessible via TortoiseSVN. Update returns the following error ...
>>
>>PROPFIND request failed on '/repos/xfiles/wip95'
>>PROPFIND of '/repos/xfiles/wip95': Could not read status line:
>>connection was closed by server. (http://svn.domain.com)
>>
>>I can remove the offending module and everything works again.
>
>
>>[Mon Jul 25 12:15:57 2005] [notice] child pid 3110 exit signal
>>Segmentation fault (11)
>
>
> Well, this means there is definitely a bug someplace. The easiest way
> to find it would be to find the core dump (see the CoreDumpDirectory
> directive)
Having checked the docs I decided to make it /var/log/apache2/coredump
and put the directive at the end of httpd.conf.
I noticed that the log directory is owned by root and the group is root
as well. The logs themselves are rw-r--r--. They contain data so does
this mean Apache writes its logs with root privileges?
/etc/apache2/uid.conf indicates wwwrun and www as the userid and group
and the first directive in httpd.conf is Include /etc/apache2/uid.conf.
Does this mean something is broken?
>
> and get a backtrace to see who is at fault.
Should I (I'll try it) include mod_backtrace in the list of modules?
Thanks
Mike
>
> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] mod_python stops subversion
Posted by Joshua Slive <js...@gmail.com>.
On 7/25/05, Mike Dewhirst <mi...@dewhirst.com.au> wrote:
> I got a hint from the subversion list that I could maybe post this here.
> Any advice appreciated.
>
> Overview
>
> I just added mod_python to apache2 and my subversion repositories are no
> longer accessible via TortoiseSVN. Update returns the following error ...
>
> PROPFIND request failed on '/repos/xfiles/wip95'
> PROPFIND of '/repos/xfiles/wip95': Could not read status line:
> connection was closed by server. (http://svn.domain.com)
>
> I can remove the offending module and everything works again.
>
> [Mon Jul 25 12:15:57 2005] [notice] child pid 3110 exit signal
> Segmentation fault (11)
Well, this means there is definitely a bug someplace. The easiest way
to find it would be to find the core dump (see the CoreDumpDirectory
directive) and get a backtrace to see who is at fault.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
[users@httpd] Re: need help w/Apache redirect
Posted by Joost de Heer <sa...@xs4all.nl>.
> We have tried the following in httpd.conf and no joy (with and w/o
> 'index.jsp')
>
> <VirtualHost specific-app.berkeley.edu>
How does your NameVirtualHost look like? If it's NameVirtualHost *:80,
your VirtualHost line should also be '<VirtualHost *:80>', and inside it
you should use ServerName.
Joost
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] need help w/Apache redirect
Posted by Joshua Slive <js...@gmail.com>.
On 8/4/05, Robert F Hall <rf...@berkeley.edu> wrote:
> This *should* be simple, but is not working for us.
>
> We are using Apache 1.3.27.
>
> We are trying to redirect requests to a particualr host name (an alias) to
> the real host name and a specific URL. For example, if
> http://specific-app.berkeley.edu is requested, we need it to be
> redirected
> to http://hostname.berkeley.edu/specific-context/index.jsp
>
> We have tried the following in httpd.conf and no joy (with and w/o
> 'index.jsp')
Your virtual host config does not follow the docs. Try starting here:
http://httpd.apache.org/docs/1.3/misc/FAQ.html#canonical-hostnames
and
http://httpd.apache.org/docs/2.0/vhosts/name-based.html
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] need help w/Apache redirect
Posted by Craig Dunigan <cd...@doit.wisc.edu>.
On Thu, 4 Aug 2005, Robert F Hall wrote:
> This *should* be simple, but is not working for us.
>
> We are using Apache 1.3.27.
>
> We are trying to redirect requests to a particualr host name (an alias) to
> the real host name and a specific URL. For example, if
> http://specific-app.berkeley.edu is requested, we need it to be
> redirected
> to http://hostname.berkeley.edu/specific-context/index.jsp
>
> We have tried the following in httpd.conf and no joy (with and w/o
> 'index.jsp')
>
> <VirtualHost specific-app.berkeley.edu>
> RedirectMatch /$
> http://hostname.berkeley.edu/specific-context/index.jsp
> Redirect /index.jsp
> http://hostname.berkeley.edu/specific-context/index.jsp
> Redirect /index.html
> http://hostname.berkeley.edu/specific-context/index.jsp
> </VirtualHost>
>
> Thanks,
> Robert
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
Isn't this better handled by setting this VirtualHost's DocumentRoot
to <path-to-specific-content> and DirectoryIndex to 'index.jsp'? Then
you don't buy the extra overhead of a redirect.
--
Craig Dunigan
IS Technical Services Specialist (I don't know what it means, either)
Middleware - Enterprise Info Systems - Department of Info Technology
University of Wisconsin, Madison
opinions expressed are my own, not the University's
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
[users@httpd] need help w/Apache redirect
Posted by Robert F Hall <rf...@berkeley.edu>.
This *should* be simple, but is not working for us.
We are using Apache 1.3.27.
We are trying to redirect requests to a particualr host name (an alias) to
the real host name and a specific URL. For example, if
http://specific-app.berkeley.edu is requested, we need it to be
redirected
to http://hostname.berkeley.edu/specific-context/index.jsp
We have tried the following in httpd.conf and no joy (with and w/o
'index.jsp')
<VirtualHost specific-app.berkeley.edu>
RedirectMatch /$
http://hostname.berkeley.edu/specific-context/index.jsp
Redirect /index.jsp
http://hostname.berkeley.edu/specific-context/index.jsp
Redirect /index.html
http://hostname.berkeley.edu/specific-context/index.jsp
</VirtualHost>
Thanks,
Robert
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org