I am a little confused about mod_alias and php include paths. I have used the alias directive in the past and it works but now I have a virtual hosting setup (unsing Virtualmin) and I can not get it too work.
I want a number of php pages to reside in a folder outside of all of the public folders of the virtually hosted sites. This seems easy enough to do and right now and it works to a certian extent. As a test I put some php code and plain html in the aliased files. When I call the pages only the html seems to processed...the php (simple echo) does not work.
Any ideas why? Do I have to include this aliased folder in my php include_path directive as well? Or is it a permissions problem? The virtual sites all have their own permissions...what do I set this other folder to or does it matter?
php include_path and apache mod_alias
Moderator: General Moderators