how to virtualhost mod_rewrite mod_proxy on apache2 + tomcat - java server
I am running on tomcat server that has webapps listening on 8080
I would like to host these webapps on different domains.
let's say I got a domain which is www.foobar.com
and if I try to visit my site using https://www.foobar.com
I got a message like "This Connection is Untrusted".
and I have created a name base virtual host for www.foobar.com
and only for port 80 and is that why i am getting Untrusted error or is there any thing I have to go.
BTW, I am very new to this topic so, any reference and explanation will
Desired Effect
request server1.foobar.com:25565 result server1.foobar.com:25565
request server2.foobar.com:25565 result server1.foobar.com:25566
request server3.foobar.com:25565 result server1.foobar.com:25567
request server4.foobar.com:25565 result server1.foobar.com:25568
Explanation
I am setting up a gaming server and I would like to run multiple servers from the same box but have them all
I have a virtual host with a configuration like that.
When i'm trying to get into foobar.com/dir providing valid username/password pair i get 403 forbidden page instead of that directory contents.
www.foobar.com/dir has 777 rights, .httpaswd is chmoded 644. But i can't figure out why i am still not seeing contents.
The main problem is my directory has many files with uppercase (e.g. Foobar.txt, FooBar.txt, even FOOBAR.txt). And I find it messy to find the files by exactly typing it (if I know the exact filenames, why would I use find?).
In my web app, I'm toying with the idea of giving my user the opportunity to select a subdomain of their choosing, so they could select something like:
foobar.myapp.com
where foobar is their chosen subdomain. What is the proper way to go about setting up something like this? .htaccess? Have some api for writing virtual hosts?
i know how to set variables and use subroutines with the nginx builtin perl module INSIDE a "server" directive but, what i need to do is to set/rewrite the current domain before ...
let's say, we have a domain like
admin.foobar.website.com
i want that a request to
foobar.othersite.com
points to the first address ( obviously website.com and othersite.com are hosted on the same webserver ru
say I have a wordpress site:
https://www.foobar.com
and I want to have an entry point to a rails app at a certain subdirectory within that same domain:
https://www.foobar.com/rails_app
I know this is possible if both the wordpress app and the rails app are hosted on the same box, but is this in anyway possible if they are hosted on different boxes?
I do not want to use subdomains because I am
For some strange reason my filename autocomplete is behaving differently than normal.