From rikjoh@norweb.se Thu Feb 12 06:53:02 2004
From: Rikard Johnels
To: users@lists.opensuse.org
Subject: PHP and konqueror
Date: Thu, 12 Feb 2004 07:47:54 +0100
Message-ID: <200402120747.54765.rikjoh@norweb.se>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0073339650852436157=="
--===============0073339650852436157==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Hi all!
I have stumbled onto something strange (i think)
Konqueror doesnt "understand" .php files served from my apache2 server...
Mozilla gives the correct page, Konqueror wants to know what to do with the=20
file (Save/Open).
Cant seem to get it to work.
I tried making a new filetype *.php to open with konqueror.
Same deal.. No-show.
What am i missing?
--=20
/Rikard
-----------------------------------------------------------------------------=
-------
Rikard Johnels email : rikjoh(a)norweb.se
Web : http://www.rikjoh.com
Mob : +46 (0)735 05 51 01
------------------------ Public PGP fingerprint ----------------------------
< 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >
--===============0073339650852436157==--
From orn.hansen@swipnet.se Thu Feb 12 14:39:06 2004
From: =?utf-8?q?=C3=96rn?= Hansen
To: users@lists.opensuse.org
Subject: Re: [SLE] PHP and konqueror
Date: Thu, 12 Feb 2004 15:35:01 +0100
Message-ID: <200402121535.01011.orn.hansen@swipnet.se>
In-Reply-To: <200402120747.54765.rikjoh@norweb.se>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============5496426123585279912=="
--===============5496426123585279912==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
torsdag 12 februari 2004 07:47 skrev Rikard Johnels:
> Cant seem to get it to work.
> I tried making a new filetype *.php to open with konqueror.
> Same deal.. No-show.
>
> What am i missing?
Konqueror is not supposed to know anything about .php files, these are
server side scripts. What you see, is the output from the script, not the
contents of it.
--===============5496426123585279912==--
From rikjoh@norweb.se Thu Feb 12 14:52:41 2004
From: Rikard Johnels
To: users@lists.opensuse.org
Subject: Re: [SLE] PHP and konqueror
Date: Thu, 12 Feb 2004 15:52:32 +0100
Message-ID: <200402121552.37661.rikjoh@norweb.se>
In-Reply-To: <200402121535.01011.orn.hansen@swipnet.se>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============7725966669986493580=="
--===============7725966669986493580==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
On Thursday 12 February 2004 15:35, =C3=96rn Hansen wrote:
> torsdag 12 februari 2004 07:47 skrev Rikard Johnels:
> > Cant seem to get it to work.
> > I tried making a new filetype *.php to open with konqueror.
> > Same deal.. No-show.
> >
> > What am i missing?
>
> Konqueror is not supposed to know anything about .php files, these are
> server side scripts. What you see, is the output from the script, not the
> contents of it.
So why is mozilla handling it ok and konquerer not??
Aparently the server is ok as mozilla can see the "correct" output.
(tried a few scripts)
the basic
PHP Test
Hello World
'; ?>
ought to give a plain page with "Hello World" at the top.
Mozilla shows it ok, but konqueror starts asking questions on what to do with=
=20
the file....
Tried adding a association for .php files to open with konqueror, but get a=20
"There appears to be a configuration error. You have associated Konqueror w=
=C3=ADth=20
text/php, but it cant handle this file type"
What gives????
--=20
/Rikard
-----------------------------------------------------------------------------=
-------
Rikard Johnels email : rikjoh(a)norweb.se
Web : http://www.rikjoh.com
Mob : +46 (0)735 05 51 01
------------------------ Public PGP fingerprint ----------------------------
< 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >
--===============7725966669986493580==--
From rikjoh@norweb.se Thu Feb 12 14:55:06 2004
From: Rikard Johnels
To: users@lists.opensuse.org
Subject: Re: [SLE] PHP and konqueror
Date: Thu, 12 Feb 2004 15:54:59 +0100
Message-ID: <200402121555.04135.rikjoh@norweb.se>
In-Reply-To: <200402121535.01011.orn.hansen@swipnet.se>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============8257110584739232331=="
--===============8257110584739232331==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
On Thursday 12 February 2004 15:35, =C3=96rn Hansen wrote:
> torsdag 12 februari 2004 07:47 skrev Rikard Johnels:
> > Cant seem to get it to work.
> > I tried making a new filetype *.php to open with konqueror.
> > Same deal.. No-show.
> >
> > What am i missing?
>
> Konqueror is not supposed to know anything about .php files, these are
> server side scripts. What you see, is the output from the script, not the
> contents of it.
WIERD!!!
Now it works...
I removed the association and suddenly it works as it should...
Ah well... One of those days i guess
--=20
/Rikard
-----------------------------------------------------------------------------=
-------
Rikard Johnels email : rikjoh(a)norweb.se
Web : http://www.rikjoh.com
Mob : +46 (0)735 05 51 01
------------------------ Public PGP fingerprint ----------------------------
< 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >
--===============8257110584739232331==--