users_made: [apache] es funktionieren nur *.pl dateien keine *.cgi wieso?

Beitrag lesen

Indem Du den entsprechenden Handler auch für .cgi-Dateien einrichtest.

PS: ich hab den Foxserv-v1.0 und ActivePerl-5.6.1.629 installiert..
Foxserv kenn ich nihcht, daher kann ich Dir keine Details nennen.
Du mußt einfach den Teil der Konfiguration, der .pl-Dateien betrifft, auch für .cgi-Dateien machn.
cu,
Andreas

em foxserv beinhaltet den apache...

nur das problem ist das ich (meiner meinung nach alles rivchtig eingestellt hab..)

hier mal die conf datei vom apache:

Allgemeine Einstellungen

ServerType standalone
ServerRoot "C:\FOXSERV/apache"
PidFile logs/httpd.pid
ScoreBoardFile logs/apache_runtime_status
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MaxRequestsPerChild 0
ThreadsPerChild 50

Servereinstellungen

Port 80
ServerAdmin webmaster@domain.de

Beachten Sie diesen Hinweis zum ServerName!

ServerName server_name
UseCanonicalName Off
DocumentRoot "C:\FOXSERV/www"
<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

<Directory "C:\FOXSERV/www">
    Options Indexes FollowSymLinks MultiViews Includes
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

DirectoryIndex index.html index.htm index.shtml index.cgi
ServerSignature On

.htaccess-Dateien

AccessFileName .htaccess
<Files ~ "^.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</Files>

TypesConfig conf/mime.types
DefaultType text/plain

Log-Files

HostnameLookups Off
ErrorLog logs/error.log
LogLevel warn
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
CustomLog logs/access.log combined

Alias /icons/ "C:\FOXSERV/apache/icons/"
<Directory "C:\FOXSERV/apache/icons">
 Options Indexes MultiViews
 AllowOverride None
 Order allow,deny
 Allow from all
</Directory>

Alias /manual/ "C:\FOXSERV/apache/htdocs/manual/"

<Directory "C:\FOXSERV/apache/htdocs/manual">
 Options Indexes FollowSymlinks MultiViews
 AllowOverride None
 Order allow,deny
 Allow from all
</Directory>

CGI-Script Einstellungen

ScriptInterpreterSource registry
AddHandler cgi-script .cgi .pl

ScriptAlias /cgi-bin/ "C:\FOXSERV/apache/cgi-bin/"
<Directory "C:\FOXSERV/apache/cgi-bin">
 Options Indexes FollowSymLinks ExecCGI
        AllowOverride None
        Order allow,deny
        Allow from all
</Directory>

IndexOptions FancyIndexing
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*

AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core

AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^

DefaultIcon /icons/unknown.gif
ReadmeName README
HeaderName HEADER
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t

AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
AddLanguage en .en
AddLanguage fr .fr
AddLanguage de .de
AddCharset WINDOWS-1251 .cp-1251
AddCharset CP866        .cp866
AddCharset ISO-8859-5   .iso-ru
AddCharset KOI8-R       .koi8-r
AddCharset UCS-2        .ucs2
AddCharset UCS-4        .ucs4
AddCharset UTF-8        .utf8

<IfModule mod_negotiation.c>
        LanguagePriority de en fr
</IfModule>

AddType application/x-tar .tgz

SHTML-Dateien

AddType text/html .shtml
AddHandler server-parsed .shtml

<IfModule mod_setenvif.c>
 BrowserMatch "Mozilla/2" nokeepalive
 BrowserMatch "MSIE 4.0b2;" nokeepalive downgrade-1.0 force-response-1.0
 BrowserMatch "RealPlayer 4.0" force-response-1.0
 BrowserMatch "Java/1.0" force-response-1.0
 BrowserMatch "JDK/1.0" force-response-1.0
</IfModule>