/    Sign up×
Community /Pin to ProfileBookmark

runnig PHP and JSP & ColdFusion from the same file

Hi everyone! I just configured my Apache to treat and parse all my .html files through the PHP parsing engine so all my dynamic pages on my website have a .html extension. But I want to go crazy and see if there is any way to configure Apache, or any other server to parse the .html page for PHP and then pass this parsed page to the, let’s say, server that handles JSP or ColdFusion processing (like JRun for example) before sending it back to the user, after wich the last server will parse it for its own language and then send HTTP response to the client. This would allow using some of the benefits from each of those languages (at least in theory, probably very bad one too), although I do understand it would also involve some processing delay. Thanks! ?

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@AdamGundrySep 27.2004 — It would certainly add considerable overhead, and with the maintenance drawbacks it's probably not worth doing. However, it could probably be done in theory by writing a program which handed the request off to each program in turn.

Adam
×

Success!

Help @etrader_x11 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...