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

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -