Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: GlassFish and Htaccess without httpd.conf [Resolved] |
|
Author |
|
78waves
Joined: 28 Oct 2016 Posts: 2 Location: BIH
|
Posted: Fri 28 Oct '16 13:46 Post subject: GlassFish and Htaccess without httpd.conf [Resolved] |
|
|
As we are on Managed, we are unable to edit httpd.conf / virtualhost.
So to leave domain.tld for future use,
I created subfolder and subdomain, and in subfolder .htacc. Code: | RewriteRule ^(.*) http://localhost:8080/$1 [P] |
now Im unable to add other things like disable HTTP, and allow only HTTPS, and only way to make GlassFish to use domain SSL - it was to use RewriteRule.
- it look like DB calls are stoped after some time, could be that its because of [P], but will investigate that.
Apache 2.4
Debian 8
GlassFish 4.1
Hetzner Managed
So this could be paid gig if someone is interested,
as I would love to fix this in near future (yesterday).
Last edited by 78waves on Mon 07 Nov '16 11:40; edited 1 time in total |
|
Back to top |
|
78waves
Joined: 28 Oct 2016 Posts: 2 Location: BIH
|
|
Back to top |
|
|
|
|
|
|