Subject: | 500 internal server - (can't find script in %1) |
Setting up Apache 1.3 for mod_perl as per
http://search.cpan.org/~nikc/SVN-Web/lib/SVN/Web.pm
It would display a repository ok. But I get an "[error] (can't find
script in %1)" in my apache error log everytime i click on a repo. In
the browser, I get a internal server error 500.
[Wed Jun 28 01:22:55 2006] [error] (can't find script in %1)
[Wed Jun 28 01:23:14 2006] [error] (can't find script in %1)
[Wed Jun 28 01:23:29 2006] [error] (can't find script in %1)
[Wed Jun 28 01:24:55 2006] [error] (can't find script in %1)
[Wed Jun 28 01:25:07 2006] [error] (can't find script in %1)
[Wed Jun 28 01:25:10 2006] [error] (can't find script in %1)
The following is the only thing I changed in the entire setup. If I
changed the PerlHandler from SVN::Web to Apache::Registry, the 500
internal server goes away and the scripts works wonderfully.
here my apache 1.3.x conf portion:
<Directory /var/www/svnweb>
#PerlHandler SVN::Web
PerlHandler Apache::Registry
SetHandler perl-script
Options +ExecCGI
</Directory>
<Directory /var/www/svnweb/css>
SetHandler default-handler
</Directory>
System Info:
SVN::Web 0.47
Kernel 2.6.15-25-k7 (ubuntu dapper 6.06)
Perl 5.8.7
Subject: | config.yaml |
# Actions, and the classes that implement them.
actions:
browse:
class: SVN::Web::Browse
checkout:
class: SVN::Web::Checkout
diff:
class: SVN::Web::Diff
list:
class: SVN::Web::List
log:
class: SVN::Web::Log
revision:
class: SVN::Web::Revision
rss:
class: SVN::Web::RSS
view:
class: SVN::Web::View
# Suggested minimum filters to run log messages through. Note that
# it is not fatal if one of these filters is not installed.
log_msg_filters:
- name: standard
filter: html
- name: standard
filter: html_line_break
# If you have Template::Plugin::Clickable or
# Template::Plugin::Clickable::Email installed then these are very
# useful too.
#
# To use them, delete this comment block, remove the comments from the
# start of the next lines, and make sure they follow on immediately
# from the last non-blank line above.
# - name: Clickable
# filter: clickable
# - name: Clickable::Email
# filter: filter
# set your repository path below:
#
#repos:
# test: '/tmp/svnweb-test'
# test2: '/tmp/svnweb-test2'
repos:
repo1: '/svn'
#
# or a parent path contains repositories
#
#reposparent: '/path/to/repositories'
#
# if you set a parent you can block specific repositories
# like this:
#
#block:
# - 'blocked1'
# - 'blocked2'
#