Apache UserDir in CentOS 7

Quick steps to set it up (I assume you have apache installed):

  1. login as root
  2. edit userdir.conf

  3. restart Apache
  4. setup your directory
    as normal user enter:
  5. if you use SELinux as root enter:
  6. create simple html page

    enter this:
  7. change ownership of file
  8. start your browser and enter this address:


    and voila! 😉

1 thought on “Apache UserDir in CentOS 7

  1. Duane

    Thanks for the article, Dominik! The selinux commands that you included helped me to finally resolve my problem


Leave a Reply

Your email address will not be published. Required fields are marked *