I know this is another silly issue, but pls bear with me. i have done 99% of debugging before posting this.
I am trying to load comments from a subdomain. I am using openlitespeed webserver with virtual host for each subdomain.
I am using context type as proxy with external server [ remark : localhost: 8080 ]. The remark server is hosted behind openlitespeed server on port 8080 with out ssl. I am using openlitespeed as a reverse proxy with rewrite rules https to http.
on tcp dump i am seeing following requests and responses to and from remark server.
HTTP: GET /comments/web/last-comments.mjs HTTP/1.1
HTTP: HTTP/1.1 404 Not Found
is the URI path reaching the remark server correct ??
here are my rewrite rules.
RewriteEngine On
RewriteCond %{HTTPS} =on
RewriteCond %{REQUEST_URI} =/comments/*
RewriteRule (.*) http://%{SERVER_NAME}:8080/$1 [R,L]
on chrome console :
(index):37 GET https://www.playme.one/comments/web/last-comments.mjs net::ERR_ABORTED 404
I am starting remark42 server as
./remark42.linux-amd64 server --url=https://www.playme.one/comments --secret="abcdefghijkl" --site="foobillard" --dbg
please advise.
I know this is another silly issue, but pls bear with me. i have done 99% of debugging before posting this.
I am trying to load comments from a subdomain. I am using openlitespeed webserver with virtual host for each subdomain.
I am using context type as proxy with external server [ remark : localhost: 8080 ]. The remark server is hosted behind openlitespeed server on port 8080 with out ssl. I am using openlitespeed as a reverse proxy with rewrite rules https to http.
on tcp dump i am seeing following requests and responses to and from remark server.
HTTP: GET /comments/web/last-comments.mjs HTTP/1.1
HTTP: HTTP/1.1 404 Not Found
is the URI path reaching the remark server correct ??
here are my rewrite rules.
RewriteEngine On
RewriteCond %{HTTPS} =on
RewriteCond %{REQUEST_URI} =/comments/*
RewriteRule (.*) http://%{SERVER_NAME}:8080/$1 [R,L]
on chrome console :
(index):37 GET https://www.playme.one/comments/web/last-comments.mjs net::ERR_ABORTED 404
I am starting remark42 server as
./remark42.linux-amd64 server --url=https://www.playme.one/comments --secret="abcdefghijkl" --site="foobillard" --dbg
please advise.