apache config problem

topic posted Wed, April 19, 2006 - 10:36 AM by  Ruku
original thread: www.vbforums.com/showthread.php

Greetings people...

First off, sorry if this is in the wrong section, but I couldn't figure where to put my thread, move if needed...

I just bought a domain of one & one (great deal 7$ domain)... and I don't think you can enable a wildcard (*.mydomain.com) through them... which I usually used with apache.

I used my sub-domains for user webpages, they have full access to their root, but they have access denial to anything else...

apache config:
Code:

<VirtualHost *>
DocumentRoot d:/web/member/USERXXXXXXXX
ServerName USERXXXXXXXX.mydomain.com
User USERXXXXXXXX
Group MYGROUP_FTP
php_admin_value open_basedir "z:/web/member/USERXXXXXXXX"
</VirtualHost>


so there, that was the way I locked them... however, since 1 & 1 does not allow wildcard fowarding (or so I think, help me on this if yes),

My question is this how can I lock them to a folder... instead of a domain?

let's say I do a virtual directory of

mydomain.com/member/USERXXXXXXXX

how can he be locked to z:\web\member\USERXXXXXXXX?

(I'd need to change "ServerName USERXXXXXXXX.mydomain.com" by something that gets a folder instead of a domain)

Thanks in advance to break out your heads for me...!!!!!
posted by:
Ruku
Canada
  • Re: apache config problem

    Wed, April 19, 2006 - 6:47 PM
    Good to see some activity in this tribe.

    Looks like you are on a windows machine, so I really have no clue. If you can use the usual sorts of permissions in the setting, can you use a "deny all" in you top level and then "allow from" for the folders later in the config or .htaccess (does windows use .htacess files with apache?). That would limit the web access, but not shell access.

Recent topics in "Apache Web servers"