From: Stephan Wentz <stephan@wentz.it>
To: gentoo-user-de@lists.gentoo.org
Subject: Re: [gentoo-user-de] Apache: Rechte für .php files richtig setzen?
Date: Wed, 03 Aug 2005 08:39:14 +0200 [thread overview]
Message-ID: <42F06692.8020301@wentz.it> (raw)
In-Reply-To: <20050802214308.118bb9dd@mail.sdamm.de>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sebastian Damm wrote:
>>Nun ist aber das Problem, dass man beispielsweise: wget
>>http://meinepage.org/index.php
>
>
> Wenn das wget kann, dann kann das auch jeder Browser, oder? Eigentlich
> ist das ein Zeichen dafür, dass die Zuordnung der Endung .php zu PHP
> nicht gesetzt ist. Aber bei PHP als CGI klink ich mich aus. Bernd, Du
> hast doch da mal was gemacht, sag mal was! ;)
Äh nein. Dann hast du entweder ein Problem auf der einen oder auf der
anderen Seite ;-)
Funktionieren deine PHP-Skripte? Also bekommst du reine HTML-Ausgabe zu
sehen? Wenn ja, wie ein wget auch nur diese HTML-Seite bei einem fetch
bekommen. Denn PHP wird Serverseitig prozessiert und spuckt nur HTML
aus, die Befehle selber bekommt der Client nie zu sehen.
AUSSER du hast wie oben beschrieben den Apache noch garnicht so
eingerichtet das er PHP-Dateien ordnungsgemäss per CGI prozessiert, DANN
duerftest du aber auch kein korrektes Ergebnis im Browser angezeigt
bekommen, sondern nur das PHP-Skript als Plaintext. Dann würde wget dies
natürlich auch genauso abholen.
Gruss, Stephan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC8GaS8qQ9XV7tBNQRAq9eAKDnRHWkCCm6iB3n04vo5SZ6/Gg5+QCcDB/r
Toi5w8jqUVeKTgG5hVfuTOw=
=QXQV
-----END PGP SIGNATURE-----
--
gentoo-user-de@gentoo.org mailing list
next prev parent reply other threads:[~2005-08-03 6:39 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-02 15:49 [gentoo-user-de] Apache: Rechte für .php files richtig setzen? Cyrill Helg
2005-08-02 17:39 ` Sebastian Damm
2005-08-02 17:44 ` Cyrill Helg
2005-08-02 17:58 ` Cyrill Helg
2005-08-02 19:43 ` Sebastian Damm
2005-08-03 6:39 ` Stephan Wentz [this message]
2005-08-03 10:35 ` Cyrill Helg
2005-08-03 10:43 ` Stephan Wentz
2005-08-03 21:33 ` Cyrill Helg
2005-08-04 6:33 ` Sebastian Damm
2005-08-04 14:43 ` Cyrill Helg
-- strict thread matches above, loose matches on Subject: below --
2005-08-02 16:15 Maillinglisten
2005-08-02 16:42 ` Cyrill Helg
2005-08-02 17:16 ` Olaf Niermann
2005-08-02 17:22 ` Cyrill Helg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42F06692.8020301@wentz.it \
--to=stephan@wentz.it \
--cc=gentoo-user-de@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox