Author: Soeren Gerlach
Email: [EMAIL PROTECTED]
Message:
> Does your host use some kind of cgi-wrappers ? 
> If so, try to turn them off. 

Not AFAIK. But I wrote a 2-liner wrapper to finally solve this problem: It's a shell 
script where the "UDMSEARCH_TEMPLATE" gets set to the search.htm file and the main 
search.cgi gets called at the second line. But I still don't know why this is 
necessary...
Reading through all the mails regarding templates it looks like for me, this is a pain 
in the *ss for many people ,-))) To have something better working and not that much 
hardcoded I'd had done it the following way:

* <scriptname>.cgi is the main search programm
* <scriptname>.html is the regarding template file (just html, no storeds PWs and so 
on, it's also in the same directory)
* <scriptname>.conf.mno contains some connection data

This has some obvious advantages:

* The web designer don't have to mangle database passwords into a HTML template file
* The access to the template(s) is within the web tree which makes things much better 
to control in a normal workflow of changing templates regurlarly
* The config script can be easily secured with either unix access rights and/or a 
.htaccess file, so no security breach
* Need more than one template -> Just create another set of files; easy thing...,-))


But this is just my 2 cents on this topic <gg>

Regards and thanks for the help,
Soeren Gerlach



Reply: <http://www.mnogosearch.org/board/message.php?id=4365>

___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to