On Thu, 2006-01-19 at 12:20 -0200, info.raa wrote: > Hi evetybody! > > Greetings. > I have just starded learning apache. > I'm using os x and apache 2.0.52. > The server is running and i already undertand how virtual host works. > From any computer of my lan i can see my intranet site. > > Here is my question: > > Can anyone send me an httpd.conf file with the configurations necessary > to run a member's only site? > I have tried the following code inside a directory container, have > created a passwd folder and the proper user/password file, but had no > sucess. > > # Controls who can get stuff from this server. > Order allow, deny > Allow from 192.168 > Deny from all > > # Security measures > AuthType Basic > AuthName "Restricted Files" > AuthUserFile /Library/Apache2/passwd/passwords > Require valid-user > > Thanks! > > Best regards, > > Kbl_Master > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx Hi, You can use a simple script to manage "users" in the .htaccess file here is a download: http://corp.sover.net/support/webfaq/access.zip here is more info: http://corp.sover.net/support/webfaq/pass.shtml If you need a full featured content management system, I would suggest Interchange: http://www.icdevgroup.org Rick --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx