-
1. Re: HTTPD mod_cluster 1.2 ProxyPass does not work
jfclere Apr 2, 2012 3:15 AM (in response to pavel.orehov)you probably still have a /opt/jboss in apachectl, don't you?
-
2. Re: HTTPD mod_cluster 1.2 ProxyPass does not work
pavel.orehov Apr 2, 2012 3:18 AM (in response to jfclere)No, I don't have /opt/jboss in apachectl.
-
3. Re: HTTPD mod_cluster 1.2 ProxyPass does not work
jfclere Apr 2, 2012 3:36 AM (in response to jfclere)weird what do you get when you do curl -v http://localhost:8000/myapp/static/?
-
4. Re: HTTPD mod_cluster 1.2 ProxyPass does not work
pavel.orehov Apr 2, 2012 8:15 AM (in response to jfclere)I get "Request URL not found" - 404 error.
-
5. Re: HTTPD mod_cluster 1.2 ProxyPass does not work
pavel.orehov Apr 2, 2012 8:33 AM (in response to pavel.orehov)I also changed all instances of "/opt/jboss" in all text files under httpd root folder, and HTTPD still tries to look for files under /opt/jboss.
Now I have about 10 binary files that include "/opt/jboss" string and I can't really change them
I hope that there is a solution for that, otherwise the HTTPD from JBoss repository is not really good and I will have to compile HTTPD manually for my Linux.
-
6. Re: HTTPD mod_cluster 1.2 ProxyPass does not work
jfclere Apr 2, 2012 8:59 AM (in response to pavel.orehov)try to add a -d your_home_for_http in the start of apachectl.
Well it should already be there.
That stuff works for me (I retested it today).
-
7. Re: HTTPD mod_cluster 1.2 ProxyPass does not work
pavel.orehov Apr 4, 2012 2:36 PM (in response to jfclere)Same error when started with:
./apachectl -d /export/home/httpd/httpd -k start
-
8. Re: HTTPD mod_cluster 1.2 ProxyPass does not work
jfclere Apr 5, 2012 3:28 AM (in response to pavel.orehov)weird :-(
What bundle are you using?
-
9. Re: HTTPD mod_cluster 1.2 ProxyPass does not work
pavel.orehov Apr 5, 2012 3:40 AM (in response to jfclere)Sorry, my stupid mistake - I disabled DocumentRoot directive, after enabled it now it looks for files in htdocs directory.
However, ProxyPass does not perform what I want or I have some mistake in configuration of that directive.
ProxyPass /myapp/static/images/ !
I would expect that only when I access http://host:port/myapp/static/images the HTTPD will look for content locally.
But it looks for content locally for http://host:port/myapp URL as well. Why ?
-
10. Re: HTTPD mod_cluster 1.2 ProxyPass does not work
pavel.orehov Apr 9, 2012 8:24 AM (in response to jfclere)I'm still having issues to configure ProxyPass to work as I expect. The documentation is a bit confusing.
I want to serve content locally only when user accesses http://host:6666/myapp/static URL but not when accesses any other URL which does not include the static word.
-
11. Re: HTTPD mod_cluster 1.2 ProxyPass does not work
jfclere Apr 10, 2012 2:05 AM (in response to pavel.orehov)hm you have ProxyPass /myapp/static/images/ ! may be you need ProxyPass /myapp/static/ ! ?