httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francois Gingras <francois.ging...@gmail.com>
Subject Re: [users@httpd] How to set multisites: same domain, different path, one ip address
Date Sat, 16 Jan 2010 13:51:18 GMT
2010/1/16 Jiongliang Zhang <zhnzhong521@gmail.com>:
> I have implement something like this:
>
> <virtualhost :80>
>     mailman is here,
> </virtualhost>
>
> <virtualhost :8080>
>     redmine is here.
> </virtualhost>
>
> so when I using mydomain:80 and mydomain:8080, I can request both of them.
> But now I have new reqirements, I hope using mydomain/mailman and
> mydomain/redmine
> to identify them, just like:
>
>     http://mydomain/mailman
>     http://mydomain/redmine
>
> on ubuntu server 8.04, apache2.2, ip: 192.168.1.128, domain: mydomain
>
> mailman path:  /var/lib/mailman/*
> redmine path: /var/lib/redmine/*
>
> How can I do this. (I'm newbee on apache)
>
> ---
> Best regards´╝ü
> Thanks
> Jiongliang Zhang
>

Use an alias:

http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias

Frank

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


Mime
View raw message