You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by wibo <we...@gmail.com> on 2008/02/13 12:33:54 UTC

[users@httpd] 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 info on it

thanks for your time

will
-- 
View this message in context: http://www.nabble.com/Virtual-Directories-tp15455650p15455650.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Virtual Directories

Posted by wibo <we...@gmail.com>.


Nick Kew wrote:
> 
> On Wed, 13 Feb 2008 03:33:54 -0800 (PST)
> wibo <we...@gmail.com> wrote:
> 
>> 
>> 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.
> 
> That's fairly common practice with Apache too: for example, hosting
> companies may offer a /cgi-bin/ for all users containing widely-used
> scripts.
> 
> More generally, you're probably looking for the Alias directive.
> 
> -- 
> Nick Kew
> 
> Application Development with Apache - the Apache Modules Book
> http://www.apachetutor.org/
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 


thats exactly what i was after, thank you so much, now just have to go
through code and change them all to the same case :(

-- 
View this message in context: http://www.nabble.com/Virtual-Directories-tp15455650p15458491.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Virtual Directories

Posted by Nick Kew <ni...@webthing.com>.
On Wed, 13 Feb 2008 03:33:54 -0800 (PST)
wibo <we...@gmail.com> wrote:

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

That's fairly common practice with Apache too: for example, hosting
companies may offer a /cgi-bin/ for all users containing widely-used
scripts.

More generally, you're probably looking for the Alias directive.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org