April 24, 2024, 01:31:37 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Authentication for visiting site in apache  (Read 2870 times)

Offline ilias

  • Linux Learner
  • ***
  • Posts: 116
Authentication for visiting site in apache
« on: June 22, 2005, 04:37:16 AM »
Hai all

I have apache web server installed and hosted a website. I want users to use username and password to access the site.

Can anyone help me out

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Authentication for visiting site in apache
« Reply #1 on: June 22, 2005, 04:40:12 PM »
oh, you have to find out my post about NCSA authentication in squid.

Offline ilias

  • Linux Learner
  • ***
  • Posts: 116
Auth for web site
« Reply #2 on: June 23, 2005, 06:49:46 AM »
sorry, rickty u didn't understand my question. I have my own webserver installed - apache. it has a corporate site hosted on it. I want to restrict the users accessing that particular site using password and username.
This is question is not realled to squid.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Authentication for visiting site in apache
« Reply #3 on: June 23, 2005, 01:53:32 PM »
Oh. really sorry,
We have many questions over here about squid, I answered just after seeing the question title. Anyways You can do that easily, it can be done using .htaccess file or can also edit apache config file, but I want you to do it .htaccess way :)

better than giving instruction here.. i would like you to see this link :
faq.web2010.com/htaccess.htm