09-01-2009
Yes, the page is correctly configured, if i load it directly in the URL it shows perfectly, but when it's loaded by htsearch.cgi, then it doesn't show the css attributes...
I know it's kinda insane to "reinvent the wheel", but its my desperate solution. i've tried everything with htdig, modified the header.html, footer.html, wrapper.html, nomatch.html, changed the $(common_dir) variable, copied the .css header everywhere, everything!
I think it might be that htsearch.cgi doesn't recognize the html "type="text/css" value, or something like that... i've set the "link href="file.css" in hundreds of ways... tried direct path "/srv/www/htdocs/htdig/file.css", local path "file.css", etc. copied it to the root directory, cgi-bin directory, htdig directory, pff...
And i can't use it as example because it's programmed in C++, and i don't have a clue of it...
Thank you very much pludi.
5 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How do you write a search engline to search offline scripts? (3 Replies)
Discussion started by: hawaiifiver
3 Replies
2. Web Development
Hey guys. I have a quick question. My friends and I are working on a search engine project that will hopefully be up and running by December of 2011. Here's my concern. What programs should I use to create the search engine. Thanks guys! :b: (9 Replies)
Discussion started by: OussenkoSearch
9 Replies
3. Shell Programming and Scripting
Hello,
How to create a search engine in unix using commands?...Atleast guidelines to craete this search engine...Thank you in advance. (10 Replies)
Discussion started by: Sindhu R
10 Replies
4. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
How to create a search engine in unix using commands?...Atleast guidelines to craete this search engine...Thank... (1 Reply)
Discussion started by: Sindhu R
1 Replies
5. What is on Your Mind?
Getting a bit more comfortable making quick YT videos in 4K, here is:
Search Engine Optimization | How To Fix Soft 404 Errors and A.I. Tales from Google Search Console
https://youtu.be/I6b9T2qcqFo (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT DEBIAN
htsearch
htsearch(1) General Commands Manual htsearch(1)
NAME
htsearch - create document index and word database for the ht://Dig search engine
SYNOPSIS
htsearch [options] [query_string]
DESCRIPTION
Htsearch is used to sift through the databases created by htdig for content. It is the actual search engine of the htdig search system.
It is a CGI program that is expected to be invoked by an HTML form. It will accept both the GET and POST methods of passing data to the CGI
program.
OPTIONS
query_string
A CGI-style query string can be given as a single argument, and is only used if the REQUEST_METHOD environment variable is not set.
If no query_string is given, and REQUEST_METHOD is not set, htsearch will prompt for the query.
-c configfile
Use the specified configfile instead of the default (for security reasons this option is only available when htsearch is used on the
command line).
-v -d Run in verbose mode. This increases the verbosity of the program. Using more than 2 is probably only useful for debugging pur-
poses. The default verbose mode gives a progress on what it is doing and where it is.
FILES
/etc/htdig/htdig.conf
The default configuration file.
/etc/htdig/header.html
The default search results header file
/etc/htdig/footer.html
The default search results footer file
/etc/htdig/wrapper.html
The default search results wrapper file, that contains the header and footer together in one file
/etc/htdig/nomatch.html
The default 'no matches found' HTML file
/etc/htdig/syntax.html
The default file that explains boolean expression syntax errors
SEE ALSO
Please refer to the HTML pages (in the htdig-doc package) /usr/share/doc/htdig-doc/html/index.html and the manual pages htdig(1) and
htmerge(1) for a detailed description of ht://Dig and its commands.
AUTHOR
This manual page was written by Stijn de Bekker and updated by Robert Ribnitz. It is based on the HTML documentation of ht://Dig.
6 October 2001 htsearch(1)