mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-31 13:00:49 +00:00
Adding command line options
This commit is contained in:
1 parent
a8b08c6784
commit
fcf8b86288
1 file changed
+5
-1
+5
-1
@@ -52,11 +52,15 @@ Usage Examples
|
|||||||
double-click the executable. The folder should be accessible via
|
double-click the executable. The folder should be accessible via
|
||||||
[http://localhost:8080](http://localhost:8080) in any browser.
|
[http://localhost:8080](http://localhost:8080) in any browser.
|
||||||
- How to start mongoose at UNIX startup time in daemon mode, serving
|
- How to start mongoose at UNIX startup time in daemon mode, serving
|
||||||
directory `/var/www`: put this line in the system startup script,
|
directory `/var/www`: put this line in the system startup script:
|
||||||
`/path/to/mongoose -listening_ports 80 -document_root /var/www &`
|
`/path/to/mongoose -listening_ports 80 -document_root /var/www &`
|
||||||
|
|
||||||
Command Line Options
|
Command Line Options
|
||||||
--------------------
|
--------------------
|
||||||
|
-A <htpasswd_file> <domain_name> <user_name> <password>
|
||||||
|
Add/edit user's password in the passwords file. Deleting users
|
||||||
|
can be done with any text editor. Functionality is similar to
|
||||||
|
Apache's `htdigest` utility.
|
||||||
|
|
||||||
Common Problems
|
Common Problems
|
||||||
---------------
|
---------------
|
||||||
|
|||||||
Reference in new issue
Block a user