hi,
i have two domains:
www.domainone.com --> is secure.. runs on port 443
www.domaintwo.com --> is insecure.
both sharing the same ip.
my httpsd.conf is like:
<VirtualHost xxx.xxx.xxx.xxx:80>
SSLDisable
Port 80
ServerAdmin webmaster@domaintwo.com
DocumentRoot /home/httpd/www.domaintwo.com
ServerName www.domaintwo.com
TransferLog /usr/local/apache/logs/domaintwo_access.log
ErrorLog /usr/local/apache/logs/domaintwo_error.log
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xxx:443>
SSLEnable
Port 443
ServerAdmin webmaster@domainone.com
DocumentRoot /usr/local/apache/httpsdocs
ServerName www.domainone.com
TransferLog /usr/local/apache/logs/domainone_access.log
ErrorLog /usr/local/apache/logs/domainone_error.log
</VirtualHost>
when i access to http://www.domainone.com
it says:
Forbidden
You don't have permission to access / on this server.
i would like to have here a automatic link to
https://www.domainone.com
when i access to http://www.domaintwo.com
it says:
Forbidden
You don't have permission to access / on this server.
and if i write https://www.domaintwo.com .. it appears
https://www.domainone.com
how can i solve that??
thanks in advance,
marcos
marcos@ival.es