From: <php...@li...> - 2010-09-22 06:54:24
|
jboss/jetty or jboss/tomcat? On 9/21/10, php...@li... <php...@li...> wrote: > Hi, > > I am running > > - on MacOSX > - php-cgi compiled using Macport. > - latest php-java-bridge > - JBOSS 4.0.3 > - I do not have the doc_root variable set in my php.ini > > I can access the test.php page (which is a call to phpinfo) fine from > php-cgi directly, or when I place it one level from my web app root. But I > get "No input file specified." on the page when I place the file under a > directory. > > Here are the various environment parameters that is useful for debugging. > For me, it looks like both SCRIPT_NAME and SCRIPT_FILENAME are wrong. > > This fails > > https://localhost:8080/ctx/directory/directory/test.php > > PATH_INFO=/test.php > PATH_TRANSLATED=/<JBOSS_HOME>/server/myserver/./deploy/ctx.war/test.php > SCRIPT_NAME=/ctx/directory > SCRIPT_FILENAME=/<JBOSS_HOME>/server/myserver/./deploy/ctx.war/directory > > This works > > https://localhost:8080/ctx/test.php > > SCRIPT_NAME=/ctx/test.php > SCRIPT_FILENAME=/<JBOSS_HOME>/server/myserver/./deploy/ctx.war/test.php > > What can be done? > > Thanks. > > Theen-Theen > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |