🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.lenguajes.php
Article #114

Re: iceweasel me quiere guardar un index.php, konqueror no.

#114
From: angel
Date: Mon, 31 Aug 2009 13:49
54 lines
3156 bytes
"Álvaro G. Vicario" wrote:

> angel escribió:
>> Hola.
>> Estoy haciendo una aplicación web con php.
>> Tengo instalado en mi ordenador apache2 y php. También el modulo de php
>> para apache2.
>> Para probar mi aplicación llamo a un archivo "index.php", i dependiendo
>> de como lo llame y con qué navegador, suceden diferentes cosas:
>> 
>> Con iceweasel y esta url: http://laipdemimaquina/index.php ->todo
>> correcto Con konqueror y esta url: http://laipdemimaquina/index.php
>> ->todo correcto
>> Con konqueror y esta url: http://localhost/index.php       ->todo
>> correcto Con iceweasel y esta url: http://localhost/index.php -> aquí
>> empieza a liarse.
>> 
>> Con esta última se empeña en guardarme un archivo "*.phtml.part" que no
>> existe en mi disco. O sea, que se inventa un nombre para guardar algo.
>> Luego resulta que bajo ese nombre guarda el archivo php que debería
>> ejecutarse.
>> 
>> ¿A alguien le ha pasado algo parecido?
>> ¡La configuración de apache2 tiene que estar bién o no funcionaria con
>> konqueror!
>> 
>> Uso Apache/2.2.12 y php5 en debian testing.
>> En mi /etc/hosts tengo:
>> 127.0.0.1       localhost
>> 192.168.1.2     debian
> 
> Estaría bien verificar qué encabezados HTTP envía el servidor.
> 
> 
 angel@debian:~$ curl -I localhost/rx
HTTP/1.1 301 Moved Permanently
Date: Mon, 31 Aug 2009 13:47:30 GMT
Server: Apache/2.2.12 (Debian)
Location: http://localhost/rx/
Vary: Accept-Encoding
Content-Type: text/html; charset=iso-8859-1

angel@debian:~$ curl -I localhost/rx/index.php
HTTP/1.1 200 OK
Date: Mon, 31 Aug 2009 13:47:51 GMT
Server: Apache/2.2.12 (Debian)
X-Powered-By: PHP/5.2.10-2
Set-Cookie: PHPSESSID=82246a74932c735ba52bcf56fd8d67cb; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-
check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html
Technical Details
Message-ID: <h7gkoi$b5n$1@cagarruta.escomposlinux.org>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!news2.glorb.com!weretis.net!feeder1.news.weretis.net!news.antakira.com!cagarruta.escomposlinux.org!escomposlinux.org!not-for-mail
References: <h7ehn6$ks1$1@cagarruta.escomposlinux.org> <h7fpdg$oth$1@news.eternal-september.org>

Show Full Headers
Complete Article Headers
X-Google-Thread: f9da90502c,a951b282c62e19aa
X-Google-Attributes: gidf9da90502c,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: SPANISH,UTF8
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!news2.glorb.com!weretis.net!feeder1.news.weretis.net!news.antakira.com!cagarruta.escomposlinux.org!escomposlinux.org!not-for-mail
From: angel <angelbat@graciasensefils.net>
Newsgroups: es.comp.lenguajes.php
Subject: Re: iceweasel me quiere guardar un index.php, konqueror no.
Followup-To: es.comp.lenguajes.php
Date: Mon, 31 Aug 2009 15:49:52 +0200
Organization: escomposlinux.org
Lines: 57
Message-ID: <h7gkoi$b5n$1@cagarruta.escomposlinux.org>
References: <h7ehn6$ks1$1@cagarruta.escomposlinux.org> <h7fpdg$oth$1@news.eternal-september.org>
NNTP-Posting-Host: 87.223.249.231
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8Bit
X-Trace: cagarruta.escomposlinux.org 1251726930 11447 87.223.249.231 (31 Aug 2009 13:55:30 GMT)
X-Complaints-To: aherrerm@escomposlinux.org
NNTP-Posting-Date: Mon, 31 Aug 2009 13:55:30 +0000 (UTC)
User-Agent: KNode/0.99.01