🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.perl
Article #1080

Re: Perl + Apache na w95

#1080
From: Maciek Sonik
Date: Sun, 08 Mar 1998 15:58
36 lines
1919 bytes
Grzegorz S. napisał(a) w wiadomości: <6dua1p$lbl$1@gemini.webcorp.com.pl>...

>Mam zainstalowanego Apache'a 1.3b3 na w95, wszystko mi pieknie chodzi.
>Ostatnio chcialem do tego dolozyc perla, wiec sciagnalem 315 i
>zainstalowalem. Mam pytanko jak teraz to ladnie skonfigurowac, tak aby
>Apache wykonywal mi skrypty perla przez SSI. Jak daje <!--#exec
>cmd="skrypt.pl"--> to mi wyskakuje, ze "[an error occurred while processing
>this directive]" a error_log pojawia sie "[Sun Mar 08 14:39:46 1998]
[error]
>execution failure for parameter "cmd" to tag exec in file
>e:/apache/htdocs/test.shtml
>encountered error in GET_CHAR macro, mod_include." Dodam tylko, ze jezeli
>wykonuje ten skrypt z lini polecen poprzez "perl skrypt.pl" to wszystko
gra.

sprobuj w access.conf dodac:

<Directory /apache/cgi-bin>
AllowOverride All
Options Indexes FollowSymLinks
</Directory>

a pozniej w katalogu glownym (public_html czy jak sobie go nazwales) wsadz
.htaccess w ktorym ma byc:

Options ExecCGI Indexes
Options Includes SymLinksIfOwnerMatch ExecCGI
AddType text/x-server-parsed-html .html
I moze ruszy....

Pozdrowienia

Maciej Sonik  sonik@sonik.pl
30 lat SONIK & SONIK. Zawsze do przodu. Od 1968.
Krapkowice, ul. Prudnicka 1, 1 Maja 12 | http://sonik.com.pl
Technical Details
Message-ID: <6dufca$j46$1@okapi.ict.pwr.wroc.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!ict.pwr.wroc.pl!not-for-mail
References: <6dua1p$lbl$1@gemini.webcorp.com.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!ict.pwr.wroc.pl!not-for-mail
From: "Maciek Sonik" <sonik@sonik.pl>
Newsgroups: pl.comp.lang.perl
Subject: Re: Perl + Apache na w95
Date: Sun, 8 Mar 1998 16:58:19 +0100
Organization: Sonik & Sonik
Lines: 39
Message-ID: <6dufca$j46$1@okapi.ict.pwr.wroc.pl>
References: <6dua1p$lbl$1@gemini.webcorp.com.pl>
NNTP-Posting-Host: ppp-cen209.opole.tpnet.pl
X-Newsreader: Microsoft Outlook Express 4.71.1712.3
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit