I agree with both fmerges—confusing question (why did this get front-paged?); and zentara—something ain't right with the setup if we *are* understanding the question. Anyway, here's another example of the hidden .htaccess file that will fire up any executable in any directory:
Options +ExecCGI SetHandler cgi-script
This will actually run a Perl file without the .pl or .px extensions in a non-cgi-bin directory. For example, your URL could read: http://www.domain.com/foo/bar?pg=1. I use this setup for running a CMS that I install for client sites that keeps my scripts separate from other scripts that my client installs, most commoningly in the usually-present cgi-bin.
In reply to Re: index.cgi or index.html
by bradcathey
in thread index.cgi or index.html
by boboson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |