Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-22-2006, 03:55 AM   #1
Registered: Sep 2005
Posts: 201

Rep: Reputation: 30
web server wants me to download something...

I set up a webserver following stanton finley's guide and when I go to it says:

You have chosen to open

which is a: application/x-http-php
from: http://url

What should Firefox do with this file? yadayada.
I'm completely new, I will do lots of reading about web servers but for now I just wanted to get something up and running... Any suggestions?
Old 07-22-2006, 05:21 AM   #2
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (
Posts: 1,900

Rep: Reputation: 69
Oops, read your server docs first, really. In Apache httpd read about AddHandler/AddAction. And check you have php installed at all (or mod_php installed anf configured), read its manual too. You didn't explain to server how do you want it to handle .php files. Default for unknown files is to let user download it, while you want it to be executed on server. To get something up and running, try putting simple html page.
Old 07-22-2006, 08:56 AM   #3
Registered: Sep 2005
Posts: 201

Original Poster
Rep: Reputation: 30
Hello, thanks. I tried various combinations of things and at this point I can get it to display the html but it also comes up with a thing that asks me to download. (the only file in the www/http directory is index.html) I dont know why it does this, and also when i do: "apachectl -l" i get: core.c

and that is all, so I dont have the mod_php. I'm wondering what is the most efficient way to install mods? They can be installed I know because of mod_so.c right?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
adding more web servers to make web server farm linuxboy69 Linux - Networking 5 07-09-2004 09:50 AM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM
Jerky mouse when web browsers download web page stodge Linux - Software 1 07-08-2003 10:29 PM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 02:38 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration