On Mon, Mar 10, 2014 at 8:45 PM, Rafon Pro <[email protected]> wrote:

> Сергей, спасибо за ответ.
>
> Без каких либо манипуляций с файлом конфиг, я так же могу запустить из
> контекстного меню Start browser on port 8080 и увидеть мой сайт. Но не все
> пользователи такие продвинутые. Максимум нужно привести все телодвижения к
> запуску одного файла. можно батника на крайняк. Спасибо
>

Пожалуйста!

Switching to English to let non-Russian speakers understand.
You can create a .bat file which starts mongoose with
appropriate options, e.g. "mongoose -listening_port 1234 -document_root
www_root"
and then starts a browser, e.g. "start http://127.0.0.1:1234";

Sergey.


>
> понедельник, 10 марта 2014 г., 16:31:16 UTC+4 пользователь Sergey Lyubka
> написал:
>
>> Create a directory structure like this:
>>
>> *UsbDrive/*
>> *         your_work/*
>> *                  mongoose.conf*
>> *                  mongoose.exe*
>> *                  web_root/*
>> *                          index.html*
>> *                          ...*
>>
>> Put your web site inside *web_root* directory.
>> Write two lines in the mongoose.conf:
>>
>> *document_root web_root*
>> *listening_port 23456*
>>
>> When your friends stick your USB dongle into the computer, they should:
>>
>>      open *your_work* directory
>>      double-click on *mongoose.exe*, which will start and minimize to
>> systray
>>      click on mongoose systray icon and choose "Go to my address ..."
>>      that will open a browser with your site.
>>
>> Sergey.
>>
>  --
> 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/d/optout.
>

-- 
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/d/optout.

Reply via email to