Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-08-2012, 10:07 AM   #1
LQ Newbie
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
Apache virtual host help.

Hi, I'm new to Linux also with Apache but I am tasked for a project to help me understand hosting a bit more.

My task consist of creating a virtual host which will allow users to see my site internally but when they browse externally to my site it prompts them for a user name and password.

Any help will be appreciated or resources.

Last edited by konl33; 05-08-2012 at 10:20 AM.
Old 05-08-2012, 10:54 AM   #2
Senior Member
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Well this is an interesting question, looks like a piece of homework. Well you will want to look at using Digest http authentication for your user authentication. Here is the Apache doc for that: Google searching the term will give you some good third party guides as well.

In order to exclude your local host connections look at using the "Satisfy" directive. You can also look at the access control directives for Apache here:

Do some reading on that, a little searching and if you get stuck on anything specific respond here and we will help get you in the right direction.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any way to tunnel apache virtual host to an internal apache? ciuly Linux - Server 5 01-31-2010 12:53 PM
apache virtual host help? paddyjoy Linux - Server 4 09-19-2006 05:49 AM
Apache - Name virtual host tisource Linux - Networking 5 03-03-2006 02:52 AM
Apache 2.0 Virtual Host? w0lfeyes Linux - Networking 1 05-03-2004 03:09 PM
apache virtual host mimi Linux - General 1 04-06-2002 05:11 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration