Step 1: |
Execute 'httpsv.exe'.
|
Step 2: | ![]() Click the menu 'Server'. |
Step 3: | ![]() Click the menu item 'Select Directory'. |
Step 4: | ![]() Browse for a directory you want to host. |
Step 5: | ![]() If you want viewers to be able to see the files in the directory select 'Directory Browsing' (optional). This will show the files in the directory if no 'index.html' or 'index.htm' file is found. |
Step 6: |
Type in a port number or leave it at 80 (default).
|
Step 7: |
Click the menu 'Server'.
|
Step 8: |
Click the menu item 'Host'.
|
Step 9: |
If everything went fine, the tray-icon will change color to green, and the status bar will state 'Server running' |
-b [ADDRESS] | Limits outside access to the specified address. (This can be handy when for example you only want a friend to download a file from you but not other leechers.) A space between the argument and [ADDRESS] is required. |
-de | Enables Directory Browsing |
-p [NUMBER] | Specifies the port to use for incoming connections. The valid port range is 0 - 65536 (i.e. any number between them). A space between the argument and [NUMBER] is required. |
-h [DIRECTORY] | Specifies the directory to use as root.
If there is a space in the path (like with "C:\Documents and Settings", then you
need to insert a quote (" character) before and after the path, but it's not necessary
with a path like "C:\WEBROOT", because there is no space in it.
A valid path can be a relative path like 'WEBROOT', which would mean a directory called 'WEBROOT' exists in the directory where 'httpsv.exe' is located. Or a valid path can be an absolute path like 'C:\WEBROOT'. If this argument is specified, HTTP Server will automatically start hosting (only if the path specified is valid). If you want to host the directory where HTTP Server itself is located, you can easily use the -h parameter like this: '-h .\' The .\ part will make HTTP Server host the relative path .\ which is the directory of 'httpsv.exe' itself. A space between the argument and [DIRECTORY] is required. |
-hide | Hides the HTTP Server into the system tray at startup. |
Step 1: |
Check the box 'Auto-start at Windows logon'. ![]() |
Step 2: |
Enter the desired configuration for HTTP Server. ![]() |
Step 3: |
Press 'Finish'.
|
Step 1: |
Click 'Add Favorite' from the menu 'Favorites'. ![]() |
Step 2: |
Enter the desired name as alias for the webroot. Then enter the full (or relative from directory of 'httpsv.exe') path to the webroot. If you do not specify a port, the default HTTP port (80) will be used. Turn on the Directory Browsing feature if you want users to be able to view the contents of the directories if no 'index.htm' or 'index.html' is found. ![]() |
Step 3: |
Now you can use the favorite: ![]() |
Example File: |
Charset=ISO-8859-1 [Favorite1] Name=fav1 Path=c:\windows [Favorite2] Name=fav2 Path=c:\windows\system Port=22 DirectoryBrowsing=true BindAddress=10.0.0.2 |