php include_path and apache mod_alias

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
bhm8hwcm
Forum Newbie
Posts: 9
Joined: Mon May 05, 2003 10:53 am

php include_path and apache mod_alias

Post by bhm8hwcm »

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?
Post Reply