Dear All,
It is very pleasant for documentation purposes to have clean urls, I
found on the web a apache2 configuration which should be added to the
cgit distribution for people who run apache and just copy-paste the
configuration:
# cgit setup for Apache that results in completely clean URLs, ie.
# visiting http://git.example.org/ will produce the cgit index page
<VirtualHost *>
# this part is stand fare
ServerName git.example.org
DocumentRoot /var/www/htdocs/cgit/
<Directory "/var/www/htdocs/cgit/">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
# this part is the magic
Alias /cgit.png /var/www/htdocs/cgit/cgit.png
Alias /cgit.css /var/www/htdocs/cgit/cgit.css
Alias / /var/www/htdocs/cgit/cgit.cgi/
</VirtualHost>
Kind regards,
Jerry Jacobs
- http://xor-gate.org
_______________________________________________
cgit mailing list
[email protected]
http://hjemli.net/mailman/listinfo/cgit