Skip to content

?_escaped_fragment_= is not working https #46

Description

@verishal

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
#

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions