Forum Moderators: phranque
iīve got a question regarding the config of Apache 2.05 including vhost.
Iīve got one vhost which only should accept HTTPS (Port 443) connetions, and one Host which onle should accept HTTP (Port 80) connections.
It worked so far that i can connect to the host as desired, BUT when i enter ["server_should...] only_port80" i will get the content of the host which i want to reach only via HTTPS. The same host is also availabel with HTTP only (HTTP://"server_should_only_port_443". I tried several changes in vhost.conf regarding to the directives, one time the IP-Adress of the server and one time the hostname of the server and so one, but it didnīt work.
Enviroment ist SuSE Linux 9.1, Apache 2.05
Here is a part of my vhost.conf:
NameVirtualHost service:80
NameVirtualHost otrs:443
<VirtualHost otrs:443>
DocumentRoot.....
ServerName otrs:443
...
...
<VirtualHost service:80>
<VirtualHost Service:80>
DocumentRoot.....
ServerName service:80
Thanks in advance for help!