Aha ! it is working now - I moved, in /etc/httpd/conf.d, the default
files:
welcome.conf -> welcome.dir
manual.conf -> manual.dir
and then included them from 'Apache.dir', which is included by
both Apache.conf (the *:80 Vhost) and ssl.conf (the *:443 vhost).
So I guess it is because th
Thanks Eric -
Yes, it was DocumentRoot, a typo in my email only - sorry .
I now have ALL site in separate VHosts .
I put all the default directory entries in conf/httpd.conf into
a separate conf.d/Apache.conf :
ServerName $HOST_DNS_NAME:80
include conf.d/Apache.dir
>
> Directory "/opt/A"
Did you mean DocumentRoot?
Can you show the verbatim config for one of the virtual hosts?
-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@
Many thanks Eric -
Yes, I thought it must be supported ( and finally found :
https://www.oreilly.com/library/view/apache-the-definitive/0596002033/ch04s02s04.html
- "Port Based Virtual Hosts" -
) - but it is still not working.
All Port servers still serve the default Apache websites -
> I guess port based VirtualHosts are not supported ?
It should work just fine and is how basic SSL configurations work. I
suggest looking at e.g. apachectl -S output and make sure these files
are being loaded and aren't already listed in an earlier VirtualHost.
---
Good day -
I am trying to setup VirtualHosts based on Port Differences only -
is this possible ?
ie. I have, on a Centos-7 x86_64 system with apache:
httpd-2.4.6-97.el7.centos.2.x86_64
installed, in separated /etc/httpd/conf.d/*.conf files:
File conf/httpd.conf:
Listen $VPN_IP:8