Hi Gianluca, Currently mongoose does not support rewrites based on "Host:" header (i.e. domain name). That is planned in the next release, scheduled in couple of weeks time.
Sergey. On Tue, Feb 18, 2014 at 11:53 PM, gianluca napolitano <[email protected]>wrote: > Hello > I'm new to the group and mongoose. > I need to allow multiple web sites to run on same mongoose instance of > mongoose.exe (on the same port). > > I understand there is this example: > # Implement user home directories support > url_rewrites /~joe/=/home/joe/,/~bill=/home/bill/ > > Anyway I need to achieve something like this: > > url_rewrites www.dbfree,org, c:\dbfree22\main > > That obviously does not work. > > Then there is the problem that I need to place about 40-50 of these > instructions (pairs of URLs/folders) in the file: is there a way to break > the line or do they have to be placed all on same line? > > Thank you > > -- > You received this message because you are subscribed to the Google Groups > "mongoose-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/mongoose-users. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "mongoose-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mongoose-users. For more options, visit https://groups.google.com/groups/opt_out.
