0
votes
2answers
80 views

Exclude the root from a ProxPass directive, but keep everything below the root included

I am running Apache in front of a Tomcat instance. Apache proxies every request that comes through and passes it on to Tomcat. The current configuration is such that Apache puts a ProxyPass on the ...
0
votes
1answer
65 views

How to ProxyPass and ProxyPassReverse with a URL having a dot in it?

I am using ProxyPass and ProxyPassReverse. In just simple cases its wouks great but as I have a URL ending with a ".jpg" it just misses it. For example :- Consider the statement below :- The request ...
0
votes
2answers
101 views

Configuration of NameVirtualHosts and IP address

so I have site1.com and 192.168.1.100 If I use the IP address Apache doesn't work for site1.com, if I use site1.com the IP address doesn't work. Thoughts? Can I get both? I need to access the IP ...
1
vote
2answers
36 views

Make Apache2 skip problematic configs?

Is there a way to make Apache2 skip configuration files or segments if they lead to errors? For example, if I have specified a <VirtualHost></> but the defined path doesn't exist anymore. ...
1
vote
0answers
140 views

Apache configuration with proxy and location

I want to map these domains to these ports. How can I do it? http://test1.example.com/phpmyadmin/ example.com:80/phpmyadmin/ http://test1.example.com/app1/ example.com:8080/app1/ ...
0
votes
1answer
469 views

virtual host setup: can't access wordpress site without www

I would like to access my site both with and without using the www. Currently it only works with. Leaving out the www just goes to a blank page. Also, wp-admin just loads a blank page too. I have set ...
1
vote
1answer
2k views

Using constant variables in apache configuration

<VirtualHost *:80> SetEnv SITENAME testing ServerName www.test.com # Location of files DocumentRoot "/www/${SITENAME}/site" Alias /data "/www/data/${SITENAME}" Alias /base ...
0
votes
1answer
3k views

Is there a way to increase the maximum allow url length for incoming requests on Apache HTTPd?

I'm running a web services site on Apache HTTPd and every once in while I get an error indicating the incoming URL is too long (HTTPError: HTTP Error 414: Request-URI Too Large). My site is servicing ...
0
votes
3answers
880 views

Apache httpd.conf handle multiple domains to run the same application

So what we are looking for is the ability to do the following: We have an application that can load certain settings based on the domain that it is being accessed from. So if you come from xyz.com ...
4
votes
1answer
5k views

Do I need to restart/reload apache when adding a configuration file under /etc/httpd/conf.d

Do you need to restart/reload Apache when adding a configuration file under /etc/httpd/conf.d? I know that editing the httpd.conf need a restart or a reload but unsure if file placed in the conf.d ...