View Single Post

  #4 (permalink)  
Old 06-28-2006
faxe
 
Posts: n/a
Default Re: "public_html" for each user don"t work.

pom2001 napisał(a):
> I config again that show below but still problem.
>
> <Directory /home/*/public_html>


you mean: <Directory ~"/home/[^/]+/public_html">

Check for documentation:
http://httpd.apache.org/docs/2.0/mod...html#directory

> AllowOverride FileInfo AuthConfig Limit
> Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
> <Limit GET POST OPTIONS>
> Order allow,deny
> Allow from all
> </Limit>
> # <LimitExcept GET POST OPTIONS>
> # Order deny,allow
> # Deny from all
> # </LimitExcept>
> </Directory>
>
> How to solve ?


Does your Apache has the right to access 'public_html' folders? Check,
if users' homedirectories have at least 0711 mode. And another thing:

http://httpd.apache.org/docs/2.0/mod...#allowoverride
"Only available in <Directory> sections
AllowOverride is valid only in <Directory> sections specified without
regular expressions, not in <Location>, <DirectoryMatch> or <Files>
sections."

So you'll have to put something like:

<Directory /home>
AllowOverride FileInfo AuthConfig Limit
</Directory>

either.