Enable apache mod_userdir on Debian

Today I wanted to enable mod_userdir for apache2 on Debian 5.0 (Lenny).
Here's what I did:
# sudo cp /etc/apache2/mods-available/userdir* /etc/apache2/mods-enabled/
# sudo /etc/init.d/apache2 restart
That was easy! The userdir.conf was already set-up to disable this feature for user root and to serve files from /home/*/public_html so to test that it works I did:
# mkdir ~/public_html
# echo yay! > ~/public_html/index.html
and then typed http://mysite.com/~jah/ into my web browser to check that the index file was served. yay!

1 Comment

Thanks. It works!

Leave a comment

Recent Entries

  • The TCP/IP Guide - Greasemonkey Userscript

    jah has written a greasemonkey userscript to fix the page layout for The TCP/IP Guide free online edition - it's very simple, but it took him ages!...

  • PicaVue

    jah has begun work on an open source javascript gallery to display his Picasa Web Albums - it's called PicaVue...

  • Nmap 5 - An Introduction

    The newest version of Nmap - Nmap 5.00 - is now available for download and is the best Nmap ever. This is a short introduction to Nmap and the Nmap family of tools: Zenmap; Ncat and Ndiff which are included with this latest release....

  • Nmap 4.85BETA5 and Conficker detection

    Nmap 4.85BETA5 is now available and is able to remotely and anonymously detect hosts compromised with Conficker (downadup, kido) using an NSE script....

  • Install BackTrack 4 beta on VMware 5.5.x from the ISO image

    Here are the steps required to create a new VMware virtual machine on which to install BackTrack 4 beta from the ISO image...