Created
May 21, 2009 20:19
-
-
Save goozbach/115707 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ScriptAlias /git/gitweb.cgi /srv/git/static-files/gitweb.cgi | |
ScriptAlias /git/gw /srv/git/static-files/gitweb.cgi | |
Alias /git/ /srv/git/ | |
<Directory /srv/git/> | |
options followsymlinks indexes | |
order allow,deny | |
allow from all | |
# anything under /git/gw is treated as a gitweb paramater | |
RewriteEngine On | |
RewriteRule ^/git/gw/(.+)$ /git/gitweb.cgi?$1 [PT,L,QSA] | |
</directory> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment