linux - 404 Not Found - Can't get apache webserver to see UserDir -


so i'm trying set full lamp friends computer, , seems fine installation, can't apache find user's ~/public_html directory. entering localhost, /var/www directory or whatever works fine, success message, entering localhost/~user gives me 404. here's line added in apache2.conf file...

239 # add user directory public_html 240 userdir public_html 

...and here's /etc/apach2/mods-enabled/userdir.conf file....

  1 <ifmodule mod_userdir.c>   2         userdir public_html   3         userdir disabled root   4    5         <directory /home/*/public_html>   6                 allowoverride fileinfo authconfig limit indexes   7                 options multiviews indexes symlinksifownermatch includesnoex    ec   8                 <limit post options>   9                         order allow,deny  10                         allow  11                 </limit>  12                 <limitexcept post options>  13                         order deny,allow  14                         deny  15                 </limitexcept>  16         </directory>  17 </ifmodule>  18  

he's running ubuntu 12.04

~

first guess: maybe mod_userdir not loaded. config not have effect.

look line like

loadmodule userdir_module libexec/apache2/mod_userdir.so 

in config


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -