LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   internal website? (https://www.linuxquestions.org/questions/linux-newbie-8/internal-website-272401/)

ryedunn 12-31-2004 03:34 PM

internal website?
 
I have 3 external websites from the same machine, 1 SSL and 2 others. I would like to setup SnortCenter but from an internal site only. How can I setup my virtual host file (or whatever else) to get this done?

Thank you,
TheGNUbie

twantrd 12-31-2004 03:54 PM

Since you are going to be hosting an intranet site on the same machine as the other sites, then you need to allow only the LAN to view the site and no one else. Something like:

order deny,all
deny from all
allow from <ip/subnet>

Not too sure if you can do this in the Vhost directive block. But if you can't, then specify the location of your intranet site with the Location directive and try it in there.

-twantrd


All times are GMT -5. The time now is 07:06 AM.