Hi!
When I perform a search with htdig, the Location in the result page shows www.mydomain.com/cgi-bin/htsearch.
Is it possible to hide this information and to get a normal url (e.g www.mydomain.com/searchdone.html)?
Hi Simz,
well ... if you use Apache that's pretty easy ... Just enable mod_rewrite and in one single instruction you will have the game setup for you.
Just add in your Apache configuration file (better in a virtual host block):
<IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^/searchdone.html$ /cgi-bin/htsearch [NC,L,QSA,PT] </IfModule>
I am not sure about the exact syntax because I don't have the documentation right now and ... I am in a hurry. But ... Probably this could give you an idea on how to make it. :-)
Also, mod_rewrite is really powerful and it is one of the most incredible features of Apache ... You can do either easy or complex tasks. Just pop here: http://httpd.apache.org/docs/misc/rewriteguide.html
Hope this helps.
Ciao
-Gabriele
--
Gabriele Bartolini: Web Programmer, ht://Dig & IWA/HWG Member, ht://Check maintainer
Current Location: Prato, Tuscany, Italy
[EMAIL PROTECTED] | http://www.prato.linux.it/~gbartolini | ICQ#129221447
> "Leave every hope, ye who enter!", Dante Alighieri, Divine Comedy, The Inferno
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ ht://Dig general mailing list: <[EMAIL PROTECTED]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general