Replies: 1 comment 7 replies
-
Haven't tried that in a while, but this should still work: #767 https://www.dropwizard.io/en/latest/manual/configuration.html#simple |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
Thank you for your program.
After installing the program, it works www.domen.com:8082
I want it to be like this www.domen.com/test
To do this, I make a configuration file in apache:
<VirtualHost *:80>
ServerName domen.com
ServerAlias www.domen.com
ProxyPreserveHost On
<IfModule mod_proxy.c>
ProxyRequests off
ProxyVia on
ProxyPass /test http://localhost:8082/
ProxyPassReverse /test http://localhost:8082/
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
</IfModule>
</VirtualHost>
Go to the address www.domen.com/test
The page starts to load, but then nothing happens, just a white page in the browser.
If you change the file
<VirtualHost *:80>
ServerName domen.com
ServerAlias www.domen.com
ProxyPreserveHost On
<IfModule mod_proxy.c>
ProxyRequests off
ProxyVia on
ProxyPass / http://localhost:8082/
ProxyPassReverse / http://localhost:8082/
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
</IfModule>
</VirtualHost>
When going to the address www.domen.com
Everything works fine.
What is my mistake, please help.
Beta Was this translation helpful? Give feedback.
All reactions