![]() |
install | documentation | examples | articles | changelog 16.6.0 released on Mar 08, 2023 | articles updated on Mar 20, 2023
|
sudo a2enmod proxy sudo a2enmod proxy_fcgi
For OpenSUSE:sudo vi /etc/httpd/conf/httpd.conf
Add this to the end of the file:sudo vi /etc/apache2/httpd.conf
LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
sudo vi /etc/apache2/apache2.conf
sudo vi /etc/httpd/conf/httpd.conf
sudo vi /etc/apache2/httpd.conf
- Step 3:ProxyPass "/<app path>" fcgi://127.0.0.1:<port number>/
On Fedora systems (like RedHat) and Arch Linux:sudo systemctl restart apache2
Note: you must not have any other URL resource that starts with "/<app path>" (such as for example "/<app path>.html" or "/<app path>_something" etc.) as the web server will attempt to pass them as a reverse proxy request, and they will likely not work. If you need to, you can change the application path to be different from "/<app path>", see request_URL.sudo systemctl restart httpd