You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Muhammad Rizwan <ri...@nixpanel.com> on 2005/11/28 13:53:24 UTC

[users@httpd] Virtual directories

Hello

I want to ask about Virtual directories in Apache, i.e. how i can create
Virtual directories in Apache. How i can map and use them in my domain
(i.e. lets say www.domain.com).

Any idea,

Thanks


---------------------------------------------------------------------
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 Joshua Slive <jo...@slive.ca>.
On 1/20/06, Muhammad Rizwan <ri...@nixpanel.com> wrote:
> Hello
>
> Is it possible to add more then one Alias entry in one Virtual host,
> e.g.
> Alias /AliasDirectory "/to/my/path/in/DD"
> Alias /AliasDir "/to/my/path/in/EE"

Yes. You need to list the most specific entry first.

Joshua.

---------------------------------------------------------------------
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 Muhammad Rizwan <ri...@nixpanel.com>.
Hello

Is it possible to add more then one Alias entry in one Virtual host,
e.g.
Alias /AliasDirectory "/to/my/path/in/DD"
Alias /AliasDir "/to/my/path/in/EE"

Thanks!

On Tue, 2005-11-29 at 10:23, Nico wrote:
> 2005/11/28, Muhammad Rizwan <ri...@nixpanel.com>:
> 
> > Hello
> >
> > I want to ask about Virtual directories in Apache, i.e. how i can create
> > Virtual directories in Apache. How i can map and use them in my domain
> > (i.e. lets say www.domain.com).
> >
> > Any idea,
> 
> You mean by "Virtual Directorie" as an alias ? Not Virtual Host, right ?
> For aliases, with the command Alias in your Configuration Apache file,
> or in a .htaccess file :
> 
> Alias /AliasDirectory "/to/my/path/in/DD"
> 
> <Directory "/AliasDirectory">
> #    Allow from all
> </Directory>
> 
> All explain in here (if you have the version 2.x)
> http://httpd.apache.org/docs/2.0/mod/mod_alias.html
> 
> 
> --
> nico
> #ICQ 271251599 | AllIM #nyykayx
> 
> ---------------------------------------------------------------------
> 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
> 


---------------------------------------------------------------------
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 Nico <ni...@gmail.com>.
2005/11/28, Muhammad Rizwan <ri...@nixpanel.com>:

> Hello
>
> I want to ask about Virtual directories in Apache, i.e. how i can create
> Virtual directories in Apache. How i can map and use them in my domain
> (i.e. lets say www.domain.com).
>
> Any idea,

You mean by "Virtual Directorie" as an alias ? Not Virtual Host, right ?
For aliases, with the command Alias in your Configuration Apache file,
or in a .htaccess file :

Alias /AliasDirectory "/to/my/path/in/DD"

<Directory "/AliasDirectory">
#    Allow from all
</Directory>

All explain in here (if you have the version 2.x)
http://httpd.apache.org/docs/2.0/mod/mod_alias.html


--
nico
#ICQ 271251599 | AllIM #nyykayx

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