"Janwillem Borleffs" <jw@jwscripts.com> writes:
Emre Sevinc wrote: Then clicked on a dummy linked on the same site to
reach the error page but I get this output:
Document not found...
/error404.php
/error404.php
Works for me with an .htaccess file with the ErrorDocument directive
pointing to a PHP file in which $_SERVER['REQUEST_URI'] is printed.
Check your server configuration or use the output of phpinfo() to examin the
environmental variables.
"echo"ing phpinfo() created an output like the one you can see
at the end of my message.
All I did was to use the web control panel of my hosting
service, enter the addres of my error404.php as the error page
and then enter the code that I described there and upload my newly
created error404.php file there. No matter what I did I couldn't get
the dummy link's name. Strange but that's what I have. Can it be something
with the configuration?
================================================== ======================
PHP Version 4.3.10
System Linux linux01 2.4.24 #1 SMP Tue Aug 10 00:10:23 EEST 2004 i686
Build Date Dec 22 2004 17:45:02
Configure Command './configure'
'--prefix=/sys/php-4.3.10-apache-1.3.33'
'--with-apxs=/sys/apache-1.3.33/bin/apxs'
'--with-mysql=/mysql/'
'--with-curl=/sys/curl-7.11.1/'
'--enable-ftp' '--enable-safe-mode'
'--with-gd' '--with-xpm-dir' '--with-ttf'
'--with-jpeg-dir' '--with-png-dir' '--enable-gd-native-ttf'
'--with-freetype-dir=/usr/include/freetype2/' '--with-xpm'
'--with-png-dir' '--with-zlib-dir'
'--with-zlib' '--enable-calendar'
'--with-gettext' '--enable-track-vars'
'--with-config-file-path=/apache/conf/' '--enable-exif'
'--enable-sockets' '--with-openssl'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /sys/apache_standart/conf/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.zlib
================================================== =========================
--
Emre Sevinc
eMBA Software Developer Actively engaged in:
http:
www.bilgi.edu.tr http://ileriseviye.org http://www.bilgi.edu.tr http://fazlamesai.net
Cognitive Science Student
http://cazci.com http://www.cogsci.boun.edu.tr