I have two site, and two different certificates for both... my httph-vhost.conf looks like :
<IfModule mod_ssl.c>
<VirtualHost virtual.app.c7beta:443>
ServerName virtual.app.c7beta.com
DocumentRoot "C:\development\app_server\httpdocs"
SSLEngine on
SSLCertificateFile C:\xampp\apache\conf\ssl.crt\server1.crt
SSLCertificateKeyFile C:\xampp\apache\conf\ssl.key\server1.key
<Directory "C:\development\app_server\httpdocs">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
SSLRequireSSL
</Directory>
</VirtualHost>
<VirtualHost 127.0.0.1:443>
ServerName virtual.c7beta.com
DocumentRoot "C:\Users\zee\Documents\Flex Builder 3\CLOUD\bin-debug"
SSLEngine on
SSLCertificateFile C:\xampp\apache\conf\ssl.crt\server.crt
SSLCertificateKeyFile C:\xampp\apache\conf\ssl.key\server.key
<Directory "C:\Users\zee\Documents\Flex Builder 3\CLOUD\bin-debug">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
SSLRequireSSL
</Directory>
</VirtualHost>
</IfModule>
I used ip addresses instead of domain names as what I understood reading through internet, that SSl does not supports domain names.
So now I get the error: Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster. Error 404
on urls that look like:https://virtual.app.c7beta.com/rpc/json?c=Trash&m=check_trash
everything is working perfect if I am using http instead of https. The code for http config is:
<VirtualHost virtual.c7beta.com:80>
ServerName virtual.c7beta.com
DocumentRoot "C:\Users\zee\Documents\Flex Builder 3\CLOUD\bin-debug"
DirectoryIndex index.php index.html
<Directory "C:\Users\zee\Documents\Flex Builder 3\CLOUD\bin-debug">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost virtual.app.c7beta.com>
ServerName virtual.app.c7beta.com
DocumentRoot "C:\development\app_server\httpdocs"
DirectoryIndex index.php index.html
<Directory "C:\development\app_server\httpdocs">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
I have same port number for both the https calls ie 443. is that okey, or we need to have different port numbers? I have been wasting my time since the past couple of hours now. And I do not know how to solve it.
Plz help me out ..
Zeeshan