linux-l: httpd, Ort fuer cgi's

Philipp Grau phgrau at ZEDAT.FU-Berlin.DE
Di Mär 7 16:53:47 CET 2000


On Tue, Mar 07, 2000 at 12:40:08PM +0100, Alexander Stielau wrote:
> Kann mir mal jemand einen Tipp geben, wo ich näheres zum Thema
> cgi-Scripte und Apache finde?

Naja, da gibt es einen Eintrag in der srm.conf meines Apache:

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

Will heissen die Scripte/Prgramme liegen in /usr/lib/cgi-bin/

Und dann braucht du noch das mod_cgi.so

Eintrag in httpd.conf:
LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so

Und noch was aus meiner access.conf:
# /usr/lib/cgi-bin should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.

<Directory /usr/lib/cgi-bin>
AllowOverride None
Options ExecCGI FollowSymLinks
</Directory>

Die Apache-Doku sollte die Einzelheiten der Direktiven erklären,
und sonst gibt es ganz brauchbare Apache-Bücher.

\bye
Philipp


-- 
 Philipp Grau               | Freie Universitaet Berlin 
 phgrau at zedat.fu-berlin.de  | Zentraleinrichtung fuer Datenverarbeitung
                            |
    We had joy, we had fun, | we had Pacman on the sun...      



Mehr Informationen über die Mailingliste linux-l