[viewvc-users] Apache config error - Invalid command '[templates]'...

Dan Stover <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <[email protected]>
I'm trying to configure ViewVC 1.1.5 on Apache 2.2.3 to view multiple repositories.  I've followed all the examples and exhausted all searches I can think of for help with this error.  

Syntax error on line 1 of /etc/httpd/conf.d/viewvc.conf:
Invalid command '[templates]', perhaps misspelled or defined by a module not included in the server configuration

Can someone tell me what I'm doing wrong?

I added these lines to my httpd.conf file:

ScriptAlias /viewvc "//etc/opt/CollabNet_Subversion/cgi-bin/viewvc.cgi"
ScriptAlias /query "//etc/opt/CollabNet_Subversion/cgi-bin/query.cgi"


Here's the full text of my viewvc.conf file:

[templates]

[vhosts]

[general]
root_parents = /home/svn/repositories : svn
#root_parents = /home/svn/repositories : svn, /home/svn/OLD : svn
default_root = svn
mime_types_file = /etc/opt/CollabNet_Subversion/conf/mime.types
languages = en-us
svn_path = /opt/CollabNet_Subversion/bin/
address = <a href="deleted</a>
forbiddenre = 
use_rcsparse = 0
forbidden = 
kv_files = 

[options]
http_expiration_time = 600
sort_group_dirs = 1
diff_format = h
hide_attic = 1
allow_markup = 1
show_subdir_lastmod = 0
use_highlight = 0
hide_cvsroot = 1
allow_tar = 0
hr_breakable = 1
cvsgraph_conf = cvsgraph.conf
show_log_in_markup = 1
cvsgraph_path = 
default_file_view = log
hr_ignore_white = 1
use_cvsgraph = 0
py2html_path = .
cross_copies = 1
hr_funout = 0
highlight_line_numbers = 1
use_localtime = 0
root_as_url_component = 1
short_log_len = 80
checkout_magic = 0
use_re_search = 0
allow_compress = 1
limit_changes = 100
use_php = 0
highlight_convert_tabs = 2
show_logs = 1
allow_annotate = 1
template_dir = /etc/opt/CollabNet_Subversion/default-site/viewvc
use_enscript = 0
use_pagesize = 0
sort_by = file
enscript_path = 
hr_intraline = 0
php_exe_path = php
generate_etags = 1
hr_ignore_keyword_subst = 1
log_sort = date

[cvsdb]
enabled = 0

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2513268

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.