Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2004 11:00:22 -0800
From:      "Noah" <admin2@enabled.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: .htaccess in subdir of /usr/home/<username>/public_html
Message-ID:  <20040419185532.M9347@enabled.com>
In-Reply-To: <4083D557.2040703@wingfoot.org>
References:  <20040418231354.M545@enabled.com> <40830EC8.2070608@wingfoot.org> <20040419010449.M37374@enabled.com> <40835069.3090108@wingfoot.org> <20040419041439.M56886@enabled.com> <408353A1.8010105@wingfoot.org> <20040419042907.M2237@enabled.com> <4083D557.2040703@wingfoot.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Ok.. first off: Is there a user named "glob" in that .htpasswd file?


Hi,

uppers there is a username glob in that .htpasswd file.

-- snip ---

less /usr/home/<username>/public_html/<subdir>.htpasswd                      
glob:uKRB.ktQoL./I

--- snip --

> 
> Secondly, can you check that you have the module mod_userdir.c 
> loading? In my install from ports of Apache, my userdir directives 
> look like this:
> 
> (Up top with the rest of the modules:)
> LoadModule userdir_module    
>  /usr/local/libexec/apache/mod_userdir.so AddModule mod_userdir.c


thats there in the /usr/local/etc/apache/httpd.conf . Verified that is in fact
the configuration file loaded when apache is executed

-- snip --

LoadModule userdir_module     libexec/apache/mod_userdir.so

--- snip ---

> 
> (Then down in the host/virtualhost directives:)
> <IfModule mod_userdir.c>
>     UserDir public_html
> 


thats there in the /usr/local/etc/apache/httpd.conf

-- snip --

<IfModule mod_userdir.c>
    UserDir public_html
</IfModule>

--- snip ---


> <Directory /home/*/public_html>
>     AllowOverride FileInfo AuthConfig Limit
>     Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
>     <Limit GET POST OPTIONS PROPFIND>
>         Order allow,deny
>         Allow from all
>     </Limit>
>     <LimitExcept GET POST OPTIONS PROPFIND>
>         Order deny,allow
>         Deny from all
>     </LimitExcept>
> 
> </Directory>
> </IfModule>
> 


thats there in the /usr/local/etc/apache/httpd.conf

-- snip --


<Directory /usr/home/*/public_html/>
    AllowOverride FileInfo AuthConfig Limit
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec ExecCGI
    <Limit GET POST OPTIONS PROPFIND>
        Order allow,deny
        Allow from all
    </Limit>
    <LimitExcept GET POST OPTIONS PROPFIND>
        Order deny,allow
        Deny from all
    </LimitExcept>
</Directory>
--- snip ---

Any other ideas?


- Noah


> Best,
> Glenn
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040419185532.M9347>