From: Brad Kowalczyk <[EMAIL PROTECTED]>
To: Jim Douglas <[EMAIL PROTECTED]>
CC: php-install@lists.php.net
Subject: Re: [PHP-INSTALL] PHP apps
Date: Sun, 07 May 2006 10:40:41 +1000
Jim Douglas wrote:
When I try this,
DocumentRoot /usr/opt/tomcat/webapps
Alias /myJSPapp /usr/opt/tomcat/webapps/myJSPapp/
Alias /PHPapp1 /usr/opt/tomcat/webapps/PHPapp1/
I can browse www.xxx.org/myJSPapp, no problem
When I browse www.xxx.org/PHPapp1 I get a blank screen, "view sourse" has
no code.
Any suggestions?
Thank,
Jim
Hey Jim,
Put an HTML or plain text file in /usr/opt/tomcat/webapps/PHPapp1/
and request that, see if you get any output. eg.
create /usr/opt/tomcat/webapps/PHPapp1/test.html
and go to www.xxx.org/PHPapp1/test.html
Cheers,
Brad
I get a blank page with plain HTML also...so waht is it about this HTTP.conf
that doesn't work,
<VirtualHost *:80>
ServerAdmin [EMAIL PROTECTED]
ServerAlias xxx.org *.xxx.org
DocumentRoot /usr/opt/tomcat/webapps
Alias /myJSPapp /usr/opt/tomcat/webapps/myJSPapp/
Alias /MyPHPapp /usr/opt/tomcat/webapps/MyPHPapp/
</VirtualHost>
Thanks for your help,
Jim