NanoHTTPD Crack For Windows Latest - Free open source Java HTTP server - 2MB compressed - Small memory footprint - Fast (nearly realtime) - Compatible with servlet and JAX-RS How to use - Run standalone app - Call serveFile() from serve() with your own base directory - Call serveFile() from serve() with your own base directory ## Prerequisites 1. Java 2. [Terminal/Console]( 3. [apache Ant]( 4. [git]( ## Usage ```shell script NanoHTTPD -DHTTPD_HOME=/path/to/htbin -l debug -p 8080 & ``` - `DHTTPD_HOME` is the directory containing your `htbin` script. - `-l`/`--log` is where you want to put your logs. The default is `debug` - `-p`/`--port` is where you want to point your server. The default is `8080` ## Advanced Usage Run standalone app - [use `-D`/`--serverName` to get custom server name]( - [use `-D`/`--basePath` to set base path]( - Use `-D`/`--serverPort` to set the port - [use `-D`/`--fileServer` to serve files from current directory]( - [use `-D`/`--appServer` to serve app files from current directory]( - [use `-D`/`--directoryListing` to show directory listing in browser]( - [use `-D`/`--directoryListingIndex` to show directory listing in browser]( NanoHTTPD [32|64bit] =========================================== nanoHTTPD is a very small HTTP server implementation. NanoHTTPD is designed to be a "tiny server" in terms of size. The size of the nanoHTTPD server is relatively small. NanoHTTPD provides the basic features for serving content, and it does not do all things you would like it to. But it's small. NanoHTTPD is often used to create simple HTTP servers to serve data via HTTP protocols. The client will use the standard HTTP GET and POST methods to request data. NanoHTTPD is also useful as an embedded HTTP server, which is a little server inside of your own application. If you do not use embed, you can easily create an HTTP server to serve all your requests within your application. NanoHTTPD has very simple implementation and easily embeddable. You can easily install and embed NanoHTTPD as an embedded HTTP server, by using "mvn package" and "java -jar". NanoHTTPD can be embedded as an HTTP server inside your application. It is useful for embedding tiny HTTP servers, to serve data files. Features =========================================== - Supports HTTP protocol - Simple and tiny - Generate static HTML pages by specifying the path to a file. - Embeddable - Simple class hierarchy - Embedded server support NanoHTTPD Resources =========================================== Bug Tracker =========================================== Support email =========================================== support@nano-httpd.sourceforge.net Download =========================================== Source Code =========================================== NanoHTTPD User Manual =========================================== NanoHTTPD License =========================================== Copyright (C) 2005-2013 Shigeru Kano This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have 8e68912320 NanoHTTPD The microformat is an HTML-format for use with the popular microformat. A meta description can be given for each article, and it can be placed into HTML using the BBCode or Microformat BBCode tags: [[]]. In order to use a custom domain for your application you need to configure this in your /etc/hosts or /etc/hostname file (depending on your operating system). Many Python 3.4+ application servers support virtual hosting out of the box. If your server does not support virtual hosting, or you are using a standard Apache web server, then you can use the host header trick. On Apache webservers, this is done by adding a line like this to your server config: In your config, add a new field and call it "ViewUrl". Set it to the view url that you want to be the "index.html" that is shown for your site when you are browsing. Create a new *App.py file and have it look like this: ... from django.views.generic import ListView class MyAppListView(ListView): def get_context_data(self, **kwargs): context = super(MyAppListView, self).get_context_data(**kwargs) context['view_url'] = '' return context You can then have the urls set up in your urls.py file like this: NOTE: For static files, if you do not have a DocumentRoot defined in your apache2.conf, the Apache server will use the document root defined in the settings.py file. If you don't have a settings.py file, then the settings.py file is loaded from the settings file defined in apache2.conf. For static files, if you have a DocumentRoot defined in your Apache configuration, the Apache server will use the DocumentRoot defined in your settings.py file. If you don't have a settings.py file, then the settings.py file is loaded from the settings file defined in apache2.conf. If you run a custom site which runs using a different domain than your django project, then you need to make sure that your site uses a different set of settings. This is to make sure that the What's New in the NanoHTTPD? System Requirements: Minimum: OS: Windows XP/Vista/7/8/8.1/10 (64bit) Processor: Intel® Pentium® 3.0 GHz or AMD Athlon™ XP 2200+ Memory: 1 GB RAM Graphics: Windows XP: Intel® 915GM, 945GMS, 945GM, nVidia® GeForce 8/8.x/9/96, ATI/AMD Radeon™ HD3xxx and newer Windows Vista/7: Intel® 915GM, 945
Related links:
Commentaires