Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

browser tries to download index.php

Status
Not open for further replies.

icemale75

Programmer
May 5, 2003
9
CA
When I click on the link to go to a php forum on my site (index.php) my browser tries to download the index.php file. I'm running Apache 1.3.22 and PHP 4.3.1 and clodfusion5.

I've already made these changes to my httpd.conf file:

AddType application/x-httpd-php .php

<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.cfm index.php
</IfModule>

AddModule mod_php4.c

I've also noticed that when i drop the www. from the front of my URL, everything works fine.

My site is
The URL giving me grief is
Any help is GREATLY appreciated
 
It comes up fine here. check your security settings for your browser. It seems like an end user problem.
 
I've set my browser security settings to the lowest they'll go and it still doesn't work. I've tried it on various other computers around the office and some of them worked, and some didn't. I tried the 3 computers at home and only one worked there. I'm really stumped!!
 
I tested it from 5 machines here, with ie 6+ and ns 6+ one with ns 7.0 and they all come up fine.


Could be that your server is &quot;crashing&quot; php and restarting it (dont know how) but I only get that &quot;download&quot; on php files when I crash my server, or PHP didn't restart with the server for some stpuid reason.
 
I find it strange too. Some work and some don't. Thanks for the input though; really appreciate it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top