Directory Alias Question???

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-11-2006
bobmct
 
Posts: n/a
Default Directory Alias Question???

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




  #2 (permalink)  
Old 07-11-2006
bobmct
 
Posts: n/a
Default Re: Directory Alias Question???

Davide Bianchi wrote:

> Meaning: apache is not involved in that, is strictly directory-based.


Doh! Thank you... no on to php.net.

Thanks,

Bob
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:56 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0