Comments (4)
Thanks Andy. I'm out of my depth here so I'll park it for the meanwhile.
In case it helps anyone else, as a workaround I'm manually deploying the React app using npm build
and FTPing it to a web server where I've installed the PHP version of the Esri resource proxy.
from resource-proxy.
@slead You used to be able to set the Create React App default port to 80. Maybe give that a try.
from resource-proxy.
Hi @andygup,
Thanks for the suggestion. I'm already running Apache on port 80, which (I believe) is necessary in order to run the PHP component fo the Esri resource proxy.
✔ Something is already running on port 80. Probably:
/usr/sbin/httpd -D FOREGROUND (pid 332)
in /
Would you like to run the app on another port instead?
So if I stop Apache on port 80 and instead run React there, how would I run the proxy?
Thanks,
Steve
from resource-proxy.
Hmmm, it's been a long time since I used PHP. In theory, you can start PHP in stand-alone mode, e.g. php -S localhost:3000
and then leave CRA on its default port 3000. I haven't tried this since PHP is disabled by default on the latest MacOS. Here's more info: https://www.php.net/manual/en/features.commandline.webserver.php.
from resource-proxy.
Related Issues (20)
- The proxy server application .Net version does not work for ArcGIS server 10.61 HOT 9
- The proxy server application php version does not work with php version 7 and higher HOT 4
- Getting Invalid token error when trying to access ArcGIS World Geocoding Service on non-public Web Map HOT 2
- Proxy Not Renewing Token HOT 8
- Problema con proxy DotNet HOT 2
- wildcard in allowedReferer not working HOT 2
- 304 Not modified errors created in log files for all request. HOT 5
- PHP7 ErrorException count(): Parameter must be an array or an object that implements Countable HOT 2
- Proxy has not been set up for this URL HOT 5
- _legends information lost on secured services HOT 2
- The dotnet version has an unused variable
- Multiple Accounts HOT 3
- time to archive? HOT 1
- Mention NGINX as an alternative in README HOT 3
- preliminary calls not using proxy HOT 5
- Impossible de créer un canal sécurisé SSL/TLS
- How to install the PHP proxy on EC2 (Amazon Linux 2) HOT 1
- PHP Proxy Doesn't work HOT 1
- Directory Traversal Vulnerability HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resource-proxy.