Re: Add a directory

Giganews Newsgroups
Subject: Re: Add a directory
Posted by:  Álvaro_G._Vicario
Date: Fri, 02 Jul 2010

El 02/07/2010 9:40, Alpha Omega escribió/wrote:
> I have set the root directory on c:\myfolder.
> I would that apache could see docs in other directories, like c:\myfolder1.
> I work on windows 7 with apache2.2
> What have I to do?
> I'm newbye in apache configuration...

It depends on what you want exactly. Let's say that whatever you put in
"c:\myfolder" shows up in

If you want to see "c:\myfolder1" in your current site, you can use the
Alias directive:

    Alias /myfolder1/ c:\myfolder1

Now, points to c:\myfolder1

If you want to configure an entirely different site, you can create a
virtual host:

-- - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web:
-- Mi web de humor satinado:



In response to

Add a directory posted by Alpha Omega on Fri, 02 Jul 2010