Page 1 of 1

HTTP Server Help

Posted: Thu Apr 11, 2013 4:20 am
by void
What is the Everything HTTP server?
The Everything HTTP server is a web server that allows you to search and access your files from a web browser.

How do I start the HTTP server?
From the Tools menu, click Start HTTP server.

or with Everything 1.3.2.647b or later:
  • From the Tools menu, click Options.
  • Click the HTTP Server tab.
  • Check Enable HTTP server.
  • Click OK.

How do I view the HTTP server?
Start the HTTP server and open http://<your computer name> in your web browser.

How do I fix the Unable to start HTTP server: bind failed 10048 error?
There is already another service running on port 80.
Please try changing the Everything HTTP server port to another port.

To change the HTTP server port:
  • In Everything, from the Tools menu, click Options
  • Click the HTTP server tab.
  • Change Listen on port to a new port, for example 81.
  • Click OK
Please make sure to specify this port when connecting to the web server with your web browser, for example:

Code: Select all

http://localhost:81
How do I customize the HTTP server?
Please see Customizing the HTTP Server

How do I set a username and password?

To change the HTTP server username and password
  • In Everything, from the Tools menu, click Options
  • Click the HTTP server tab.
  • Type in a new username and password.
  • Click OK
Can I disable file downloading?

You can disable file downloading and allow clients to list results only.

To disable HTTP file downloading:
  • In Everything, from the Tools menu, click Options
  • Click the HTTP server tab.
  • Uncheck Allow file download.
  • Click OK
Can I get the search results as a JSON object?
To get a JSON object:

Code: Select all

http://localhost/?search=ABC&path_column=1&json=1
List of available query strings
s,q,search=search text
o,offset=n (display results from the nth result)
c,count=x (return no more than x results)
j,json=x (return results as a JSON object if x is nonzero)
i,case=x (match case if x is nonzero)
w,wholeword=x (search whole words if x is nonzero)
p,path=x (search whole paths if x is nonzero)
r,regex=x (perform a regex search if x is nonzero)
m,diacritics=x (match diacritics if x is nonzero)
path_column=x (list the result's path in the json object if x is nonzero)
size_column=x (list the result's size in the json object if x is nonzero)
date_modified_column=x (list the result's modified date in the json object if x is nonzero)
date_created_column=x (list the result's creation date in the json object if x is nonzero)
attributes_column=x (list the result's attributes in the json object if x is nonzero)
sort=x (where x is name, path, date_modified or size)
ascending=x (sort by ascending order if x is nonzero)

Default html query strings values:
search=
offset=0
count=32
json=0
case=0
wholeword=0
path=0
regex=0
diacritics=0
sort=name
ascending=1

Default JSON object query strings values:
search=
offset=0
count=4294967295
json=1
case=0
wholeword=0
path=0
regex=0
diacritics=0
path_column=0
size_column=0
date_modified_column=0
date_created_column=0
attributes_column=0
sort=name
ascending=1

Example:

Code: Select all

http://localhost/?search=ABC&offset=0&count=100&sort=size&ascending=0
JSON Object Example
Here is a JSON object returned from the following request:

Query:

Code: Select all

http://localhost/?s=asd123&json=1&path_column=1
JSON result:

Code: Select all

{ "totalResults":3, "results":[ { "type":"folder", "name":"Asd123", "path":"D:\\Folder1\\Folder2" }, { "type":"folder", "name":"ABC1234", "path":"X:\\FolderA\\FolderB" }, { "type":"file", "name":"Abc123file", "path":"S:\\abcFolder" } ] } 

Re: HTTP Server Help

Posted: Mon Sep 07, 2015 11:58 am
by rockson
Hi,

first of all I would like to say this is a great piece of sw. You did a great job.
But I have a question; when one user on local network uses web search; is it possible to offer him a file explorer link (file://path/file.something) to that certain found file?
Why? Because I would like to edit opened file and save it back.

Thank you and best regards,
Rok

Re: HTTP Server Help

Posted: Fri Nov 18, 2016 3:41 pm
by ericepp
Greetings,

I have been using this for a few years to access files remotely when out and about. In the older versions the server page listed the volume names next to the drive letter. I am curious why this feature was removed. I have 8 drives on my server and it is confusing sometimes trying to find the folder I am searching for, as I cant remember which drive letter it is in.
Screenshot.jpg
I was able to modify the everything.gif, as you can see, but that volume list is scarier than the banner. Is there a way to modify the CSS file to include the volume names, or is it a matter of function with the newer versions? I appreciate any input you can offer.

Re: HTTP Server Help

Posted: Sat Nov 19, 2016 3:12 am
by therube
What does Windows itself show, letter only or ...?

I have no clue if applies, but your post reminded me of (this dated), http://forum.altap.cz/viewtopic.php?p=17395#p17395.

Re: HTTP Server Help

Posted: Sat Nov 19, 2016 11:18 am
by void
Drive labels were removed in Everything 1.3 because root folders could be folders or filelists.
Everything shows these root folders as they are named in the index.

I've added an ini option http_server_show_drive_labels to Everything-1.4.1.807b.

Enabling this option will show volume labels in front of drives.

To enable drive labels in 807b:
Type in the following search and press enter:
/http_server_show_drive_labels=1

Re: HTTP Server Help

Posted: Thu Nov 24, 2016 5:41 am
by ericepp
Thanks for the assistance, Void. That option is much appreciated. I can't use it now, as my kids are watching a movie on my machine, but I plan on taking advantage asap.

@TheRube - Thanks for the effort!

Happy Thanksgiving to all!

Re: HTTP Server Help

Posted: Tue Jun 06, 2017 10:08 am
by Blackmarlin
Hi Rokson
I am also interested in this solution with the ability to present the search result as a Explorer link file:///..Path../file.xls did you find a solution?

Re: HTTP Server Help

Posted: Mon Mar 26, 2018 9:01 pm
by mechanicow
Is there are way to run the HTTP server on boot without a user logged in? Headless home server with scheduled reboots - win7. This would lead to better quality of life if it could be done! Thanks.