I was basically trying to implement a sample project and following the instructions as given in the site
"http://code.google.com/webtoolkit/doc/1.6/DevGuideServerCommunication.html#DevGuideRPCDeployment".My
tomcat 5.5 is up and running.When i hit the URL
"http://localhost:8080/stockwatcher/stockwatcher/stockPrices" i get
HTTP Status 405 - HTTP method GET is not supported by this URL.
I am ok with above 405 error.
Now I have installed apache tomcat2.2 (httpd-2.2.21-win32-x86-no_ssl.msi) by downloading from apache website.I want to implement reverse proxy so i do as the site says
("
http://code.google.com/webtoolkit/doc/1.6/DevGuideServerCommunication.html#DevGuideRPCDeployment"). So the general idea is to setup Apache to redirect ONLY requests to your
servlets. That way Apache will serve all the static content, and your Tomcat server will only be used for service calls.
Steps which i did)
1) uncommented "LoadModule proxy_module modules/mod_proxy.so" from
httpd conf file
2)added
ProxyPass /stockwatcher/stockwatcher/stockPrices http://localhost:8080/stockwatcher/stockwatcher/stockPrices
in
httpd.conf file
3) Remember i told earlier that when i hit "http://localhost:8080/stockwatcher/stockwatcher/stockPrices" url i get 405. That is what i
expect when i hit "localhost:80/stockwatcher/stockwatcher/stockPrices"
4)My apache tomcat runs on port 80, so i expect when i hit "localhost:80/stockwatcher/stockwatcher/stockPrices", it should
redirect me to
"http://localhost:
8080/stockwatcher/stockwatcher/stockPrices"
5)My apache tomcat comes up fine,because when i try to access static content,it displays the html page
6)But when i give "http://localhost:80/stockwatcher/stockwatcher/stockPricesl"
I
get below error
Server Error (500 internal server error)
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator, blah blah ......
Please help.
. I have been trying for hours and searched the apache sitoo ,but iam unable to get it working