I've configured my Apache with an alias to another directory in the httpd.conf like this:
Alias <a_dir> "<full path>"
This works fine for regular HTML documents like <a_dir>/home.html
, but PHP-files like <a_dir>/script.php
are not processed on the server (i.e. servered to the browser as a regular text-file).
As far as I can tell, PHP is properly installed - in the "normal" directory the files are processed. I've tried to also include a ScriptAlias
, but that didn't change anything.
What am I missing?