SOURCES: apache-mod_userdir.conf - our users sit deeper in home

Jarosław Kamper jack at jack.eu.org
Sat Dec 24 15:03:22 CET 2005


Dnia sobota, 24 grudnia 2005 14:56, Tomasz Pala napisał:
> On Sat, Dec 24, 2005 at 15:42:59 +0200, Elan Ruusamäe wrote:
> > > -<Directory /home/*/public_html>
> > > +<Directory /home/users/*/public_html>
>
> [...]
>
> > if it did work earlier (i believe '*' spans accros directory
> > separators), then
>
> It did.

So, probably my apache-2.2.0-4 is not registered or something ;)

[jack at pldworkstation ~]$ lynx --dump -nolist http://localhost/~jack/m/

                               Index of /~jack/m

 Icon   Name                    Last modified      Size  Description
  
__________________________________________________________________________
 [DIR]  Parent Directory                             -
 [DIR]  kursphp2/               21-Sep-2001 09:12    -
  
__________________________________________________________________________


    Apache/2.2.0 (Unix) mod_ssl/2.2.0 OpenSSL/0.9.7i PHP/5.1.1 Server at
    localhost Port 80

[jack at pldworkstation ~]$ sudo sed -i 
's@/home/users@/home@' /etc/httpd/conf.d/16_mod_userdir.conf

[jack at pldworkstation ~]$ sudo /etc/rc.d/init.d/httpd reload
Checking httpd.prefork configuration...............................
[ ZROBIONE ]
Przeładowanie usługi httpd.prefork.................................
[ ZROBIONE ]

[jack at pldworkstation ~]$ lynx --dump -nolist http://localhost/~jack/m/

                               Access forbidden!

   You  don't have permission to access the requested directory. There is
   either no index document or the directory is read-protected.

   If you think this is a server error, please contact the webmaster.

Error 403


    localhost
    Apache/2.2.0 (Unix) mod_ssl/2.2.0 OpenSSL/0.9.7i PHP/5.1.1

[jack at pldworkstation ~]$ sudo sed -i 
's@/home@/home/users@' /etc/httpd/conf.d/16_mod_userdir.conf

[jack at pldworkstation ~]$ sudo /etc/rc.d/init.d/httpd reload
Checking httpd.prefork configuration...............................
[ ZROBIONE ]
Przeładowanie usługi httpd.prefork.................................
[ ZROBIONE ]

[jack at pldworkstation ~]$ lynx --dump -nolist http://localhost/~jack/m/

                               Index of /~jack/m

 Icon   Name                    Last modified      Size  Description
  
__________________________________________________________________________
 [DIR]  Parent Directory                             -
 [DIR]  kursphp2/               21-Sep-2001 09:12    -
  
__________________________________________________________________________


    Apache/2.2.0 (Unix) mod_ssl/2.2.0 OpenSSL/0.9.7i PHP/5.1.1 Server at
    localhost Port 80


-- 
Jarosław Kamper <jack at jack.eu.org>


More information about the pld-devel-en mailing list