Re: [PHP4BETA] Servlet Running problem
| From: | rubys at us dot ibm dot com | Date: | Thu, 11 May 2000 06:53:51 +0000 |
| Subject: | Re: [PHP4BETA] Servlet Running problem | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-14818@lists.php.net to get a copy of this message | ||
Lim Swee Tat wrote:
>
> <servlet-mapping>
> <servlet-name>php</servlet-name>
> <url-pattern>*.php</url-pattern>
> <url-pattern>*.php3</url-pattern>
> </servlet-mapping>
>
>As you can see, all url-patterns with *.php3 should map to
>net.php.servlet. But it is not doing so
Try:
<servlet-mapping>
<servlet-name>php</servlet-name>
<url-pattern>*.php</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>php</servlet-name>
<url-pattern>*.php3</url-pattern>
</servlet-mapping>
> 4. As pointed out in error 2 above, the path for the servlets are
> wrong. The include_path setting should be the default directory that
> the php files are residing in. But it is not looking there at all.
If you are adventurous, try uncommenting the #define VIRTUAL_DIR in php.h.
While this support is experimental, it appears to work for me.
- Sam Ruby
P.S. I will look into the ./configure --with-servlet error today.
Something must have changed on me since RC1.