|
|
| Author |
Message |
|
| Guest |
Posted: Fri Oct 19, 2007 8:52 am |
|
|
|
Guest
|
Hi,
Just some questions about yaws and mnesia.
Is it possible to have one mnesia database (node?) per virtual host ?
The goal is to have a database per website. It's a bit dangerous to regroup all the table of all websites in one big database.
The perfect thing will be to enter the mnesia directory and a node name into the virtualhost definition in yaws.conf like this :
<server www.mydomain.org>
|
|
|
| Back to top |
|
| Guest |
Posted: Fri Oct 19, 2007 10:25 am |
|
|
|
Guest
|
Greg Burri wrote:
> Hi,
> Just some questions about yaws and mnesia.
>
> Is it possible to have one mnesia database (node?) per virtual host ?
No.
> <server www.mydomain.org <http://www.mydomain.org>>
> port = 80
> listen = 0.0.0.0 <http://0.0.0.0>
> docroot = /var/yaws/www/website1
> mnesia_dir = /var/yaws/www/website1/mnesia_scheme
> mnesia_node_name website1
> </server>
>
Not doable with Mnesia, there is no virtualization
support in mnesia, you'll have to use the same Mnesia
instance for all virt hosts.
/klacke
--
Claes Wikstrom -- Caps lock is nowhere and
http://www.tail-f.com -- everything is under control
cellphone: +46 70 2097763
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|