Score:0

Site working without SSL but not with SSL it will showing me Forbidden You don't have permission to access this resource

ua flag

I have a live domain which is working perfectly without SSL but on SSL it will showing me following page Error Image: https://i.stack.imgur.com/9GXjO.png

For this made changes in following files:
000-default:

<VirtualHost *:80>
    ServerAdmin [email protected]
    #DocumentRoot /var/www/
    DocumentRoot /opt/tomcat/webapps/ROOT/WEB-INF/
    Redirect  "/" "https://www.mydomain.in/"
</VirtualHost>


default-ssl:

<IfModule mod_ssl.c>
    <VirtualHost _default_:443>
        ServerAdmin webmaster@localhost

        #DocumentRoot /var/www/html
        DocumentRoot /opt/tomcat/webapps/ROOT/WEB-INF/
        SSLCertificateFile  /etc/ssl/certs/mydomain.in_ssl_certificate.cer
        SSLCertificateKeyFile /etc/ssl/private/_.mydomain.in_private_key.key
        SSLCertificateChainFile /etc/ssl/certs/DigiCertCA.cer

    </VirtualHost>
</IfModule>

apache2.conf:

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Require all denied
</Directory>

<Directory /usr/share>
    AllowOverride None
    Require all granted
</Directory>

<Directory /var/www/>
    Options Indexes FollowSymLinks
    AllowOverride None
    Require all granted
</Directory>


<Directory /opt/tomcat/webapps/>
    Options Indexes FollowSymLinks
    AllowOverride None
    Require all granted
</Directory>

I that my project is located inside /opt/tomcat/ and not inside /var/www/

Please help me to solve this. I cant understand exact issue related with it

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.