also, do you have the paths to the document root set correctly in httpd.conf? if you are trying to serve pages from the servers root directory, it will give that result... if its not set to serve root... take a look in /etc/httpd/conf/httpd.conf look in the directory listings... ie <Directory............ inside them (particularly your html directory), you should have a line like this: AllowOverride AuthConfig Limit Options That will allow your web server to accept htaccess files... in your .htaccess file, (which goes in the web diectory you want to protect) you should have something like this: Options All AuthType "Basic" AuthName "Protected Access" AuthUserFile /var/www/html/somedirectory/somefile.access <Limit GET> require valid_user </Limit> That will do it,,, then to add users you do this: htpasswd somefile.access your_user_name answer the questions it asks... Thats it,, you have just protected a directory on your web server via password.. I use this all the time on many directorys on my servers... rgds Frank -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dave Sherman Sent: Sunday, 16 September 2001 2:33 AM To: Mandrake-newbie Subject: Re: [newbie] apache question On Sat, 2001-09-15 at 12:02, Jon Doe wrote: > Ok, at one time I had apache up and running and serving pages. For some > reason now I always just get a: > > Forbidden > You don't have permission to access /index.htm on this server. > Apache-AdvancedExtranetServer/1.3.19 Server at 127.0.0.1 Port 443 > > error. What am I doing wrong? I want to setup SSL and have usernames and > passwords for each user. The users are not on my network they will use > Internet access to get the pages. Any help? Do you already have SSL installed, and have you generated a digital certificate? You won't get anywhere without that. Dave
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
