You are not logged in.

#1 2005-06-07 18:54:09

RedShift
Member
From: Belgium
Registered: 2004-07-16
Posts: 230

Apache: userdirs available on all hosts??

Hello,

I've configured usersdirs like this:

<VirtualHost *>
        ServerName users.opengate.be
        ServerAdmin glenn@opengate.be
        DocumentRoot /home/glenn/sites/opengate.be/users/public_html
        ErrorLog /home/glenn/sites/opengate.be/users/logs/error.log
        CustomLog /home/glenn/sites/opengate.be/users/logs/access.log combined

        UserDir /home/*/public_html

        <Directory /home/*/public_html>
                AllowOverride All
        </Directory>

        <Directory /home/*/public_html/cgi-bin>
                Options +ExecCGI
                AddHandler cgi-script .cgi
        </Directory>
</VirtualHost>

The problem is that the userdirs are not only accessible from users.opengate.be, but also from all other hosts hosted on my server! Is this standard UNIX behaviour? The windows version doesn't do this.


:?

Offline

#2 2005-06-08 12:17:03

mercy
Member
Registered: 2004-04-24
Posts: 62

Re: Apache: userdirs available on all hosts??

... not only accessible from users.opengate.be ..

i guess that means
users.opengate.be/testuser/index.html works but also
some.other.virtualhost.domain/testuser/index.html too ..?

well apach is somehow voodoo roll  .. i guess its something easy like..: you forgot to forbid the generall access

Offline

#3 2005-06-08 14:45:49

RedShift
Member
From: Belgium
Registered: 2004-07-16
Posts: 230

Re: Apache: userdirs available on all hosts??

mercy wrote:

... not only accessible from users.opengate.be ..

i guess that means
users.opengate.be/testuser/index.html works but also
some.other.virtualhost.domain/testuser/index.html too ..?

well apach is somehow voodoo roll  .. i guess its something easy like..: you forgot to forbid the generall access

No, users.opengate.be/~glenn is also accessible from for example
http://213.193.228.197/~glenn, altough I didn't configure it that way.


:?

Offline

#4 2005-06-08 15:20:09

mercy
Member
Registered: 2004-04-24
Posts: 62

Re: Apache: userdirs available on all hosts??

post your httpd.conf please... without comments ;-)

Offline

Board footer

Powered by FluxBB