I have apache started. Document Root is /srv/www/htdocs. The site I am working on is in /mnt/bdrive/development/newsite. In that directory are index.htm and mypage.php. index.htm comes up in the browser, with a link to mypage.php.When I click on this link, it does not display the page, instead firefox says:
You have chosen to open mypage.php
which is a: PHP file
from: /srv/www/htdocs/MySite
What should firefox do with this file?
Open with [Browse]
Save to disk
In /srv/www/htdocs I have a link to /mnt/bdrive/development/newsite/
I have this in /etc/apache2/httpd.conf:
Code: Select all
AddType application/x-httpd-php .phpCode: Select all
# generated from APACHE_MODULES in /etc/sysconfig/apache2
Include /etc/apache2/sysconfig.d/loadmodule.confCode: Select all
LoadModule php4_module /usr/lib/apache2-prefork/libphp4.sohttpd.conf also has this:
Code: Select all
Alias /newsite/ "/mnt/bdrive/development/newsite/mypage.php"
<Directory "/mnt/bdrive/development/newsite/">
Order deny,allow
Allow from all
</Directory>
ScriptAlias /newsite "/mnt/bdrive/development/newsite/mypage.php"
<Directory "/mnt/bdrive/development/newsite/">
Order deny,allow
Allow from all
</Directory>Running SuSE 9.2
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:1. Select the correct board for your query. Take some time to read the guidelines in the sticky topic.