angular-seo icon indicating copy to clipboard operation
angular-seo copied to clipboard

?_escaped_fragment_= is not working https

Open verishal opened this issue 8 years ago • 0 comments

i have follow your tutorial . i got good help. but i stunk small issue. why not take ?escaped_fragment= in https, but In still working in http. because i'm generate html snapshot ,In phantomjs throw. i had major problem in https. how can resolve .please help me. i have this htaccess:

# Redirect "/blog" "http://blog.xyz.com/" DocumentRoot "/opt/bitnami/apache2/htdocs" ServerName www.xyz.com RewriteEngine On RewriteCond %{HTTPS} !=on

#RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Tried for SSR - Verishal

Options +FollowSymLinks RewriteCond %{REQUEST_URI} ^/$ RewriteCond %{QUERY_STRING} ^escaped_fragment=/?(.)$ #RewriteCond %{QUERY_STRING} escaped_fragment=/([^&]) RewriteRule ^/(.*) http://www.xyz.com:9090/$1 [NC,L] ProxyPassReverse / http://www.xyz.com:9090/ Options Indexes FollowSymLinks MultiViews

RewriteCond %{QUERY_STRING} ^escaped_fragment=/?(.*)$

RewriteRule ^(.*)$ /snapshots/%1? [NC,L]

#Options Indexes FollowSymLinks MultiViews

#<directory "d:="" snapshots"=""> #Allow from all #Require all granted #

verishal avatar Oct 21 '17 09:10 verishal