[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: [K12OSN] Apache userdir not working



> Thanks for all the advise.  I realize that 777 is a really bad idea but
> I'm at home behind a firewall and all that stuff. Here is a more

Well Jack, the problem is not only with the "bad guys" from outside. In
this scenario everybody will be able to write in everybodies home
directories.

> complete stanza from my httpd.conf

Remember to uncomment the line with UserDir and change it to

UserDir enable.

>
> #
>     # UserDir is disabled by default since it can confirm the presence #
> of a username on the system (depending on home directory
>     # permissions).
>     #
>     # UserDir disable
>
>     #
>     # To enable requests to /~user/ to serve the user's public_html #
> directory, remove the "UserDir disable" line above, and uncomment #
> the following line instead:
>     #
>     UserDir public_html
>
> </IfModule>
>
> #
> # Control access to UserDir directories.  The following is an example #
> for a site where these directories are restricted to read-only.
> #
> <Directory /home/*/public_html>
>     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>
>
> I'm not sure how to "show directory contents".  I am sure permissions
> are way overkill.  Its just something simple I'm sure but its eluding
> me.  Pretty much par for the course today.
>
> Jack




-- 
Mensaje analizado en busca de virus y otros
contenidos peligrosos, se considera que está limpio.
MailScanner en la EHT "Perla del Sur".


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]