🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: ch.comp.os.linux
3 messages
3 total messages Started by Roger Caspar Mon, 07 Jun 1999 00:00
Wo muss ich Perlscripts in Apache ablegen
#21949
Author: Roger Caspar
Date: Mon, 07 Jun 1999 00:00
11 lines
1039 bytes
Ich habe ein Perlscript das ich auf einer Webseite ben�tige, wo muss ich

dieses nun ablegen damit es auch ausgef�hrt wird.

Das http Verzeichnis ist am default Ort eingerichtet
(usr\local\httpd\htdocs) dort hat es ein cgi-bin Verzeichnis doch
dortdrin scheint es nicht zu laufen, oder gebe ich einfach den Pfad
falsch an?? (wie w�rde denn der richtige Pfad heissen
(cgi-bin\formmail.pl)

Danke f�r Tips
Re: Wo muss ich Perlscripts in Apache ablegen
#21957
Author: Olivier M.
Date: Mon, 07 Jun 1999 00:00
25 lines
1538 bytes
<casproge@hotmail.com> ecrivait/schrieb/wrote:
>Ich habe ein Perlscript das ich auf einer Webseite ben�tige, wo muss ich
>dieses nun ablegen damit es auch ausgef�hrt wird.
>Das http Verzeichnis ist am default Ort eingerichtet
>(usr\local\httpd\htdocs) dort hat es ein cgi-bin Verzeichnis doch
>dortdrin scheint es nicht zu laufen, oder gebe ich einfach den Pfad
>falsch an?? (wie w�rde denn der richtige Pfad heissen
>(cgi-bin\formmail.pl)

something that work on my system:
1. create a new user named "abc"
2. login as "abc"
3. create /home/abc/public_html
4. create /htom/abc/public_html/cgi-bin
5. copy formmail.pl in this directory
6. you should be able to access it with this url :
   http://localhost/~www/cgi-bin./formmail.pl

good luck,
Olivier

-- 
____________________________________________________________
 ... Please replace "XS*DQY" by "olm" to answer by e-mail...
    --- .-.. .. ...- .. . .-.    -- ..- .-.. .-.. . .-.
Re: Wo muss ich Perlscripts in Apache ablegen
#21960
Author: Thomas
Date: Mon, 07 Jun 1999 00:00
19 lines
1555 bytes
casproge@hotmail.com writes:
>Das http Verzeichnis ist am default Ort eingerichtet
>(usr\local\httpd\htdocs) dort hat es ein cgi-bin Verzeichnis doch
>dortdrin scheint es nicht zu laufen, oder gebe ich einfach den Pfad
>falsch an?? (wie w�rde denn der richtige Pfad heissen
>(cgi-bin\formmail.pl)

Nach defaulteinstellung ist das CGI-Verzeichnis
/usr/local/httpd/cgi-bin/

Die Datei muss ausf�hrbar sein (chmod +x formmail.pl) und ist dann
ansprechbar unter http://hostname/cgi-bin/formmail.pl

Das CGI-Verzeichnis ist in /etc/httpd/httpd.conf konfiguriert. Ich
w�rde diese Datei mal konsultieren und schauen was da so steht.
Dann helfen noch die Access und Error-Logfiles weiter
/var/log/httpd.access_log / error_log

Gruss Thomas
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads