Hello
I use Tomcat 5.0.25 and I try to see one of my PHP file, file.php, through 
tomcat server.
A message ask me to download my file file.php; I cannot open it in my browser  
through tomcat server while I can easily do this through apache2 server.

I added this in $CATALINA_HOME/conf/web.xml:
        <welcome-file>index.php</welcome-file>
        <welcome-file>index.php5</welcome-file>
        <welcome-file>index.php4</welcome-file>
        <welcome-file>index.php3</welcome-file>

and 
    <mime-mapping>
        <extension>php</extension>
        <mime-type>application/x-httpd-php</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>php5</extension>
        <mime-type>application/x-httpd-php</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>php4</extension>
        <mime-type>application/x-httpd-php</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>php3</extension>
        <mime-type>application/x-httpd-php</mime-type>
    </mime-mapping>

and put libphp4.so and phpsrvlt.jar in $CATALINA_HOME/common/lib/

But it doesn't work.
What can I do now ?

Thanks

-- 
Sebastien MORETTI
Linux User - #327894


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to