Search Site        

Relative links in search.htm

It might be worth mentioning that search.htm is parsed from your cgi-bin directory. The position of this directory in relation to your document root is determined by the web server, independently of its actual position in the file system. Almost invariably is http://your_document_root/cgi-bin/ . Since search.exe lives in cgi-bin, any links to images etc in search.htm will assume cgi-bin as the base directory. Therefore, if you have a file system structure like


the correct relative link from search.exe to images in img/ would still be

<img src="../img/image.gif">

despite the fact that it doesn't match the file system structure.

Copyright © 2000-2015 Lavtech.Com Corp.