Update old paths in installation docs. Patch and bug report from
Jens Seidel (jensseidel) in issue 236 * INSTALL * viewvc-install git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1358 8cb11bc2-c004-0410-86c3-e597b4017df7remotes/authz-dev
parent
3fdfabc8ee
commit
dabc194191
14
INSTALL
14
INSTALL
|
@ -118,12 +118,12 @@ installation instructions.
|
|||
then edit the files in <VIEWVC_INSTALLATION_DIRECTORY>/templates.
|
||||
You need knowledge about HTML to edit the templates.
|
||||
|
||||
4) The CGI programs are in <VIEWVC_INSTALLATION_DIRECTORY>/www/cgi/. You can
|
||||
4) The CGI programs are in <VIEWVC_INSTALLATION_DIRECTORY>/bin/cgi/. You can
|
||||
symlink to this directory from somewhere in your published HTTP server
|
||||
path if your webserver is configured to follow symbolic links. You can
|
||||
also copy the installed <VIEWVC_INSTALLATION_DIRECTORY>/www/cgi/*.cgi
|
||||
also copy the installed <VIEWVC_INSTALLATION_DIRECTORY>/bin/cgi/*.cgi
|
||||
scripts after the install (unlike the other files in ViewVC, the scripts
|
||||
under www/ can be moved).
|
||||
under bin/ can be moved).
|
||||
|
||||
If you are using Apache, then see below at the section
|
||||
titled APACHE CONFIGURATION.
|
||||
|
@ -154,21 +154,21 @@ Either METHOD A:
|
|||
into your httpd.conf file. Choose the location in httpd.conf where
|
||||
also the other ScriptAlias lines reside. Some examples:
|
||||
|
||||
ScriptAlias /viewvc /usr/local/viewvc-1.0/www/cgi/viewvc.cgi
|
||||
ScriptAlias /query /usr/local/viewvc-1.0/www/cgi/query.cgi
|
||||
ScriptAlias /viewvc /usr/local/viewvc-1.0/bin/cgi/viewvc.cgi
|
||||
ScriptAlias /query /usr/local/viewvc-1.0/bin/cgi/query.cgi
|
||||
|
||||
continue with step 3).
|
||||
|
||||
or alternatively METHOD B:
|
||||
2) Copy the CGI scripts from
|
||||
<VIEWVC_INSTALLATION_DIRECTORY>/www/cgi/*.cgi
|
||||
<VIEWVC_INSTALLATION_DIRECTORY>/bin/cgi/*.cgi
|
||||
to the /cgi-bin/ directory configured in your httpd.conf file.
|
||||
|
||||
continue with step 3).
|
||||
|
||||
and then there's METHOD C:
|
||||
2) Copy the CGI scripts from
|
||||
<VIEWVC_INSTALLATION_DIRECTORY>/www/cgi/*.cgi
|
||||
<VIEWVC_INSTALLATION_DIRECTORY>/bin/cgi/*.cgi
|
||||
to the directory of your choosing in the Document Root adding the following
|
||||
apache directives for the directory in httpd.conf or an .htaccess file:
|
||||
|
||||
|
|
|
@ -356,4 +356,4 @@ Overview of remaining steps:
|
|||
""" % (
|
||||
os.path.join(ROOT_DIR, 'viewvc.conf'),
|
||||
os.path.join(ROOT_DIR, 'bin', 'cgi', 'viewvc.cgi'),
|
||||
os.path.join(ROOT_DIR, 'standalone.py'))
|
||||
os.path.join(ROOT_DIR, 'bin', 'standalone.py'))
|
||||
|
|
Loading…
Reference in New Issue