Re: [fpc-pascal] Search Engine friendly CGI web apps and pages

2010-07-13 Thread Michael Van Canneyt
On Tue, 13 Jul 2010, Graeme Geldenhuys wrote: Op 2010-07-13 15:21, Michael Van Canneyt het geskryf: When using cgi or FastCGI, the PATHINFO environment variable contains the /myaction part - in fact, it contains whatever the server finds after the path to the CGI app. Thanks Michael. I

Re: [fpc-pascal] Search Engine friendly CGI web apps and pages

2010-07-13 Thread Graeme Geldenhuys
On 13 July 2010 16:23, Michael Van Canneyt wrote: Well, to make things more complicated, newer apache servers allow to disable PATH_INFO passing to CGI scripts alltogether. I guess it is to protect against search engines flooding the CGI scripts. Exactly the opposite of what you want to

Re: [fpc-pascal] Search Engine friendly CGI web apps and pages

2010-07-13 Thread Felipe Monteiro de Carvalho
In the standard Apache setup it will thread anything you put in the cgi-bin directory regardless of the extension as a cgi program. The path to this is set in httpd.conf here: # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the

Re: [fpc-pascal] Search Engine friendly CGI web apps and pages

2010-07-13 Thread Zaher Dirkey
On Tue, Jul 13, 2010 at 5:54 PM, Graeme Geldenhuys graemeg.li...@gmail.comwrote: While we are on the topic of CGI and Apache. Any idea how to tell Apache that a specific file is a CGI program, even though that file has no file extension like the obvious .cgi suffix? This is not to serious -