Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th March 2010, 13:44
macmillaninc macmillaninc is offline
Member
 
Join Date: Dec 2008
Location: Georgetown, KY
Posts: 31
Thanks: 13
Thanked 0 Times in 0 Posts
Unhappy PHP pages want to download

Hi all,
I am at a loss. Some of the PHP pages want to download instead of open in a browser. I have read these forums (and others). I have searched and searched. I have checked my php.ini and httpd.conf. We cannot figure out what we are missing.

Any ideas as to where we should look for this setting?

Running: Fedora 12, php5, Apache 2, mySql

Additionally, this is happening in OpenX 2.8.5

Last edited by macmillaninc; 11th March 2010 at 17:50.
Reply With Quote
Sponsored Links
  #2  
Old 12th March 2010, 10:45
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Thats a problem with your http configuration which is not detecting those files as being handled by php
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
The Following User Says Thank You to topdog For This Useful Post:
macmillaninc (12th March 2010)
  #3  
Old 12th March 2010, 13:00
macmillaninc macmillaninc is offline
Member
 
Join Date: Dec 2008
Location: Georgetown, KY
Posts: 31
Thanks: 13
Thanked 0 Times in 0 Posts
Default

I have recently determined that this only happens with php page links that contain an "&". I am looking into the arg_separator options.

It is strange that this was NOT happening before.
Reply With Quote
  #4  
Old 12th March 2010, 15:51
macmillaninc macmillaninc is offline
Member
 
Join Date: Dec 2008
Location: Georgetown, KY
Posts: 31
Thanks: 13
Thanked 0 Times in 0 Posts
Default

I'm stumped!
Reply With Quote
  #5  
Old 17th March 2010, 18:11
BorderAmigos BorderAmigos is offline
Senior Member
 
Join Date: Apr 2008
Location: San Diego & Tijuana
Posts: 302
Thanks: 26
Thanked 33 Times in 31 Posts
Send a message via MSN to BorderAmigos Send a message via Yahoo to BorderAmigos
Default

Can you post an example of links that don't work? If the ? is missing the server could be mistaking your arguments for file extensions and not seeing them as php.

Right: http://example.com/index.php?arg1=val1&arg2=val2
Wrong: http://example.com/index.php/arg1=val1&arg2=val2
Wrong: http://example.com/index.php&arg1=val1&arg2=val2
etc.
__________________
System6Hosting.com, ISPConfig 3, Debian.
Reply With Quote
The Following User Says Thank You to BorderAmigos For This Useful Post:
macmillaninc (17th March 2010)
  #6  
Old 17th March 2010, 18:57
macmillaninc macmillaninc is offline
Member
 
Join Date: Dec 2008
Location: Georgetown, KY
Posts: 31
Thanks: 13
Thanked 0 Times in 0 Posts
Default

The links are like this;

...domain.tld/openx/www/admin/advertiser-campaigns.php?clientid=57&campaignid=89
Reply With Quote
Reply

Bookmarks

Tags
download, php, php5, script

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 08:20
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06
ispconfig php 5 errors itamarjp Installation/Configuration 8 25th April 2008 10:20
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18


All times are GMT +2. The time now is 12:44.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.