|
Posted by Jim Carlock on 01/20/06 02:14
I've set up the following using an Alias in Apache...
Alias /phpdocs/ "C:/Apache/htdocs/common/docs/php/"
<Directory "C:/Apache/htdocs/common/docs/php">
Options Indexes FollowSymlinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
It works well for HTML, all sites have access to the information.
I want to extend that to PHP require() and include() functions,
however the following maps out to an incorrect folder. Okay,
that's fine. My questions include, does PHP provide something
that maps out to the Apache Alias directive?
The common folder currently sits up two folders (../..) to the
VirtualHost folders. I realize that possibly a PHP "include_path"
directive could work. So the next question, anyone know of
another way to accomplish this?
Thanks.
Jim Carlock
Post replies to the newsgroup.
Navigation:
[Reply to this message]
|