If your using the latest beta of sambar then yes I am correct. Also if you are then when you use the admin login and go to http then vhost and setup a new vhost you will see the input box for mappings/alias file. If you enter something there you will see that the line I give would be added to the vhost.ini

As far as the other is concerned I would think you thinking to be correct but I have never tested it to say yes or no.

Chris

[EMAIL PROTECTED] wrote:

Hi Chris,

Thanks for your reply.
From what I have read there seems to be lot of confusion
on how to configure this correctly.
However, it seems that your approach looks quite good.
Can you confirm that the directive 'Mapping File' is officialy supported and can be used in the vhosts.ini?


Another question:
As far as I understand this, every setting NOT stated in the
the individual vhosts.inis is taken from the (global) mappings.ini.
I mean for example that is makes sense to map individual
settings in each vhosts.ini, but for the ISAPI it should be
configured only once in the mappings.ini and not in every single vhosts.ini.
Or in short:
What ever is not configured in one of the vhosts.inis is taken
from the 'global' mappings.ini, correct?

Thanks and best regards,
Marcus


-----------------

The entry in the vhost.ini for the mapping file for your example I believe should be.

[*vhost4]
Mapping File = c:/sambar61/config/vhost4.ini

I believe full paths must be used for all entries in the vhost.ini for files that are not using the default settings.

Peter are you using the June 4th build? I had to roll back myself. The June 4th build mail server does not work correctly.

Chris

Peter wrote:

Here you go I should have read this first bfore I posted my last post.
Chances are you will add a line to the vhost.ini file like below and add
the file to the config dir. Just guessing though.


[*vhost4]
mapping = vhost4.ini



CGI Run As >>>Default IRC Channel = vhost4
Default User Max Space = 5
Default User Privileges = 1
Documents Directory = H:/vhost4/
Default Page = index.stm index.html index.htm index.php index.asp
LDAP Authentication = false
Maximum Users = 0
NT Authentication = false
Password File >>>Radius Authentication = false
SQL AUTH Cache = vhost4
SQL AUTH Query = SELECT grp, name, dir, privs, ftpmax FROM member WHERE
username = '%N' AND password = '%1'
SQL Authentication = true
Search Index = vhost4
Security Realm = vhost4
Tmp Directory = tmp
Log File = vhost4.log
Automatic Log mailto >>>CGI Directory = H:/vhost4/cgi-bin/
Use MD5 crypt = false
Use SHA1 crypt = false
Use Unix crypt = false
User Max Space = 5
VHost Administrator >>>WEB-INF Directory >>>WebBoard DB Cache = vhost4
WinCGI Directory >>>Messages Directory = messages



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









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





Reply via email to