Tag Info

New answers tagged


This can certainly be achieved, and the way you would do it depends upon how your apps run; if they are served by your web server simply listening on certain ports, then you would need to amend your configurations to use VirtualHosts similar to the following: <VirtualHost *:443> ServerAlias app1.com DocumentRoot /var/www/html/app1 #or ...


From the way you have described your situation, this can be done with ProxyPass. it is a module in apache that allows for redirection of url requests. Here is the apache.org info For each vhost ie: https://app1 you will add to vhost settings ProxyPass / https://app1:3443 ProxyPassReverse / https://app1:3443 there are several good HowTo sites out there. ...


You cannot use variables in log location directives. The way to do it is to pipe the log to another program. Here is a possible solution: http://stackoverflow.com/questions/20217533/dynamic-apache-log-directory-based-on-hostname


You're not capturing anything, so you can't append the entire rest of the URL to the filesystem path in the 2nd argument. It's not implicitly captured and tacked on.


No, *.example.com does not match example.com. You're missing at least a dot, see? Right before "example". Edit: Apache documentation backing this up. In fact, they specifically advise using ServerAlias: ServerName www.example.com ServerAlias example.com *.example.com


You can specify the default charset per directory or vhost, see httpd.apache.org. In short: <Directory /some/dir> CharsetDefault ISO-8859-1 </Directory> You'll also need to ensure that the mod_charset_lite module is enabled.


If you pass a command like this to create your 2nd service: httpd.exe -f conf/2.conf -k install -n server2 Then anytime you start the service named "server2" it will start with the alternate configuration specified by -f.

Top 50 recent answers are included