You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ricardo Stella <st...@rider.edu> on 2006/03/02 21:15:15 UTC

[users@httpd] Transitioning virtual hosts from Netscape...

Hello,

I'm transitioning from an old Netscape Enterprise Server to Apache2.2. 
One problem I'm having is with virual hosts (name base, same IP
address/port)

Netscape's Software Virtual Server allow you to define a specific home
page for a virtual host.  In this case, the structure was set us:

http://virutalhost

would actually load:

http://virtualhost/virtualhost/index.html

But everything within the virtualhost directory was based on realhosts's
root, and not based on virtualhost's root.  Kind of instead of setting a
different server root, it would instead set a different location for
index.html.

Would I have to implement this based on a rewrite rule or is there
something basic I'm missing ?

TIA...

-- 

°(((=((===°°°(((===========================================


Re: [users@httpd] Transitioning virtual hosts from Netscape...

Posted by Joshua Slive <jo...@slive.ca>.
On 3/2/06, Ricardo Stella <st...@rider.edu> wrote:
>
> Hello,
>
> I'm transitioning from an old Netscape Enterprise Server to Apache2.2.
> One problem I'm having is with virual hosts (name base, same IP
> address/port)
>
> Netscape's Software Virtual Server allow you to define a specific home
> page for a virtual host.  In this case, the structure was set us:
>
> http://virutalhost
>
> would actually load:
>
> http://virtualhost/virtualhost/index.html
>
> But everything within the virtualhost directory was based on realhosts's
> root, and not based on virtualhost's root.  Kind of instead of setting a
> different server root, it would instead set a different location for
> index.html.
>
> Would I have to implement this based on a rewrite rule or is there
> something basic I'm missing ?

I think you are looking for mod_vhost_alias.

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