apache and php scripts
i am trying to get a .php script to run via apache. i have other
cgi scripts running for other aliased paths but none for .php.
i have installed the php4 package via apt-get.
my alias in http.conf for this script is:
#
# Alias for oscommerce added 08/02/04 by hhc
#
Alias /oscommerce/index.html /var/www/oscommerce/catalog/index.php
<Directory /var/www/oscommerce/catalog/index.php>
Options ExecCGI Includes FollowSymlinks
AddHandler cgi-script .php .cgi .sh .pl
</Directory>
and i can get to the target directory. however, the contents of the
directory are displayed in the browser. also, when i click on a .
php file, i am prompted to download the file.
in the apache error log, the line:
[notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache/suexec)
is logged which i have read is a good thing.
does anyone have suggestions as to what i am doing incorrectly?
Reply to: