Hello there
I have a little problem to configure apache with cgit. So far it works with:
but if i change the root from /cgit to / it works… but the server cant retrieve the cgit.png and the cgit.css . Therefore it fully functional, but text-only.
Any idea what i could do wrong?
Here are the configs:
(if changing ScriptAlias and virtual-root to /cgit or anything else, then it works again)
vhost
ScriptAlias / "/usr/lib/cgit/cgit.cgi/"
Alias "/favicon.ico" "/usr/share/webapps/cgit/favicon.ico"
Alias "/robots.txt" "/usr/share/webapps/cgit/robots.txt"
Alias "/cgit.png" "/usr/share/webapps/cgit/cgit.png"
Alias "/cgit.css" "/usr/share/webapps/cgit/cgit.css"
<Directory "/usr/share/webapps/cgit/">
AllowOverride None
Options None
Order allow,deny
Allow from all
Require all granted
</Directory>
<Directory "/usr/lib/cgit/">
AllowOverride None
Options ExecCGI FollowSymlinks
Order allow,deny
Allow from all
Require all granted
</Directory>
<Directory "/srv/git">
Allow from all
</Directory>
/etc/cgitrc
css=/cgit.css
logo=/cgit.png
virtual-root=/
Any help is appreciated… thanks