Re: webserver setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Andreas Kuntzagk wrote:
Hi,

I have setup a webserver on CentOS 4.5 with NameVirtualHost.
Two VirtualHost should be reachable by port 80 from outside, while the
third (default) should be only reachable by https from outside but by
http from inside. Since all share the same IP firewalling seems to be out of question. So
is there a way to restrict that in Apache config?

regards, Andreas

Configure your virtualhosts

a "SSLRequireSSL" directive would force it to be https only. When using http, it would give "Permission denied". Or a mod_rewrite.

Or you could also configure your http virtualhosts in httpd.conf, while configuring your https VH in ssl.conf.

Ugo

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux