You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Paulo Jorge de Oliveira Cantante de Matos <po...@netvisao.pt> on 2003/11/02 17:17:59 UTC

[users@httpd] Getting forums.bar.com to the right place

Hi all,

I have Apache2 installed and working. I've installed phpBB at
/home/httpd/phpbb and if I go to http://localhost/phpbb I get what I
want. Imagine I register a name bar.com. How can I make Apache2 upon
receiving a request for forums.bar.com it redirects the call to the
correct location?

Best regards,
-- 

Paulo J. Matos : pocm@mega.ist.utl.pt
Instituto Superior Tecnico - Lisbon
Computer and Software Eng. - A.I.
 - > http://mega.ist.utl.pt/~pocm
---
        -> God had a deadline...
                So, he wrote it all in Lisp!


---------------------------------------------------------------------
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] Getting forums.bar.com to the right place

Posted by Joshua Slive <jo...@slive.ca>.
On Sun, 2 Nov 2003, Paulo Jorge de Oliveira Cantante de Matos wrote:
> I have Apache2 installed and working. I've installed phpBB at
> /home/httpd/phpbb and if I go to http://localhost/phpbb I get what I
> want. Imagine I register a name bar.com. How can I make Apache2 upon
> receiving a request for forums.bar.com it redirects the call to the
> correct location?

See the documentation for "virtual hosts".  Let us know if you have more
specific questions.

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