Install apache as webserver
aptitude install apache2
squirrelmail
That's really pretty simple. Just install
aptitude install squirrelmail
squirrelmail-configure should help you to set the
main properties. I hope I don't have to mention that you should use
ssl connections else your password isn't save.
ikiwiki
There is a debian package therefor simply
apt-get install ikiwiki
webdav
I am doing a bookmark sync per xmarks plugin for firefox. So I can be
sure that I have the same bookmarks on all my pcs. But I am also
save not to share same with everybody else. I am bit paranoid at
this point. We are using LDAP auth and of course also
ssl here.
a2enmod dav_fs dav authnz_ldap
and here is the relevant part inside my default-ssl
vhost
Alias /webdav /var/www/herkules.example.net/webdav
<Location /webdav>
Options Indexes FollowSymLinks MultiViews
DAV On
AuthType basic
AuthName "WebDAV Directory"
AuthBasicProvider ldap
AuthLDAPURL "ldap://localhost/ou=people,dc=example,dc=net?uid?sub?(objectClass=*)"
AuthLDAPBindDN cn=apache,dc=example,dc=net
AuthLDAPBindPassword "*****"
AuthzLDAPAuthoritative off
require valid-user
</Location>
Similar to the dovecot user I have created an apache user to bind to LDAP which is allowed to read the login data.
gitweb
There is a really good documentation to the topic of providing git access. First let us install gitweb
apt-get install gitweb
and configure apache to serve gitweb with an alias in the
default-ssl site
Alias /gitweb.css /usr/share/gitweb/gitweb.css
Alias /gitweb.js /usr/share/gitweb/gitweb.js
Alias /git-favicon.png /usr/share/gitweb/git-favicon.png
Alias /git-logo.png /usr/share/gitweb/git-logo.png
ScriptAlias /git /usr/lib/cgi-bin/gitweb.cgi
<Location /git>
AuthType basic
AuthName "GIT Server"
AuthBasicProvider ldap
AuthLDAPURL "ldap://localhost/ou=people,dc=example,dc=net?uid?sub?(objectClass=*)"
AuthLDAPBindDN cn=apache,dc=example,dc=net
AuthLDAPBindPassword "*****"
AuthzLDAPAuthoritative off
require valid-user
</Location>
I have secured the acces for valid-user only. If you want to
provide the gitweb access public feel free to do so. What is left
is to edit the file /etc/gitweb which contains the
configuration variables.
<- Previous | Home | Next ->