URL Mapping - ApacheCon 2005
mod_userdir and public_html
  • URLs that begin with ~ (tilde) map to that user's directory

    
     http://www.uky.edu/~rbowen/
    
      

  • UserDir specifies where that home directory is supposed to be

    
     # Serve files out of /home/username/public_html
     UserDir public_html
    
      
    
     # Serve files out of somewhere else
     UserDir /www/users/*/htdocs
    
      

Index
Back to mod_rewrite examples (2)
Forward to UserDir caveats

ApacheCon 2005 : URL Mapping - Slide #40 of 45