Hallo,
my Browser just displays the PHP source code when I request the file hardware on my private server (Windows XP, Apache, PHP 4.1.6)
The same code works very well if uploaded to a server on the internet. I probably have to change something in the Apache Configuration.
This is the .htaccess file located in the same folder as the file hardware
<Files hardware>
ForceType application/x-httpd-php
</Files>
Thanks for any help!
I fixed the problem: I just had to change in the httpd.conf file
AllowOverride None to All
and
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
to
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>