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
467 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

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

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

Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
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 purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

733 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