Hi guys,

First of all, thanks a lot for your help and fast answers!
However I think you guys explained something that was already
possible in Sambar 6.0.1. But now, in the Readme for 6.1 it says:
>Modified server to allow "mappings.ini" file on a per-virtual host basis.

Let me explain:
In the mappings.ini you say for example:
"d:\docs maps" to "mydocs"
Now in your domain "domain1" this gives you:
http://domain1/mydocs points to d:\docs
However if you have setup also a "domain2" in your vhosts.ini
THEN http://domain2/mydocs ALSO points to d:\docs because
there's only ONE mappings.ini and all vhosts share the same mappings.
This means that all mappings that are valid for domain1 are also
valid (ie accessable) for domain2, domain3, etc.

This is why it says in the documentation for 6.0.1:
>Aliases and CGI-aliases apply to all virtual hosts of the server

As written above, as soon as I setup an alias I can access it under
ALL virtual hosts. There is (was) no way to prevent that an alias
was visible thru all vhosts. But now it says in the changelog for 6.1:
>Modified server to allow "mappings.ini" file on a per-virtual host basis.
This means you can have more than one mappings.ini, in fact you can
have one for each vhost. And what you map for one vhost can not
be 'seen' (is not accessable) by another vhost. The question is now how
do I configure an individual mappings.ini for EACH vhost???

Thanks again for your help!!!

Rgds,
Marcus




-----------------
>Or you can wildcard the vhost [*domain.com]
>
>
>
>-----Original Message-----
>From: "Dave Culbertson" <[EMAIL PROTECTED]>
>To: "sambar List Member"  <[EMAIL PROTECTED]>
>Date: Mon, 07 Jun 2004 22:16:12 -0400
>Subject: [sambar] Different mappings for different virtual hosts
>
>> You can if you wish have a drive letter and directory assignment
>> specific to each and every vhost. When you setup the vhost itself just
>> enter the actual location for that vhost for example on drive Z in a
>> directory host1 you would enter Z:/host1/ in the vhost setup. The
>> default entry is /docs/host1/ which is what you see documented. Don't
>> forget to do the same for www.host1.whatever.com and so forth.
>>
>> Dave Culbertson
>>
>> On Mon, 7 Jun 2004 21:53:25 +0200, <[EMAIL PROTECTED]>
>> wrote:
>> > I am trying to assign a drive (or folder on a drive) specificly  for
>> > each virtual host.
>> >
>> >
>> > -----------------
>> > >Are you just trying to set up virtual hosts with different document
>> > >directories. or are you wanting to assign a drive specific to each
>> virtual
>> > >host?
>> > >
>> > >
>> > >-----Original Message-----
>> > >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> Behalf
>> > >Of [EMAIL PROTECTED]
>> > >Sent: Sunday, June 06, 2004 5:18 PM
>> > >To: sambar List Member
>> > >Subject: [sambar] Different mappings for different virtual hosts
>> > >
>> > >
>> > >Hi,
>> > >
>> > >I have Sambar 6.0.1 running fine and stable on an intranet LAN.
>> > >
>> > >However I would like to use different mappings for different
>> > >virtual hosts. For example use the folder 'images_a' for vhost A
>> > >and the folder 'images_b' for vhost B. And the 'b' folder must not
>> > >be accessable (visible) for vhost A and vice versa. Now I read in
>> the
>> > >readme for the 6.1 version:
>> > >
>> > >>Modified server to allow "mappings.ini" file on a per-virtual host
>> basis.
>> > >
>> > >Unfortunately I could not find in the documentation how this is
>> done.
>> > >I read somewhere that each vhost now can have it's own mapping.ini.
>> > >1. How is this configured?
>> > >2. Is it neccessary to repeat the ISAPI (and other global) settings
>> in
>> > >each of those individual ini's?
>> > >3. Where do I tell the server that I have now vhost A .ini and vhost
>> B.ini?
>> > >
>> > >Thanks to all for your help!
>> > >
>> > >Best regards,
>> > >Marcus
>> > >
>> > >-------------------------------------------------------
>> > >To unsubscribe please go to http://www.sambar.ch/list/
>> > >
>> > >
>> > >-------------------------------------------------------
>> > >To unsubscribe please go to http://www.sambar.ch/list/
>> > >
>> > >
>> > >
>> >
>> > -------------------------------------------------------
>> > To unsubscribe please go to http://www.sambar.ch/list/
>> >
>> >
>> >
>> >
>> >
>>      
>>
>>
>>
>> -------------------------------------------------------
>> To unsubscribe please go to http://www.sambar.ch/list/
>>
>>
>
>-------------------------------------------------------
>To unsubscribe please go to http://www.sambar.ch/list/
>
>
>

-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/



Reply via email to