Need to know a little more.
Do you have access to the server? Can you reconfigure and/or install nginx/Apache? Can you add/edit MySQL user access rules if needed?
Through use of proxy commands and/or iframes/cross-site access rules it can work.
Erik
Get Outlook for iOS
From: shiny-...@googlegroups.com <shiny-discuss@googlegroups.com> on behalf of jean...@noaa.gov <jean...@noaa.gov>
Sent: Friday, February 16, 2018 2:35:53 PM
To: Shiny - Web Framework for R
Subject: publishing PHP pages on Shiny server?
Is it possible to publish PHP pages using Shiny server (open source version)? We are using Shiny server to set up a an e-journal of visualizations (http://psesv.psmfc.org/), and have web pages for the journal and for Shiny dashboards, all residing on the Shiny server. The journal pages are all HTML pages, but we'd like to use server side scripting (PHP and server side includes) with a mySQL database to generate some of the content on the journal pages. Is this possible, or would it be more feasible to host the journal pages on a separate (non-Shiny) server that has server-side scripting enabled?
Thanks!
--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/6a7fb2ab-b97e-4e7c-bf80-202d204c9cb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes. You can point different requests to different servers. Here you’d put a rewrite rule to /PSESV1 that proxies requests to shiny. This is ideal because you then don’t need to worry about cross-site weirdness with requests between them.
Erik
Get Outlook for iOS
From: Jean Lee - NOAA Affiliate <jean...@noaa.gov>
Sent: Friday, February 16, 2018 3:02:28 PM
To: Erik Westlund
Cc: Shiny - Web Framework for R
Subject: Re: publishing PHP pages on Shiny server?
Yes, we have access to the shiny server (currently installed on LInux OS) and have technical resources available to install nginx/Apache and configure mySQL user permissions.
Any issues with using iframes and bootstrap together?
Would it be possible with proxying to have journal pages and shiny visualizations residing on a separate servers, but both accessed from the same root URL? E.g., psesv.psfmc.org/index.php is the journal home page URL, and psesv.psmfc.org/PSESV1 is the page for a shiny visualization.
On Fri, Feb 16, 2018 at 12:47 PM, Erik Westlund <edbwe...@gmail.com> wrote:
Need to know a little more.
Do you have access to the server? Can you reconfigure and/or install nginx/Apache? Can you add/edit MySQL user access rules if needed?
Through use of proxy commands and/or iframes/cross-site access rules it can work.
Erik
Get Outlook for iOS
From: shiny-...@googlegroups.com <shiny-...@googlegroups.com> on behalf of jean...@noaa.gov <jean...@noaa.gov>