Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » How to serve PHP pages on jetty server with Apache Karaf?
How to serve PHP pages on jetty server with Apache Karaf? [message #1845091] Wed, 06 October 2021 09:59
Luis Temporal is currently offline Luis TemporalFriend
Messages: 1
Registered: October 2021
Junior Member
Hello.

Iḿ trying to deploy a PHP web application with Apache Karaf using Jetty server.
I don't know how to configure ${KARAF_HOME}/etc/jetty.xml file to serve PHP pages.
With the following configuration i can view the structure of the directory, but doesn't interpret PHP files:

<Get name="handler">
<Call name="addHandler">
<Arg>
<New class="org.eclipse.jetty.servlet.ServletContextHandler">
<Set name="contextPath">/</Set>
<Set name="resourceBase">${KARAF_HOME}/data/pax-web-jsp
</Set>
<Call name="addServlet">
<Arg>org.eclipse.jetty.servlet.DefaultServlet</Arg>
<Arg>/</Arg>
</Call>
</New>
</Arg>
</Call>
</Get>

Any idea how can deploy PHP pages using native CGI of PHP? Thanks.
Previous Topic:Error with Codeigniter 4.1.4
Next Topic:How do i get started?
Goto Forum:
  


Current Time: Tue Nov 29 02:28:21 GMT 2022

Powered by FUDForum. Page generated in 0.02654 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top