> Hi.
> How can i make perl script which is not in cgi-bin directory work?
> I am going to user cross-reference which is some cgi program( it's not
> important).
> This program need that cgi sript(that is perl) should be in subdirectory of
> html.
> How can i make it out?
> I did in httpd.conf
> <Directory /htmlbase>
> AllowOverride All
> </Directory>
<Directory /htmlbase>
Options ExecCGI
</Directory>
Also make sure that the path to perl is correct and that
proper permissions are set ...
W.
--
Wolfgang Loske Innovating HighTech Communication
http://www.t3medien.de Naegelsbachstr. 26
Fon: +49 9131 7448-0 Fax: +49 9131 7448-10 91052 Erlangen
PGP Fingerprint: A540 3314 8058 A22E E7E3 ADE2 587B 010C (Key on req.)
You probably need the ScriptAlias directive, either for your main siteQuote:>I did in httpd.conf
><Directory /htmlbase>
>AllowOverride All
></Directory>
Shellnet - http://www.shellnet.com
> Hi.
> How can i make perl script which is not in cgi-bin directory work?
> I am going to user cross-reference which is some cgi program( it's not
> important).
> This program need that cgi sript(that is perl) should be in subdirectory of
> html.
> How can i make it out?
> I did in httpd.conf
> <Directory /htmlbase>
> AllowOverride All
> </Directory>
> and
> in the directory , i made .htaccess file with proper syntax( this is
> recommed in program install file).
> but it doesn't work.
> Only difference is that I got message "Forbidden permission" in browser.
> When i didn't make .htaccess file, browser just show content of perl file
> instead of working.
> Could you help me?
You need to use ScriptAlias directive.Quote:> How can i make perl script which is not in cgi-bin directory work?
e.g.
ScriptAlias /cgi-bin/ /htmlbase
--
Best regards,
Raghu
"Avarice, envy, pride,
Three fatal sparks, have set the hearts of all On Fire."
-Dante Alighieri, Divine Comedy, The
> Hi!
> > How can i make perl script which is not in cgi-bin directory work?
> You need to use ScriptAlias directive.
> e.g.
> ScriptAlias /cgi-bin/ /htmlbase
W.
--
Wolfgang Loske Innovating HighTech Communication
http://www.t3medien.de Naegelsbachstr. 26
Fon: +49 9131 7448-0 Fax: +49 9131 7448-10 91052 Erlangen
PGP Fingerprint: A540 3314 8058 A22E E7E3 ADE2 587B 010C (Key on req.)
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. openoffice package available?
3. apache: give /home/mailman/cgi-bin permissions to run cgi-scripts.
5. cgi-bin/view-source?cgi-bin/vi
6. : Sujestions for which distrabution to get.
7. CGI-BIN Perl Script Not Routed Back to Browser using Apache
8. Maybe solved ppp chat 'typewriter' problem
9. Running cgi scripts outside /cgi-bin directory
10. Cannot execute CGI programs in /cgi-bin with Apache
11. How could let CGI run not only at cgi-bin?
12. Linux/Apache - my cgi-bin script can't write/redirect files in any directory
13. Apache 1.3.4 configuration for cgi-bin/script directory specification