Take content from subfolder but display '/'

Giganews Newsgroups
Subject: Take content from subfolder but display '/'
Posted by:  Pioterus (piotr…@gmail.com)
Date: Thu, 17 Sep 2009

Hi

To be clear. I have cms under /var/www/portal. DocumentRoot set to "/
var/www"

What I want is when user chooses http://www.mysite.com apache reads
content from 'portal' subfolder but at the same time display
http://www.mysite.com at web browser. So I'd like to remove (at some
point during rewrite?) the 'portal' part of the URL. Is it possible at
all?

The /var/www directory could look like this:
/var/www/portal
/var/www/webmail
/var/www/phpmyadmin
etc

Regards
P.

Replies