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

link|improve this question
"everything is working perfect if I am using http instead of https" -- so show us the HTTP vhost def as compared to the HTTPS one, since that's the source of the problem. – womble Jan 13 '10 at 2:34
are you sure mod_ssl is loaded? when it is not loaded the complete vhost config for the ssl hosts will not load. – Christian Jan 13 '10 at 18:02
only the url in virtual.app.c7beta server are giving the object not found error 404. eg of url is: virtual.app.c7beta.com/rpc/json?c=Sticky&m=get_user_notes – Zeeshan Rang Jan 13 '10 at 18:11
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.