Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Virtual Directories |
|
Author |
|
wibo
Joined: 13 Feb 2008 Posts: 2
|
Posted: Wed 13 Feb '08 13:29 Post subject: Virtual Directories |
|
|
Hi, ive just recently taken the plunge from IIS to apache 2.2. The issue i have is that in IIS you're able to create "Virtual Directories" that is directories that don't exist within that site but can be included from outside, i often do this with a common folder that holds all my scripts so that any updates made to one script are passed throughout the sites. I was wondering if apache has a function like Virtual Directories, as ive not been able to find any ino on it
thanks for your time
will |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 13 Feb '08 13:38 Post subject: |
|
|
There is mod_alias
Code: |
Alias /icons/ "c:/apache2/icons/"
<Directory "c:/apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
|
It is only a bit tricky with Alias /icons/ vs. Alias /icons |
|
Back to top |
|
wibo
Joined: 13 Feb 2008 Posts: 2
|
Posted: Wed 13 Feb '08 14:08 Post subject: |
|
|
thanks alot James that worked perfect |
|
Back to top |
|
|
|
|
|
|