araujoadanr Posted December 6, 2020 Share Posted December 6, 2020 Hello everyone, I am trying to mount my applications behind a reverse proxy. Use the ServerModule.UrlPath property (as mentioned in another thread). Original App http: // localhost: 8074 Apache (reverse proxy) port 81 / {context} I have some problems 1- I get a Method: '/ HandleEvent' not found message What could be the cause of this? 2- To work the reverse proxy, and that not only the message "Loading" appears, copy the folder extroot and uniroot where the executable is located. I've tried modifying the ServerModule.UniRoot and ServerModule.UniExt property to a custom folder, but it ignores. Link to comment Share on other sites More sharing options...
araujoadanr Posted December 14, 2020 Author Share Posted December 14, 2020 I have tried the new version 1.90.0.1541, but I get the same problem. Does anyone have experience with reverse proxy? Link to comment Share on other sites More sharing options...
ReaderF Posted December 14, 2020 Share Posted December 14, 2020 Try NGNIX Link to comment Share on other sites More sharing options...
delagoutte Posted December 15, 2020 Share Posted December 15, 2020 could you give the part of your apache.conf where you have your configuration for proxy/reverseproxy ? Link to comment Share on other sites More sharing options...
delagoutte Posted December 15, 2020 Share Posted December 15, 2020 in your context you would have a thing like that <VirtualHost *:81> # ServerAdmin webmaster@domain.com # ServerName subdomain.domain.com DefaultType text/html ProxyPreserveHost on ProxyRequests off Proxypass / http://127.0.0.1:8074/ ProxyPassReverse / http://127.0.0.1:8074/ # ErrorLog "|bin/rotatelogs.exe logs/%Y-%m-%d_subdomain.domain.com-error.log 86400" # CustomLog "|bin/rotatelogs.exe logs/%Y-%m-%d_subdomain.domain.com-access.log 86400" common </VirtualHost> Link to comment Share on other sites More sharing options...
araujoadanr Posted December 15, 2020 Author Share Posted December 15, 2020 I have 2 projects in diferents port use with Hyperserver, ##<VirtualHost *:80> ##ServerAdmin webmaster@dummy-host2.example.com ##DocumentRoot "C:/xampp/htdocs/dummy-host2.example.com" ##ServerName dummy-host2.example.com ##ErrorLog "logs/dummy-host2.example.com-error.log" ##CustomLog "logs/dummy-host2.example.com-access.log" common ServerAdmin me@example.com DocumentRoot "C:\xampp\htdocs" ServerName example.com:81 ErrorLog "logs/example.com-error.log" CustomLog "logs/example.com-access.log" common ProxyRequests Off ProxyPreserveHost Off <Proxy *> Order deny,allow Allow from all </Proxy> <Location /nomina> ProxyPass http://localhost:8074/ connectiontimeout=5 timeout=300 ProxyPassReverse http://localhost:8074/ </Location> <Location /almacen> ProxyPass http://localhost:8077 connectiontimeout=5 timeout=300 ProxyPassReverse http://localhost:8077 </Location> ##</VirtualHost> Link to comment Share on other sites More sharing options...
ReaderF Posted December 16, 2020 Share Posted December 16, 2020 15 hours ago, adan200 said: I have 2 projects in diferents port use with Hyperserver, ##<VirtualHost *:80> ##ServerAdmin webmaster@dummy-host2.example.com ##DocumentRoot "C:/xampp/htdocs/dummy-host2.example.com" ##ServerName dummy-host2.example.com ##ErrorLog "logs/dummy-host2.example.com-error.log" ##CustomLog "logs/dummy-host2.example.com-access.log" common ServerAdmin me@example.com DocumentRoot "C:\xampp\htdocs" ServerName example.com:81 ErrorLog "logs/example.com-error.log" CustomLog "logs/example.com-access.log" common ProxyRequests Off ProxyPreserveHost Off <Proxy *> Order deny,allow Allow from all </Proxy> <Location /nomina> ProxyPass http://localhost:8074/ connectiontimeout=5 timeout=300 ProxyPassReverse http://localhost:8074/ </Location> <Location /almacen> ProxyPass http://localhost:8077 connectiontimeout=5 timeout=300 ProxyPassReverse http://localhost:8077 </Location> ##</VirtualHost> in unigui serverput are you settings /almacen /nomina when compiling? Link to comment Share on other sites More sharing options...
araujoadanr Posted December 17, 2020 Author Share Posted December 17, 2020 Yes.. in this property.. is right? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now