For the Access 403 error check the
xampp\apache\logs\error.log file.
Some observances that may help:
Is this proxy_module uncommented in the main list of LoadModules in the httpd.conf file?
If not then remove the comment hash # from in front, then there is no need to include the line
LoadModule proxy_module modules/mod_proxy.so
This is the list of proxy related modules in the httpd.conf file I refer to:
#LoadModule proxy_module modules/mod_proxy.so <--uncomment this line
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so <-- uncomment this, see below
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
Wrap your proxy in an IfModule directive and see if it helps.
- Code: Select all
<IfModule proxy_module>
#
# Proxy paths for PotVQI program running on Tomcat
#
ProxyPass /vqi http://localhost:8080/VQI2/
ProxyPassReverse /vqi http://localhost:8080/VQI2/
</IfModule>
But see below and include this in the mod_jk.conf file not in the httpd.conf file.
Always remember to save any conf or ini files after editing and then restart the Apache server.
Here is a link or two to check out proxy_ajp_module and has some interesting reading.
http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.htmlhttp://wiki.apache.org/tomcat/FAQ/Connectorshttp://stackoverflow.com/questions/7038 ... or-windowsHere some Apache docs links for mod_proxy:
http://httpd.apache.org/docs/2.2/mod/mo ... #proxypasshttp://httpd.apache.org/docs/2.2/mod/mo ... assreversehttp://httpd.apache.org/docs/2.2/mod/mod_proxy.htmlPlease heed the warning:
WarningDo not enable proxying until you have
secured your server. Open proxy servers are dangerous both to your network and to the Internet at large
Sorry I can't help you much with what you are trying to achieve but personally I would revert my httpd.conf file to the state is was in before you added any Tomcat entries.
Then I would use the Tomcat config. file
mod_jk.conf file found in the
xampp\apache\conf\extra folder - it also has a vhost example section that you may wish to experiment with and also this file would be the place to add your proxy or alias directives in.
You may also want to experiment with a JkMount entry.
Also you may wish to check out the Tomcat log files for any clues as to it's non acceptance of your config. changes etc. - xampp\tomcat\logs\
BTW, at present, if I go to
http://ari.asu.edu:8080/VQI2 I get the Visual Query Interface.
If I go to
http://ari.asu.edu/vqi it redirects the browser to
http://ari.asu.edu:8080/VQI2 and the Visual Query Interface - so yes, your redirect works and when trying to change this redirect behavior to an alias, proxy or vhost, you first may have to comment out the redirect as this may always take precedence or otherwise interfere with your intentions if the redirect is contained in a .htaccess file - usually the .htaccess file will override your server conf files.
Please post back if any of this helps clear the fog patch.