Hide index of/ on http page

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
tim618
Posts: 7
Joined: Thu Mar 26, 2015 1:27 pm

Hide index of/ on http page

Post by tim618 »

Is there a way to hide the index of /

and the list of locations that you are indexing on the http pages? I don't want users seing what is being indexed and need this to be hidden. Does anyone know how to accomplish this? i would also like to edit the title of the page, and the text when you hover over the logo and search box.
void
Developer
Posts: 16916
Joined: Fri Oct 16, 2009 11:31 pm

Re: Hide index of/ on http page

Post by void »

I've just noticed that setting the custom default page is broken.
It will always return 404 not found.

How it should of worked:
Create an empty file called default.htm
Set Tools -> Options -> HTTP Server -> Default Page to your empty default.htm

Unfortunately, instead of showing the blank page, it's showing 404.
tim618
Posts: 7
Joined: Thu Mar 26, 2015 1:27 pm

Re: Hide index of/ on http page

Post by tim618 »

if i create an empty default file then point it at that it would hide the index of/ part but still give you the search bar? Should I wait for a fix if it is not working right now?
void
Developer
Posts: 16916
Joined: Fri Oct 16, 2009 11:31 pm

Re: Hide index of/ on http page

Post by void »

Please try Everything 1.3.4.686fix3.

Extract and make this your default page (Tools -> Options -> HTTP Server -> Default Page):
http://www.voidtools.com/http.server.no.root.dir.zip
tim618
Posts: 7
Joined: Thu Mar 26, 2015 1:27 pm

Re: Hide index of/ on http page

Post by tim618 »

now my custom logo image no longer is showing on the http search page. all looks ok under the http server files folder.
Last edited by tim618 on Mon Apr 06, 2015 12:37 pm, edited 1 time in total.
void
Developer
Posts: 16916
Joined: Fri Oct 16, 2009 11:31 pm

Re: Hide index of/ on http page

Post by void »

Please make sure you completely exit Everything before running Everything-1.3.4.686fix3.

Check the Help -> About dialog to confirm the current running version.
tim618
Posts: 7
Joined: Thu Mar 26, 2015 1:27 pm

Re: Hide index of/ on http page

Post by tim618 »

that was it! thanks..but now the logo is back to the default. i can't figure out why or where the default everything.gif is anymore. Everywhere i check it is the logo that i replaced the default with so I have no idea why its displaying the default.
void
Developer
Posts: 16916
Joined: Fri Oct 16, 2009 11:31 pm

Re: Hide index of/ on http page

Post by void »

If you have put the fix in its own folder then it would be in portable mode.
The app_data setting in the Everything.ini determines where Everything store its settings and data.

Either copy your HTTP server folder in %appdata%\Everything to the folder with the Everything fix.

-or-

Backup your old Everything.exe and replace it with the new Everything fix, so it is in the same location.

Please make sure you Exit Everything before changing the Everything.ini or replacing the Everything.exe
tim618
Posts: 7
Joined: Thu Mar 26, 2015 1:27 pm

Re: Hide index of/ on http page

Post by tim618 »

thanks so much for the help! I got it figure out and everything is working. The only problem I have remaining is that search results via the http page under chrome or firefox will not open within the browser, they want to download the file locally, while in IE they open right within the browser when i click on a pdf result. Do you have any ideas?
void
Developer
Posts: 16916
Joined: Fri Oct 16, 2009 11:31 pm

Re: Hide index of/ on http page

Post by void »

Everything uses the content type defined in your registry.
For pdf files this will be defined by the following string:
HKEY_CLASSES_ROOT\.pdf\Content Type

It will depend on your web browser how this content type is shown.

Is it just pdfs or do other files like jpgs show the download dialog?
froggie
Posts: 302
Joined: Wed Jun 12, 2013 10:43 pm

Re: Hide index of/ on http page

Post by froggie »

In Firefox go to Tools=>options=>applications.

Look for content type Portable Document Format

Change the action to Preview in Firefox or Adobe ....
tim618
Posts: 7
Joined: Thu Mar 26, 2015 1:27 pm

Re: Hide index of/ on http page

Post by tim618 »

froggie wrote:In Firefox go to Tools=>options=>applications.

Look for content type Portable Document Format

Change the action to Preview in Firefox or Adobe ....
Tried this many different ways/times...also tried to completely uninstall firefox, uninstall all plugins, reinstall adobe, still always prompts to download.
void wrote:Everything uses the content type defined in your registry.
For pdf files this will be defined by the following string:
HKEY_CLASSES_ROOT\.pdf\Content Type

It will depend on your web browser how this content type is shown.

Is it just pdfs or do other files like jpgs show the download dialog?
In the registry under that key it just says application/pdf.


If i search via the http search page for a jpg, it will open no problem- right away in chrome and firefox and does not prompt to download the file.
Post Reply