httpd requests

Oliver B. hemzet at gmx.net
Mon Dec 19 14:22:39 UTC 2005


>> >>>Hello,
>> >>>
>> >>>I think http requests will be filtered on my system. I've installed
>> >>>RHEL4AS with the latest updates. Apache 2.0.52 is running.
>> >>>
>> >>>When I fill in the data in a form that uses POST for verifying the
>> data
>> >>>submitted, the data is lost. On other systems the PHP script works
>> >>>properly.
>> >>>
>> >>>The basic configuration of httpd.conf I had copied from an other
>> >>>system...
>> >>>
>> >>>Has anyone an idea?
>> >>>
>> >>>Thanks a lot
>> >>>
>> >>>Best regards
>> >>>Oliver
>> >>>
>> >>>
>> >>Any indication of trouble in /var/log/httpd/error_log or
>> >>/var/log/httpd/access_log?
>> >>
>> >>Cheers,
>> >>
>> >>
>> >
>> >Hi Bob,
>> >
>> >there's nothing special in the logs. Just the normal access log and no
>> >errors reporting in the error log.
>> >
>> >Regards
>> >Oliver
>> >
>> >_______________________________________________
>> >Redhat-install-list mailing list
>> >Redhat-install-list at redhat.com
>> >https://www.redhat.com/mailman/listinfo/redhat-install-list
>> >To Unsubscribe Go To ABOVE URL or send a message to:
>> >redhat-install-list-request at redhat.com
>> >Subject: unsubscribe
>> >
>> >
>> >
>> I think this may help you more. Make the a file called for example
>> *info.php* with following code:
>>
>> <html>
>> <head>
>> <title>PHP info</title>
>> </head>
>> <body>
>> <?php
>> phpinfo();
>> ?>
>> </body>
>> </html>
>>
>> and put it in your html documents folder
>>
>> /var/www/html
>>
>> When this is done, type in your Internet browser line
>>
>> http://yor.domainname/info.php
>>
>> On next page will be shown all info what PHP understands on your box. If
>> error_mode in PHP is turned off, for fault finding better turn it ON.
>>
>> I hope this should help.
>>
>> --
>>
>>
>>
>> Regards
>>
>>
>> Janis
>>
>> Phone 07854636404
>
> Ah.  I forgot about that aspect.  See also
>
> http://www.rhil.net/docs/faq.html#php_not_working
>
> Cheers,
> --
> Bob McClure, Jr.             Bobcat Open Systems, Inc.

Hello Bob,

Find enclosed the phpinfo output. Maybe you'll see more than I ;)?

Thanks
Oliver

###
PHP Version 4.3.9

System  Linux dedushem01.hemzet.com 2.6.14.2 #5 SMP Thu Nov 24 22:45:46
CET 2005 i686
Build Date  Nov 4 2005 11:51:10
Configure Command  './configure' '--build=i386-redhat-linux'
'--host=i386-redhat-linux' '--target=i386-redhat-linux-gnu'
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
'--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib'
'--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--cache-file=../config.cache'
'--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d'
'--enable-force-cgi-redirect' '--disable-debug' '--enable-pic'
'--disable-rpath' '--enable-inline-optimization' '--with-bz2'
'--with-db4=/usr' '--with-curl' '--with-exec-dir=/usr/bin'
'--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd=shared'
'--enable-gd-native-ttf' '--without-gdbm' '--with-gettext'
'--with-ncurses=shared' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr'
'--with-openssl' '--with-png' '--with-pspell' '--with-xml'
'--with-expat-dir=/usr' '--with-dom=shared,/usr' '--with-dom-xslt=/usr'
'--with-dom-exslt=/usr' '--with-xmlrpc=shared' '--with-pcre-regex=/usr'
'--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif'
'--enable-ftp' '--enable-magic-quotes' '--enable-sockets'
'--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars'
'--enable-trans-sid' '--enable-yp' '--enable-wddx'
'--with-pear=/usr/share/pear' '--with-imap=shared' '--with-imap-ssl'
'--with-kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr'
'--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared'
'--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr'
'--enable-memory-limit' '--enable-shmop' '--enable-calendar'
'--enable-dbx' '--enable-dio' '--enable-mbstring=shared'
'--enable-mbstr-enc-trans' '--enable-mbregex'
'--with-mime-magic=/usr/share/file/magic.mime'
'--with-apxs2=/usr/sbin/apxs'
Server API  Apache 2.0 Handler
Virtual Directory Support  disabled
Configuration File (php.ini) Path  /etc/php.ini
Scan this dir for additional .ini files  /etc/php.d
additional .ini files parsed  /etc/php.d/gd.ini, /etc/php.d/ldap.ini,
/etc/php.d/mysql.ini, /etc/php.d/odbc.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.bzip2,
compress.zlib

 This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies


--------------------------------------------------------------------------------

PHP Credits

--------------------------------------------------------------------------------

Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference Off Off
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions SYSTEM SYSTEM
display_errors Off Off
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 2047 2047
expose_php On On
extension_dir /usr/lib/php4 /usr/lib/php4
file_uploads On On
gpc_order GPC GPC
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/share/pear .:/usr/share/pear
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 30 30
max_input_time 60 60
memory_limit 8M 8M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 14 14
register_argc_argv On On
register_globals Off Off
report_memleaks On On
safe_mode Off On
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode On On
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 5M 5M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On





More information about the Redhat-install-list mailing list