Hi Frank,
Thanks a lot. It worked perfectly. I have a follow up question for /demo
path (as part of node.js code so /demo has all nodejs code) just as an
improvement . I modified the ProxyPassMatch directive as per the below
example and it returned http 404.
ProxyPassMatch ^/demo(.+) http://local
^/(.+) will already match /demo, why are you changing the expression?
On Sun, Jul 2, 2023 at 10:42 AM Kaushal Shriyan
wrote:
> Hi Frank,
>
> Thanks a lot. It worked perfectly. I have a follow up question for /demo
> path (as part of node.js code so /demo has all nodejs code) just as an
> improve
Hi Frank,
When I set the below in /etc/httpd/conf.d/phpnodejs.conf. When I hit
https://phpnodejs.mydomain.com which is the html content, the images are
broken and unable to load javascript, CSS etc...
ProxyPass /index.html !
ProxyPassMatch ^/(.+) http://localhost:3000/
#cat /etc/
Try adding $1 to the target to use the captured value.
Also, depending on the response from the backend, you may need a
ProxyPassReverse directive.
On Sun, Jul 2, 2023 at 11:41 AM Kaushal Shriyan
wrote:
> Hi Frank,
>
> When I set the below in /etc/httpd/conf.d/phpnodejs.conf. When I hit
> https
Hi Frank,
Thanks for the quick response. I will appreciate it if you can help me
understand by considering the below directive. I am not sure about placing
$1 to the target. Any examples which will be easy to understand?
ProxyPass /index.html !
ProxyPassMatch ^/(.+) http://localhost:3000/
Please
I would read this page:
https://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypassmatch
On Sun, Jul 2, 2023 at 1:03 PM Kaushal Shriyan
wrote:
> Hi Frank,
>
> Thanks for the quick response. I will appreciate it if you can help me
> understand by considering the below directive. I am not
July 3, 2023
12:19 am est
I am catching up to the problem. I will be testing. In the interim these
are drafts. I will make edits after the Independence Day holiday. I will
add a section specifically for node.js
http://greg.gy/ssl
http://greg.gy/machine
http://greg.gy/ssl/install
http://colorsort
July 3, 2023
12:19 am est
Guys:
I am catching up to the problem, but I will be following this one closely
as I am also configuring. I will be testing. In the interim these are
drafts. I will make edits after the Independence Day holiday. I will add a
section specifically for node.js
http://gr