This is a discussion on Directory Alias Question??? within the Apache Web Server forums, part of the Web Server and Related Forums category; Gentlemen; Please help straighten out my mind with this??? In my conf file for each virtual host I have the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Gentlemen;
Please help straighten out my mind with this??? In my conf file for each virtual host I have the directive: Alias /inc/ /srv/www/sites/inc/ And my virtual server roots are in: /srv/www/sites/aaa /srv/www/sites/bbb /srv/www/sites/ccc In my code (PHP) which resides in each particular server root I reference some common modules in the above referenced /inc/ directory. When I do an "include" I must use the syntax "../inc/" because "/inc/" does NOT work. After researching my Apache2 books and the apache2 online docs I've tried the example "Alias /inc /srv/www/sites/inc" (without the trailing slash) with the same non-working results. Can anyone explain HOW one is supposed to define this to these aliases to a common directory will work? Thanks muchly!!! Bob |