Default HTTP page setup

If you are experiencing problems with "Everything", post here for assistance.
jbarcher13
Posts: 8
Joined: Tue Nov 29, 2016 4:05 pm

Default HTTP page setup

Post by jbarcher13 »

Greetings!
We're making great progress in getting this tool to work as our Enterprise-wide network search tool. YAY!

I now just have a question regarding setting up the default page that is used to display search results for our users.

I'm testing this on my PC and am running Version 1.4.1.809b (x64). I've done some reading and have been about to get the default page to display some instructional text and a new logo. However, when I enter a search term and press ENTER, the added text does not display.

Here's what I did:
  • I copied the HTML content from the page source without searching for anything.
  • Then I saved it into my HTPP folder as default.htm.
  • When I opened the search in Chrome, I got the new logo and the instructional text.
Here's the default.htm code:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="viewport" content="width=512"><title>Everything</title>
<link rel="stylesheet" href="/main.css" type="text/css">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
</head>
<body>
<center>
<br>
<br>
<a href="/"><img class="logo" src="/Everything.gif" alt="Everything"></a>
<br>
<br>
[color=#4040FF]<p>Enter search terms in the box below, and then press ENTER.</p>[/color]
<br>
<br>
<form id="searchform" action="/" method="get"><input class="searchbox" style="width:480px" id="search" name="search" type="text" title="Search Everything" value="" ></form>
<table cellspacing="0" width="480px">
<tr><td colspan="3"><p class="indexof">Index of /</p></td></tr>
<tr><td class="nameheader"><a href="/?sort=name&ascending=0"><span class="nobr"><nobr>Name<img class="updown" src="/up.gif" alt=""></nobr></span></a></td><td class="sizeheader"><a href="/?sort=size&ascending=0"><span class="nobr"><nobr>Size</nobr></span></a></td><td class="modifiedheader"><a href="/?sort=date_modified&ascending=0"><span class="nobr"><nobr>Date Modified</nobr></span></a></td></tr>
<tr><td colspan="3" class="lineshadow" height="1"></td></tr>
</table>
</center>
</body>
I've attached two screenshots showing what I have explained.

I know I'm missing something and just don't know what! Please help.
Thanks so much! Jan
You do not have the required permissions to view the files attached to this post.
void
Developer
Posts: 19903
Joined: Fri Oct 16, 2009 11:31 pm

Re: Default HTTP page setup

Post by void »

The result page after you have done a search is a rendered html page, these pages can not be easily customized yet.

You will need to use AJAX in your default page to show results.

What about changing the Everything.gif with your logo and text?
Put your custom Everything.gif in %APPDATA%\Everything\HTTP Server