Solved

Apache virtual host is not able to parse php extensions, when websphere module is included in httpd.conf file

Posted on 2006-11-08
3
464 Views
Last Modified: 2013-12-16
Hi experts,
                 I have coldfusion deployed on the websphere
                 
                 I am able to  see the coldfusion pages when the virtual host is at defualt port :80, but not php pages (only code is displayed)

                 PHP is working only when i change the port of virtual host from 80 to 90
                                                            or
                 when i remove websphere modules from httpd.conf  (in above both cases coldfusion is not working)

                 Can anyone please suggest the solution or point me the mistake i have made

Thanks
     
                 
0
Comment
Question by:nexus12345
3 Comments
 

Expert Comment

by:krynnalex
ID: 17903682
Hi nexus12345,

May I ask a few questions?
1. Am I correct that I guess your PHP module are loaded on Apache?
2. What version of WebSphere Application Server that you are using? better with edition.

According to your testing result, I believe your PHP is require to be running on Apache Engine, for sure, with PHP module configured properly, so I think you better to review your plugin cfg xml and see what kind of URI that it will pass to WAS (make sure PHP is not the type will be forwarded), and review your httpd.conf to see whether your Virtual Hosting plus PHP module are configure correctly in that conf file.

0
 
LVL 41

Expert Comment

by:HonorGod
ID: 17951148
Do you have a VirtualHost directive in your httpd.conf file that identifies how to get to you php module?
0
 
LVL 5

Accepted Solution

by:
Waswiz earned 500 total points
ID: 18306920
Are the PHP and coldfusion pages under same context root ?
Then you may have to edit the plugin-config.xml to remove the .php extensions from flowing to WAS.

Or you may disable the fileServing servlet on Websphere thus forcing these php tp run on Apache. You need to edit the ibm-web-ext.xmi and modify the "FileServing Enabled" to false.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now