Re: PHP variables for mod_proxy_ajp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux