From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user-fr-return-13823-arch-gentoo-user-fr=gentoo.org@lists.gentoo.org> Received: (qmail 20555 invoked from network); 26 Nov 2004 07:02:46 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 26 Nov 2004 07:02:46 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.41) id 1CXa7x-0005ZO-Uy for arch-gentoo-user-fr@lists.gentoo.org; Fri, 26 Nov 2004 07:02:45 +0000 Received: (qmail 7713 invoked by uid 89); 26 Nov 2004 07:02:44 +0000 Mailing-List: contact gentoo-user-fr-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: <mailto:gentoo-user-fr@gentoo.org> List-Help: <mailto:gentoo-user-fr-help@gentoo.org> List-Unsubscribe: <mailto:gentoo-user-fr-unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-user-fr-subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-user-fr.gentoo.org> Reply-To: gentoo-user-fr@lists.gentoo.org X-BeenThere: gentoo-user-fr@gentoo.org Received: (qmail 12726 invoked from network); 26 Nov 2004 07:02:44 +0000 Message-ID: <41A6D511.7080500@wanadoo.fr> Date: Fri, 26 Nov 2004 08:02:41 +0100 From: grillot sebastien <sebastiengrillot@wanadoo.fr> User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gentoo-user-fr@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [gentoo-user-fr] [Apache2]Internal Server Error X-Archives-Salt: 8735899e-c5da-4112-8653-8d2b14c58bb5 X-Archives-Hash: 60ff2f00f25c54b929c7309159b69b77 Bonjour à tous, Bon comme certains le savent mnt j'installe bugzilla et voila a quoi je me heurtes (enfin y'avais aussi perl mais ca c'est reglé et encore merci seb) : ---------------------------------------------------- http://www.pan-gaia.dnsalias.net/bugzilla/index.cgi La j'avais une erreure 403 ------------------------------------------------ Bon je regarde mon fichier de conf pour apache (et la deja je decouvre.. au bout de 25 min... :$... que httpd.conf n'existe plus mais il est remplacé par apache2.conf et commonapache2.conf, le dernier j'ai mis trop de temps a decouvrir son existance... habitude quand tu nous tiens) et je met ca : -------------------------------------------------------- alfred bugzilla # nano /etc/apache2/conf/commonapache2.conf <Directory "/var/www/localhost/htdocs/bugzilla/"> Options ExecCGI AllowOverride Limit Order allow,deny Allow from all </Directory> AddHandler cgi-script .cgi PS : a la fin le fichier en integral :) Mais mnt j'ai ca ---------------------------------------------------- http://www.pan-gaia.dnsalias.net/bugzilla/index.cgi Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, sebastiengrillot@gmail.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/2.0.50 (Gentoo/Linux) PHP/4.3.8 Server at Alfred, ZoRk's Server Port 80 --------- alfred bugzilla # tail -f /var/log/apache2/error_log [Fri Nov 26 09:05:29 2004] [warn] child process 4151 still did not exit, sending a SIGTERM [Fri Nov 26 09:05:29 2004] [warn] child process 4152 still did not exit, sending a SIGTERM [Fri Nov 26 09:05:29 2004] [warn] child process 4153 still did not exit, sending a SIGTERM [Fri Nov 26 09:05:29 2004] [notice] caught SIGTERM, shutting down [Fri Nov 26 09:05:39 2004] [notice] Digest: generating secret for digest authentication ... [Fri Nov 26 09:05:39 2004] [notice] Digest: done [Fri Nov 26 09:05:40 2004] [notice] Apache/2.0.50 (Gentoo/Linux) PHP/4.3.8 configured -- resuming normal operations [Fri Nov 26 09:08:53 2004] [error] [client 192.168.1.1] Premature end of script headers: index.cgi [Fri Nov 26 09:08:53 2004] [error] [client 192.168.1.1] (2)No such file or directory: exec of '/var/www/localhost/htdocs/bugzilla/index.cgi' failed [Fri Nov 26 09:08:53 2004] [error] [client 192.168.1.1] Premature end of script headers: index.cgi [Fri Nov 26 09:08:53 2004] [error] [client 192.168.1.1] File does not exist: /var/www/localhost/htdocs/favicon.ico Alors comme j'ai installé apache2 y'a un moment je me demande si je n'aurais pas omis qqchose a l'install qui fait que maintenant ca veux plus... Ou alors les directives que j'ai ne s'appliques pas a un apache2... et le net m'aide pas trop sur ce coup (enfin google ;)) Linuxement Seb PS voici le commonapache2.conf mais j'ai retiré les commentaires car je voulais l'allerger alors j'ai retiré les commentraires... alfred bugzilla # cat /etc/apache2/conf/commonapache2.conf User apache Group apache ServerAdmin sebastiengrillot@gmail.com #root@localhost <Directory /> Options -All -Multiviews AllowOverride None <IfModule mod_access.c> Order deny,allow Deny from all </IfModule> </Directory> <Directory "/var/www/localhost/htdocs/bugzilla/"> Options ExecCGI AllowOverride Limit Order allow,deny Allow from all </Directory> <IfModule mod_userdir.c> UserDir public_html </IfModule> <IfModule mod_dir.c> DirectoryIndex index.html index.php index.php3 index.shtml index.cgi index.pl index.htm Default.htm default.htm index.html.var </IfModule> AccessFileName .htaccess <IfModule mod_access.c> <Files ~ "^\.ht"> Order allow,deny Deny from all </Files> </IfModule> UseCanonicalName On <IfModule mod_mime.c> TypesConfig conf/mime.types </IfModule> DefaultType text/plain <IfModule mod_mime_magic.c> MIMEMagicFile conf/magic </IfModule> HostnameLookups Off EnableMMAP on <IfModule mod_log_config.c> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent LogFormat "%v %h %l %u %t \"%r\" %>s %b %T" script LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" VLOG=%{VLOG}e" vhost <IfModule mod_logio.c> # You need to enable mod_logio.c to use %I and %O LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio </IfModule> </IfModule> ServerTokens Full ServerSignature On <IfModule mod_alias.c> Alias /icons/ /var/www/localhost/icons/ Alias /doc /usr/share/doc ScriptAlias /cgi-bin/ /var/www/localhost/cgi-bin/ ScriptAlias /protected-cgi-bin/ /var/www/localhost/protected-cgi-bin/ ScriptAliasMatch ^/~([^/]*)/cgi-bin/(.*) /home/$1/public_html/cgi-bin/$2 <IfModule mod_perl.c> #Provide two aliases to the same cgi-bin directory, #to see the effects of the 2 different mod_perl modes #for Apache::Registry Mode Alias /perl/ /var/www/localhost/perl/ #for Apache::Perlrun Mode Alias /cgi-perl/ /var/www/localhost/perl/ </IfModule> </IfModule> <IfModule mod_autoindex.c> AddIconByEncoding (CMP,/icons/compressed.png) x-compress x-gzip AddIconByType (TXT,/icons/text.png) text/* AddIconByType (IMG,/icons/image2.png) image/* AddIconByType (SND,/icons/sound2.png) audio/* AddIconByType (VID,/icons/movie.png) 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 .bz2 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 .php .php3 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^^ [Snip] AddHandler cgi-script .cgi AddHandler type-map var AddType text/html .shtml AddOutputFilter INCLUDES .shtml AddHandler imap-file map </IfModule> <Location /manual> Options Multiviews ErrorDocument 404 "The document you requested has not been installed on your system." </Location> <IfModule mod_setenvif.c> # # The following directives modify normal HTTP response behavior to # handle known problems with browser implementations. # 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 BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully BrowserMatch "^WebDrive" redirect-carefully BrowserMatch "^gnome-vfs" redirect-carefully BrowserMatch "^WebDAVFS" redirect-carefully </IfModule> # End of browser customization directives <IfModule mod_status.c> <Location /server-status> SetHandler server-status <IfModule mod_access.c> Order deny,allow Deny from all allow from 127.0.0.1 #Allow from .your_domain.com </IfModule> </Location> </IfModule> <IfModule mod_info.c> <Location /server-info> SetHandler server-info <IfModule mod_access.c> Order deny,allow Deny from all allow from 127.0.0.1 #Allow from .your_domain.com </IfModule> </Location> </IfModule> <IfModule mod_perl.c> <Location /perl-status> SetHandler perl-script <IfDefine MODPERL2> PerlResponseHandler Apache::Status </IfDefine> <IfDefine !MODPERL2> PerlResponseHandler ModPerl::Status </IfDefine> <IfModule mod_access.c> Order deny,allow Deny from all Allow from 127.0.0.1 </IfModule> </Location> </IfModule> <IfModule mod_deflate.c> <Directory "/var/www/localhost/htdocs/manual"> AddOutputFilterByType DEFLATE text/html </Directory> # DeflateFilterNote - Set a note to report on compression ratio # DeflateFilterNote deflate_ratio # LogFormat "%h %l %u %t \"%r\" %>s %b mod_deflate: %{deflate_ratio}n pct." common_with_deflate_info # CustomLog logs/deflate.log common_with_deflate_info # # Set the Deflate window size (1-15) # DeflateWindowSize 10 # # Set the Deflate Memory Level (1-9) # DeflateMemLevel 6 </IfModule> <Directory /var/www/localhost/htdocs> Options -Indexes FollowSymLinks MultiViews AllowOverride All # # Controls who can get stuff from this server. # <IfModule mod_access.c> Order allow,deny Allow from all </IfModule> </Directory> <Directory /var/www/localhost/perl> AllowOverride All Options -Indexes FollowSymLinks MultiViews ExecCGI <IfModule mod_access.c> Order allow,deny Allow from all </IfModule> </Directory> <IfModule mod_cgid.c> # Scriptsock /cgisock </IfModule> ### ### This is intended for your world-accessible CGI programs. ### <Directory /var/www/localhost/cgi-bin> AllowOverride All Options ExecCGI <IfModule mod_access.c> Order allow,deny Allow from all </IfModule> </Directory> ### ### Access to these CGI programs will be restricted. ### <Directory /var/www/localhost/protected-cgi-bin> AllowOverride All Options ExecCGI <IfModule mod_access.c> Order deny,allow Deny from all Allow from 127.0.0.1 #allow from .your_domain.com </IfModule> </Directory> <Directory /home/*/public_html> AllowOverride All Options MultiViews -Indexes Includes FollowSymLinks <IfModule mod_access.c> Order allow,deny Allow from all </IfModule> </Directory> <Directory /home/*/public_html/cgi-bin> Options +ExecCGI -Includes -Indexes SetHandler cgi-script </Directory> <IfModule mod_perl.c> <Directory /home/*/public_html/perl> SetHandler perl-script PerlResponseHandler ModPerl::PerlRun Options -Indexes ExecCGI <IfDefine MODPERL2> PerlOptions +ParseHeaders </IfDefine> <IfDefine !MODPERL2> PerlSendHeader On </IfDefine> </Directory> </IfModule> <Directory /var/www/localhost/icons> Options -Indexes MultiViews AllowOverride None <IfModule mod_access.c> Order allow,deny Allow from all </IfModule> </Directory> <Directory /usr/share/doc> <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html </IfModule> Options Indexes FollowSymLinks <IfModule mod_access.c> Order deny,allow Deny from all Allow from 127.0.0.1 #allow from .your_domain.com </IfModule> </Directory> <Location /index.shtml> Options +Includes </Location> <IfModule mod_perl.c> <Location "^/perl/*.pl> SetHandler perl-script <IfDefine MODPERL2> PerlResponseHandler Apache2::ModPerl::Registry </IfDefine> <IfDefine !MODPERL2> PerlResponseHandler ModPerl::Registry </IfDefine> Options -Indexes ExecCGI PerlSendHeader On </Location> #set Apache::PerlRun Mode for /cgi-perl Alias <Location /cgi-perl/*.pl> SetHandler perl-script PerlResponseHandler ModPerl::PerlRun Options -Indexes ExecCGI PerlSendHeader On </Location> </IfModule> <IfModule mod_alias.c> AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "/var/www/localhost/htdocs/manual/$1" </IfModule> <Directory "/var/www/localhost/htdocs/manual"> Options Indexes AllowOverride None Order allow,deny Allow from all <Files *.html> SetHandler type-map </Files> SetEnvIf Request_URI ^/manual/de/ prefer-language=de SetEnvIf Request_URI ^/manual/en/ prefer-language=en SetEnvIf Request_URI ^/manual/fr/ prefer-language=fr SetEnvIf Request_URI ^/manual/ja/ prefer-language=ja SetEnvIf Request_URI ^/manual/ko/ prefer-language=ko SetEnvIf Request_URI ^/manual/ru/ prefer-language=ru RedirectMatch 301 ^/manual(?:/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2 </Directory> AddType application/x-httpd-php .php AddType application/x-httpd-php .phtml AddType application/x-httpd-php .php3 AddType application/x-httpd-php .php4 AddType application/x-httpd-php-source .phps -- gentoo-user-fr@gentoo.org mailing list