LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Web page user access (https://www.linuxquestions.org/questions/linux-newbie-8/web-page-user-access-11138/)

Cristian Negres 01-04-2002 09:59 AM

Web page user access
 
Hello,

I would like to set up the Apache server on Linux 7.1 to allow tha access only to some specific users.
Anyone have the knowledge and time for a step by step short example?

Thanks,
Cristian

te_conway 01-04-2002 12:07 PM

I'm assuming you've installed RH7.1 and apache is installed and running.

edit /etc/httpd/conf/httpd.conf

modify

Order Deny,Allow
Allow from all

to

Order Deny,Allow
Deny from All
allow from 192.168.0
allow from 202.101.003.089
allow from sombody.com

to allow any local lan users,
whomever owns 202.101.003.089
anyone from somebody.com

check this link: http://httpd.apache.org/docs/howto/auth.html#allowdeny

Cristian Negres 01-05-2002 12:43 PM

Hi,

Thanks, now it is almost working.
I am running Linux 7.1 and Apache 1.3.14

Could someone tell me how now, when I put the user name and password I'm not able to connect?

The pass is correct and the AuthUserFile also.


Thanks,
Cristian


All times are GMT -5. The time now is 10:58 PM.