Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more options for the Mongoose web-server in settings.json #17

Open
GoogleCodeExporter opened this issue Aug 28, 2015 · 4 comments
Open
Labels

Comments

@GoogleCodeExporter
Copy link

GoogleCodeExporter commented Aug 28, 2015

Mongoose options:
https://github.com/cztomczak/phpdesktop/blob/784291bae89a201d86bacab35c9e0e61d19c17ac/mongoose-rev-04fc209/UserManual.md

We might consider adding these to settings.json:

  • access_log_file
  • enable_directory_listing
  • error_log_file
  • extra_mime_types
  • num_threads
  • url_rewrite_patterns
  • request_timeout_ms

Original issue reported on code.google.com by czarek.t...@gmail.com on 19 Jan 2013 at 4:03

@GoogleCodeExporter
Copy link
Author

Added the web server > "hide_files" option to settings.json. In branch 1650 in revision 1afd0c8. In branch 2171 in revision c1ba05c. See the Settings wiki page for a detailed description of this option.

Original comment by czarek.t...@gmail.com on 13 Feb 2015 at 11:18

@PatchRanger
Copy link

The extra_mime_types setting is absolutely required in my case: I want .mp4-files to be played instead of downloaded. That is also useful for the same cases for other video or audio mime types.

@cztomczak
Copy link
Owner

@PatchRanger extra_mime_types option added in revision 7de2205 in branch extra_mime_types (a temporary test branch). This code wasn't tested. Feel free to test it - build instructions are on the Build on Windows wiki page. If it works fine please submit a pull request to the master branch along with an update to the Settings wiki page describing the option. If you have any questions or encounter problems while building please create a topic on the forum.

@cztomczak
Copy link
Owner

Update to settings.json in revision cce34ca.

@cztomczak cztomczak added the easy label Apr 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants