Hello,
if there is defined a context for reverse proxy (eg. /tomcat_part), no php is executed on /tomcat_part. This thing you can do via redirect and pass the variable as url parameter, e.g. add param 'key' /tomcat_part/page.jsp?key=something

The client calls /php_part/page.php and page.php then forces to redirect client browser to /tomcat_part/page.jsp?key=something

Jan

HI all,

I am trying to pass a "PHP variable"   from Apache (2.2.15)  to Tomcat
(7.0.27) but without success.

The apache is used as front-end server of tomcat using mod_proxy_ajp.

I verified that I can pass only variable set by Apache (e.g. using
SetEnv directive);  How I can pass a variable set by PHP to Tomcat?

Cheers

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to