#19 how to implement like on IIS

Closed
opened 1 month ago by goodyes · 6 comments
goodyes commented 1 month ago

I want mydomain.com/kPlayExample to feature and show what I have properly running under localhost:3030

mydomain.com is on my own windows 2008 r2 server running via IIS

I installed NodeJs, Yarn and Git, I have running ok KPlaySearch on Localhost:3030

How can I do for mydomain.com to be still published via iis, but be able to show, under the directory KPlayExample, the example that I have running via nodejs/yarn ?

I want mydomain.com/kPlayExample to feature and show what I have properly running under localhost:3030 mydomain.com is on my own windows 2008 r2 server running via IIS I installed NodeJs, Yarn and Git, I have running ok KPlaySearch on Localhost:3030 How can I do for mydomain.com to be still published via iis, but be able to show, under the directory KPlayExample, the example that I have running via nodejs/yarn ?
KaKi87 commented 1 month ago
Owner

I don’t know anything about IIS and Microsoft-based servers, but the feature you’re looking for is reverse proxy.

On my Linux server, which is hosting all my projects, I have an Apache web server, with a reverse proxy configuration, forwarding playsearch.kaki87.net to localhost:3030.

I don't know anything about IIS and Microsoft-based servers, but the feature you're looking for is **reverse proxy**. On my Linux server, which is hosting all my projects, I have an Apache web server, with a reverse proxy configuration, forwarding `playsearch.kaki87.net` to `localhost:3030`.
goodyes commented 3 weeks ago
Poster

Seems your solutions is completely useless under windows server and IIS.

It runs and searches are ok under Localhost, but when used with IIS reverse (ARR and URLRewrite), the web itseld is shown but the search does not work.

On my 2 windows servers I have out there in the cloud, IIS, Windows webserver 2008 R2 or 2016. I installed Git, Yarn install and yarn start, now, within my webserver, if I connect to localhost:3030 it runs the web ok and search is done ok.

But if I run externally, the domain web (http://xn--ida.gt/google/play/adsfree/) has configured URLrewrite to redirect to localhost:3030, so the web is show. The same website is shown to me (as if I were on localhost:3030 on webserver) so seems ok, but when I hit on the search box of KPlaySearch (NOT the first one in a iframe, so the bottom one) the search does not work. So something is not working.

Seems your solutions is completely useless under windows server and IIS. It runs and searches are ok under Localhost, but when used with IIS reverse (ARR and URLRewrite), the web itseld is shown but the search does not work. On my 2 windows servers I have out there in the cloud, IIS, Windows webserver 2008 R2 or 2016. I installed Git, Yarn install and yarn start, now, within my webserver, if I connect to localhost:3030 it runs the web ok and search is done ok. But if I run externally, the domain web (http://xn--ida.gt/google/play/adsfree/) has configured URLrewrite to redirect to localhost:3030, so the web is show. The same website is shown to me (as if I were on localhost:3030 on webserver) so seems ok, but when I hit on the search box of KPlaySearch (NOT the first one in a iframe, so the bottom one) the search does not work. So something is not working.
goodyes commented 3 weeks ago
Poster

I see some fail reported by chrome tools
index.js:6 GET http://xn--ida.gt/categories 500 (Internal Server Error)

CAUSE your code islooking for categories (generated non static file) on root of any website

You’re using: “/categories”

but my web runs your code within sub directorie, web path:
http://xn--ida.gt/google/play/adsfree/

and a file called categorioes is generated at:
http://xn--ida.gt/google/play/adsfree/categories

but your code, is looking for:
“/categories”

and I think itmust be look at:
“categories” <-- so relñative to actual path, and not to rrot, I wil try

I see some fail reported by chrome tools index.js:6 GET http://xn--ida.gt/categories 500 (Internal Server Error) CAUSE your code islooking for categories (generated non static file) on root of any website You're using: "/categories" but my web runs your code within sub directorie, web path: http://xn--ida.gt/google/play/adsfree/ and a file called categorioes is generated at: http://xn--ida.gt/google/play/adsfree/categories but your code, is looking for: "/categories" and I think itmust be look at: "categories" <-- so relñative to actual path, and not to rrot, I wil try
KaKi87 commented 3 weeks ago
Owner

Unfortunately, reverse proxy doesn’t work well with relative paths, so your best option is to use a subdomain.

Unfortunately, reverse proxy doesn't work well with relative paths, so your best option is to use a subdomain.
goodyes commented 3 weeks ago
Poster

Done, resolved, as I suspect, changing from root paths to relative to actual path paths it works now. Please leave this thread open so that other parties will get known about that and better for they to know how to implement your source.

I left a tutotial for how to implement your code / KPlaySerach project under windows servers and IIS here, as now all works:

http://ñ.gt/google/play/adsfree/

Done, resolved, as I suspect, changing from root paths to relative to actual path paths it works now. Please leave this thread open so that other parties will get known about that and better for they to know how to implement your source. I left a tutotial for how to implement your code / KPlaySerach project under windows servers and IIS here, as now all works: http://ñ.gt/google/play/adsfree/
KaKi87 commented 3 weeks ago
Owner

On the contrary, I’m closing the thread precisely because it is resolved.
Thanks.

On the contrary, I'm closing the thread precisely because it is resolved. Thanks.
KaKi87 closed this issue 3 weeks ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.