Not Found The requested URL / was not found on this server.
Hi ,
I am getting "Not Found The requested URL / was not found on this server" when trying to access AEM pages with https protocol but its working fine when I am using http.We am not using loadbalancer, it is directly accessing from webserver.
Configuration as we below:
https.conf
.
.Listen 80
Listen 443
.
.
Include httpd-vhost.conf
.
.
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile /applic/apache/httpd/certs/aem-site.crt
SSLCertificateKeyFile /applic/apache/httpd/certs/aem-site.key
SetHandler dispatcher-handler
</VirtualHost>
httpd-vshost.conf
<VirtualHost *:80>
ServerName sitename.com.au
ServerAlias www.sitename.com.au
DocumentRoot "/applic/apache/httpd/cache"
.
.
.
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{REQUEST_URI} !^/eagle/check\.sh$
RewriteCond %{REQUEST_URI} !^/dispatcher/invalidate\.cache$
RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
</IfModule>
.
.
.
.
</VirtualHost>
Any idea why its throwing "Not Found" error ?