[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]
[Hilos de Discusión] [Fecha] [Tema] [Autor]> ¿Qué programa?
Se llama pba.pl y el codigo es el siguiente:
print "Content-type: text/plain\r\n\r\n";
print "Server's environment\n";
foreach ( keys %ENV ) {
print "$_\t$ENV{$_}\n";
}
> . ¿qué programa de ejemplo estas usando?
El anterior
> . ¿como estas probando con los diferentes browsers
http://10.30.3.121/perl/pba.pl
- En una PC con Glis y galeon resultado: correcto
- En una PC con W2000 + SP 4 + IE 5.00.3700.1000 resultado: correcto
- En una portatil con W2000 + SP4 + IE 5.50.4134.0600 resultado: trata
de bajar archivo
- En una PC con W2000 + SP 4 + IE 6.0.2800.1106 resultado: trata de
bajar archivo
> . ¿en qué plataforma esta tu servidor?
En una PC con 256 RAM; HD de 40 GB; PROCESADOR INTEL P4 con
- RH 7.2
- perl 5.6
- Apache 1.3.29
- mod_perl 1.29
> . ¿qué resultado deberias obtener?
Server's environment
QUERY_STRING
SERVER_ADDR 10.30.3.121
HTTP_ACCEPT_LANGUAGE en-us, en;q=0.50
SERVER_PROTOCOL HTTP/1.1
HTTP_CONNECTION keep-alive
SERVER_SIGNATURE <ADDRESS>Apache/1.3.29 Server at 10.30.3.121 Port
80</ADDRESS>
REMOTE_PORT 34619
HTTP_USER_AGENT Mozilla/5.0 Galeon/1.2.0 (X11; Linux i686; U;)
Gecko/20020326
HTTP_ACCEPT text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
PERL_SEND_HEADER On
HTTP_HOST 10.30.3.121
GATEWAY_INTERFACE CGI-Perl/1.1
SERVER_SOFTWARE Apache/1.3.29 (Unix) mod_perl/1.29
SERVER_ADMIN felipe molina en inegi gob mx
REMOTE_ADDR 10.30.3.121
SCRIPT_NAME /perl/pba.pl
SERVER_NAME 10.30.3.121
HTTP_ACCEPT_ENCODING gzip, deflate, compress;q=0.9
DOCUMENT_ROOT /bddatos/www
REQUEST_URI /perl/pba.pl
MOD_PERL mod_perl/1.29
HTTP_ACCEPT_CHARSET ISO-8859-1, utf-8;q=0.66, *;q=0.66
REQUEST_METHOD GET
SCRIPT_FILENAME /bddatos/www/perl/pba.pl
HTTP_KEEP_ALIVE 300
PATH /usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/usr/java/ant1.4.1/bin:/usr/java/jdk1.3.1_03/bin
SERVER_PORT 80
> . ¿qué resultado obtienes?
En las versiones indicadas anteriormente trata de bajar el archivo
> . ¿Qué dice el log?
error_log:
[Tue Nov 25 11:00:28 2003] [notice] Apache/1.3.29 (Unix) mod_perl/1.29
configured -- resuming normal operations
[Tue Nov 25 11:00:28 2003] [notice] Accept mutex: sysvsem (Default:
sysvsem)
> . ¿como esta configurado en apache?
ServerType standalone
ServerRoot "/usr/local/apache"
PidFile /usr/local/apache/logs/httpd.pid
ScoreBoardFile /usr/local/apache/logs/httpd.scoreboard
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 0
Port 80
User nobody
Group nobody
ServerAdmin felipe molina en inegi gob mx
ServerName 10.30.3.121
DocumentRoot "/bddatos/www"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/bddatos/www">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.html
</IfModule>
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</Files>
UseCanonicalName On
<IfModule mod_mime.c>
TypesConfig /usr/local/apache/conf/mime.types
</IfModule>
DefaultType text/plain
<IfModule mod_mime_magic.c>
MIMEMagicFile /usr/local/apache/conf/magic
</IfModule>
HostnameLookups Off
ErrorLog /usr/local/apache/logs/error_log
LogLevel warn
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
CustomLog /usr/local/apache/logs/access_log common
ServerSignature On
<IfModule mod_alias.c>
Alias /icons/ "/usr/local/apache/icons/"
<Directory "/usr/local/apache/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /manual/ "/bddatos/www/manual/"
<Directory "/bddatos/www/manual">
Options Indexes FollowSymlinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"
<Directory "/usr/local/apache/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_autoindex.c>
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
</IfModule>
<IfModule mod_mime.c>
AddLanguage da .dk
AddLanguage nl .nl
AddLanguage en .en
AddLanguage et .ee
AddLanguage fr .fr
AddLanguage de .de
AddLanguage el .el
AddLanguage he .he
AddCharset ISO-8859-8 .iso8859-8
AddLanguage it .it
AddLanguage ja .ja
AddCharset ISO-2022-JP .jis
AddLanguage kr .kr
AddCharset ISO-2022-KR .iso-kr
AddLanguage nn .nn
AddLanguage no .no
AddLanguage pl .po
AddCharset ISO-8859-2 .iso-pl
AddLanguage pt .pt
AddLanguage pt-br .pt-br
AddLanguage ltz .lu
AddLanguage ca .ca
AddLanguage es .es
AddLanguage sv .sv
AddLanguage cs .cz .cs
AddLanguage ru .ru
AddLanguage zh-TW .zh-tw
AddCharset Big5 .Big5 .big5
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 en da nl et fr de el it ja kr no pl pt pt-br ru
ltz ca es sv tw
</IfModule>
AddType application/x-tar .tgz
AddEncoding x-compress .Z
AddEncoding x-gzip .gz .tgz
</IfModule>
<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>
Alias /perl/ /bddatos/www/perl/
PerlModule Apache::Registry
<Location /perl>
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
PerlSendHeader On
allow from all
</Location>
Gracias y sigo en el problema
_______________________________________________
Ayuda mailing list
Ayuda en linux org mx
Para salir de la lista: http://mail.linux.org.mx/mailman/listinfo/ayuda/