Who do you want to run the PHP script? Apache or JBossAS?
From my reading of your post, it appears that you went through a lot of trouble to configure JBossAS to run PHP scripts, but now you want Apache to run those scripts instead.
The scripts run on JBoss,
But the jboss server is accessed through apache.
so when you load
port 8080 being jboss http port
the php runs fine.
My setup requires jboss to be accessed on port 8009 the ajp port, by apache
i.e. Apache is a public interface.... jboss is local, but accessed by apache
when I load
script 'mypage.php' not found or unable to stat
Did you set up the mod_jk config such that *.php requests are forwarded to JBossAS? Try adding the following to the mod-jk.conf file (where xxx is the worker name you defined):
JkMount /*.php xxx
I mount everything
heres what i have
JkMount /* loadbalancer
I'll try with *.php and see what happens
there is an include conf.d/*.conf
in conf.d ,as well as mod_jk.conf,
there is a php.conf, which loads the apache php module and adds a handler for php files
I remove php.conf
and the redirect works
I should have seen this before.....
this problem has annoyed me for weeks now,
I had it in two php forums without any reply