Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Network & Security
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Network & Security Any network and / or security related questions should be posted in here.

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-Mar-2006, 12:40
hwanie
Guest
 
Posts: n/a
Default

When I type "http://localhost/" in Internet Explorer , I get the following message:

"File Download Security Warning. Do you want to save this file?"

The weird thing is that I get the expected page when I type "http://localhost/index.html".

I recently installed PHP by using YaST and added the following lines into the httpd.conf file:

AddType application/x-httpd-php .php .php3 .php4 .inc .html .thtml
AddType application/x-httpd-php-source .phps

I am such a beginner. Please help me out here?
  #2 (permalink)  
Old 02-Mar-2006, 13:54
strutter
Guest
 
Posts: n/a
Default

is it the same thing in Firefox and konqueror ?
  #3 (permalink)  
Old 02-Mar-2006, 15:19
Eds
Guest
 
Posts: n/a
Default

Quote:
When I type "http://localhost/" in Internet Explorer , I get the following message:

"File Download Security Warning. Do you want to save this file?"
[/b]
You obscured the filename, but I'm guessing it's a .php file.

You see this symptom when php is incorrectly installed in Apache.

Instead of 'serving' the page (translating it and sending it to the browser), it tries to send it as a download.
Php scripts only make sense to a server, not a browser, so the browser can't make sense of it and offers to save it instead.

Look to your php integration for the fix.

If you've only just installed it, apache needs to be restarted before it will serve php pages.

Eds
 

Bookmarks

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
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2