Skip to content

Instantly share code, notes, and snippets.

@aceqbaceq
Created October 15, 2017 07:30
Show Gist options
  • Save aceqbaceq/8079038a98e54663d0607a6a0391c543 to your computer and use it in GitHub Desktop.
Save aceqbaceq/8079038a98e54663d0607a6a0391c543 to your computer and use it in GitHub Desktop.
<VirtualHost *:81>
ServerName gitserver
DocumentRoot /var/www/gitweb
<Directory /var/www/gitweb>
Options +ExecCGI +FollowSymLinks +SymLinksIfOwnerMatch
AllowOverride All
order allow,deny
Allow from all
AddHandler cgi-script cgi
DirectoryIndex gitweb.cgi
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment