Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

?_escaped_fragment_= is not working https #46

Open
verishal opened this issue Oct 21, 2017 · 0 comments
Open

?_escaped_fragment_= is not working https #46

verishal opened this issue Oct 21, 2017 · 0 comments

Comments

@verishal
Copy link

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
#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant