cgi-bin problem: can't execute in html

cgi-bin problem: can't execute in html

Post by Mark N. Salvado » Sat, 14 Nov 1998 04:00:00



im creating a counter for my website and when i attach the
<!--#exec cgi="http://www....../cgi-bin/counter.cgi"--> to the html file, it
cannot execute.... why?

the script file is located in cgi-bin directory

can anyone help me regarding this....

Mark

 
 
 

cgi-bin problem: can't execute in html

Post by slive+n.. » Sat, 14 Nov 1998 04:00:00



: im creating a counter for my website and when i attach the
: <!--#exec cgi="http://www....../cgi-bin/counter.cgi"--> to the html file, it
: cannot execute.... why?

: the script file is located in cgi-bin directory

: can anyone help me regarding this....

In general, if you don't say what server you are using, it is almost
impossible to help.

General points:  

- You usually need a space before the final -->
- You need to make sure that server side includes are configured correctly.
- You are probably using an incorrect reference to the cgi.

If you are using apache, look at
http://www.apache.org/docs/mod/mod_include.html

--
Joshua Slive

http://finance.commerce.ubc.ca/~slive/

 
 
 

1. /cgi-bin/phf /cgi-bin/test-cgi /cgi-bin/handler

I've been seeing a number of attacks of this sort recently
from various sites in the http logs.  The time correlation
between the logs on various hosts suggests that the attacker
was scanning sequentially upward in IP addresses.  Since all
tcp and udp packets to ports below 1024 except for http,
smtp, and ident are filtered out for most, including the
attacking, sites, I'm not seeing anything else in the logs.

209.61.73.47 - - [04/Jul/1998:07:19:27 -0500] "GET /cgi-bin/phf" 404 -
209.61.73.47 - - [04/Jul/1998:07:19:28 -0500] "GET /cgi-bin/test-cgi" 404 -
209.61.73.47 - - [04/Jul/1998:07:19:28 -0500] "GET /cgi-bin/handler" 404 -

Is this a signature of some known attackware?  If so, what
other attacks accompany these http probes?

--

2. ACCESS?

3. cgi-bin can't display html?

4. package removed

5. displaying .html pages under a ScriptAlias'ed cgi-bin??

6. Consultant - AutoSys - New York - Rquirement

7. cgi-bin/view-source?cgi-bin/view-source

8. Which: sendmail, smail, fetchmail,...?

9. Execute cgi outside of cgi-bin

10. Cannot execute CGI programs in /cgi-bin with Apache

11. scohttp80 will not execute scripts in cgi-bin -Reply

12. Any way to call .html files in cgi-bin dir?

13. executing /sbin/ifconfig from a /cgi-bin script