Back when I was running Sarge I had apache v1.3 and php5 working just
fine. I did a clean install when I switched to Etch, instead of using
'dist-upgrade.' When I did the install I installed apache2, instead of
apache v1.3.
I just tried to access the local copy of my site and I get a 404 Error
from apache2. I couldn't figure out why it did not find the site.
Figuring that it was probably a configuration problem, I looked in
/etc/apache2/apache2.conf. That didn't help. So I installed
apache2-doc, but could not view the docs properly. Firefox just
displayed the contents of the files, instead of rendering them. I
decided to give up on apache2, so I purged all of the apache2 packages
and installed apache, apache-doc, and php, along with their
dependencies. This got apache running again, and it will find and
correctly find and render my site (and its own docs), but when I try to
access the lone .php file on my site I get a prompt saying:
You have chosen to open
gallery.php
which is a: PHP File
from http://xander
What should Firefox do with this file?
Then it gives me the option to select a program to open it with, or save
to disk. Obviously, neither of these options is correct. If I save the
file, however, and then look at it, I see that apache has NOT
preprocessed the file, but has served it up as is. Apparently, apache
does not think that php is installed and so is not processing the file.
Then Firefox receives it and it should display it as html. Of course,
since it hasn't been preprocessed by apache Firefox will barf on the php
code embedded in the file, but it should still try to render it,
shouldn't it?
Can anyone help me in getting this to work? It all worked fine under
Sarge, but not now, under Etch.
The applicable entries from dpkg -l are:
[EMAIL PROTECTED]:~$ dpkg -l | grep apache
ii apache 1.3.34-4
versatile, high-performance HTTP server
ii apache-common 1.3.34-4
support files for all Apache webservers
ii apache-doc 1.3.34-4
documentation for the Apache webserver
ii apache2-utils 2.2.3-3.2
utility programs for webservers
ii libapache-mod-php5 5.2.0-8
server-side, HTML-embedded scripting language (apache 1.3 module
--
Marc Shapiro
[EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]