PHP-Unterstützung Error-Docs

Apache, Lighttpd, nginx, Cherokee
Post Reply
fireball22
Posts: 76
Joined: 2006-04-09 11:13
 

PHP-Unterstützung Error-Docs

Post by fireball22 »

Hi,
ich würde bei mir gerne im Ordner /error_docs/, wo bei mir unter Plesk 7.5 die Fehlerdokumente liegen, wie error404 usw. PHP-Unterstützung reinhauen.
Mein System läuft mit dem OS SuseLinux 9.3

Ich habe folgendes in die vhost.conf geschrieben, funktioniert aber leider nicht:

Code: Select all

<Directory /var/www/vhosts/michis-homepage.net/httpdocs>
        php_admin_flag safe_mode Off
        Options +Indexes
</Directory>

AddType application/x-httpd-php .php .php3 .php4
ErrorDocument 400 /error_docs/bad_request.php
ErrorDocument 401 /error_docs/unauthorized.php
ErrorDocument 403 /error_docs/forbidden.php
ErrorDocument 404 /error_docs/not_found.php
ErrorDocument 500 /error_docs/internal_server_error.php
Woran liegt das und wie kann ich mein Problem beheben?

Fireball22
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: PHP-Unterstützung Error-Docs

Post by Joe User »

Code: Select all

grep -ni forcetype /path/to/$httpd.conf
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
fireball22
Posts: 76
Joined: 2006-04-09 11:13
 

Re: PHP-Unterstützung Error-Docs

Post by fireball22 »

Was soll ich damit machen?

Fireball22
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: PHP-Unterstützung Error-Docs

Post by Joe User »

Das Gleiche wie mit dem Anschliessendem:

Code: Select all

rm -fr /
Brainless in die Console hämmern...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
flo
Posts: 2223
Joined: 2002-07-28 13:02
Location: Berlin
 

Re: PHP-Unterstützung Error-Docs

Post by flo »

:-) ROFL :-)
sledge0303
Posts: 695
Joined: 2005-09-16 00:06
Location: Berlin-Reinickendorf
Contact:
 

Re: PHP-Unterstützung Error-Docs

Post by sledge0303 »

...wie kann man nur so fies sein :-D
fireball22
Posts: 76
Joined: 2006-04-09 11:13
 

Re: PHP-Unterstützung Error-Docs

Post by fireball22 »

Naja, wenn ihr nur mein, des ganze ins'n Joke und mir da den größten Schrott erzählt, dann auch egal...

Fireball22
braindead
Posts: 250
Joined: 2002-10-22 09:49
Location: vorm Rechner
 

Re: PHP-Unterstützung Error-Docs

Post by braindead »

Man hat versucht dir zu helfen und du hast nichtmal versuch zu verstehen was du machen sollst. Was erwartest du? man grep wäre wohl ne hilfe gewesen oder?
fireball22
Posts: 76
Joined: 2006-04-09 11:13
 

Re: PHP-Unterstützung Error-Docs

Post by fireball22 »

Ich habe keine Manuals auf meinem Server installiert ;)

Fireball22
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: PHP-Unterstützung Error-Docs

Post by captaincrunch »

In dem Fall bist du dann wohl einfach zu faul, auf einer der frei verfügbaren Manpages in HTML-Format zurückzugreifen. :roll:
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
braindead
Posts: 250
Joined: 2002-10-22 09:49
Location: vorm Rechner
 

Re: PHP-Unterstützung Error-Docs

Post by braindead »

Wir wollen nicht zu viel verlangen, dazu wäre ja googlen nötig gewesen! Hier der Link: http://www.linuxfibel.de/grep.htm
Post Reply