Re: [PHP4BETA] Servlet Running problem
| From: | Lim Swee Tat | Date: | Thu, 11 May 2000 21:42:27 +0000 |
| Subject: | Re: [PHP4BETA] Servlet Running problem | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-14825@lists.php.net to get a copy of this message | ||
Did that and the problem persisted when I specify the page by typing in the
location. May be something to do with the cache. Will check later.
Ciao
ST Lim
--
Lim Swee Tat
Software Engineer
NCS Corporate IS Dept
DID: (65) 774 9177
On Thu, 11 May 2000 rubys@us.ibm.com wrote:
>
>
>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.
>
>
>