Update of /cvsroot/lxr/lxr
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17194
Modified Files:
INSTALL
Added Files:
.htaccess_cgi
Log Message:
apache configuration for cgi
--- NEW FILE: .htaccess_cgi ---
Options Indexes ExecCGI FollowSymlinks
order deny,allow
<Files lxr.conf>
deny from all
</Files>
<Files lib>
deny from all
</Files>
<Files ~ (find|search|source|ident|diff|cgi-bin)$>
SetHandler cgi-script
ForceType text/html
</Files>
Index: INSTALL
===================================================================
RCS file: /cvsroot/lxr/lxr/INSTALL,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- INSTALL 19 Jul 2004 17:56:43 -0000 1.14
+++ INSTALL 19 Jul 2004 18:16:35 -0000 1.15
@@ -199,6 +199,10 @@
The distribution contains a .htaccess file set up to ensure that lxr
will work. Edit it if you have special local policies.
+If you are using Apache without mod_perl (running scripts as CGI),
+instead of 'Alias' in httpd.conf use 'ScriptAlias'. Also, delete
+.htaccess and rename .htaccess_cgi to .htaccess.
+
That's it - lxr should now work. Fire up your webbrowser and go to
http://yoursite/lxr/source and you should see the listing for the top
of your source tree.
|