jessy wan
jessy wan

Reputation: 1

How to run PHP and Perl program in one server(Apache)

I want to put my PHP program on Apache server(there are existing Perl program running there). And I want to invoke those programs independently.

For example)

"http://my-address/existing-program" goes to Perl program,

on the other hand, "http://my-address/new-program" goes to PHP program.

I might need to modify "httpd.conf" but I am not sure how. Any advise would be helpful.

Kind regards.

Upvotes: 0

Views: 118

Answers (1)

CJG
CJG

Reputation: 175

You could use mod_rewrite calls in your httpd.conf file to intercept specific URLs and make sure they're routed and handled accordingly.

Hidden features of mod_rewrite

Upvotes: 1

Related Questions