Php 4.4.1

Buongiorno a tutti: io ho un sistema Php-Mysql che funzionava benissimo da ani. Poi è stata messa mano sui server (web e sql) ed è cominciato questo problema:

quando io IN FASE DI SCRITTURA (quindi non di lettura) cerco di inserire una parola accentata mi stampa questo messaggio di errore:

Not Acceptable

An appropriate representation of the requested resource /portal/determine/scrividel.php could not be found on this server.

Non so cosa devo far modificare a livello di impostazioni generali per ripristinare il corretto funzionamento.

Ecco di seguito il mio phpinfo:

PHP Version 4.4.1

System  Linux www-ext-1.xxxxxxxxxxxxx 2.6.15-1.1833_FC4smp #1 SMP Wed Mar 1 23:56:51 EST 2006 i686 

Build Date  Nov 2 2005 10:23:13 

Configure Command  './configure' '--with-mysql' '--with-xml' '--with-dom' '--with-curl' '--with-zlib' '--with-gd' '--with-ssl' '--with-apxs2' '--with-jpeg-dir' 

Server API  Apache 2.0 Handler 

Virtual Directory Support  disabled 

Configuration File (php.ini) Path  /etc/php.ini 

PHP API  20020918 

PHP Extension  20020429 

Zend Extension  20050606 

Debug Build  no 

Zend Memory Manager  enabled 

Thread Safety  disabled 

Registered PHP Streams  php, http, ftp, compress.zlib 

This program makes use of the Zend Scripting Language Engine:

Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies 

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

Configuration

PHP Core

Directive Local Value Master Value

allow_call_time_pass_reference On On

allow_url_fopen On On

always_populate_raw_post_data Off Off

arg_separator.input & &

arg_separator.output & &

asp_tags On On

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 no value no value

display_errors On On

display_startup_errors On On

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 syslog syslog

error_prepend_string no value no value

error_reporting 2047 2047

expose_php Off Off

extension_dir ./ ./

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/local/lib/php .:/usr/local/lib/php

log_errors On On

log_errors_max_len 1024 1024

magic_quotes_gpc On On

magic_quotes_runtime Off Off

magic_quotes_sybase Off Off

max_execution_time 60 60

max_input_time 60 60

open_basedir no value no value

output_buffering no value no value

output_handler no value no value

post_max_size 8M 8M

precision 12 12

register_argc_argv On On

register_globals Off Off

report_memleaks On On

safe_mode Off Off

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 Off Off

track_errors Off Off

unserialize_callback_func no value no value

upload_max_filesize 2M 2M

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

apache2handler

Apache Version  Apache 

Apache API Version  20020903 

Server Administrator  postmaster@xxxxxxxxxxxx.it 

Hostname:Port  www.xxxxxxxxxxxxx.it:0 

User/Group  apache(48)/500 

Max Requests  Per Child: 4000 - Keep Alive: on - Max Per Connection: 100 

Timeouts  Connection: 120 - Keep-Alive: 15 

Virtual Server  Yes 

Server Root  /etc/httpd 

Loaded Modules  core prefork http_core mod_so mod_access mod_auth mod_auth_anon mod_auth_dbm mod_auth_digest util_ldap mod_auth_ldap mod_include mod_log_config mod_logio mod_env mod_mime_magic mod_cern_meta mod_expires mod_deflate mod_headers mod_usertrack mod_setenvif mod_mime mod_asis mod_vhost_alias mod_negotiation mod_dir mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_cache mod_suexec mod_disk_cache mod_file_cache mod_mem_cache mod_cgi mod_authz_ldap mod_auth_pgsql mod_jk mod_security mod_perl sapi_apache2 mod_ssl 

Directive Local Value Master Value

engine 1 1

last_modified 0 0

xbithack 0 0

Apache Environment

Variable Value

HTTP_ACCEPT  */* 

HTTP_ACCEPT_LANGUAGE  it 

HTTP_ACCEPT_ENCODING  gzip, deflate 

HTTP_USER_AGENT  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; Media Center PC 3.1) 

HTTP_HOST  www.xxxxxxxxx.it 

HTTP_CONNECTION  Keep-Alive 

PATH  /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin 

SERVER_SIGNATURE  no value 

SERVER_SOFTWARE  Apache 

SERVER_NAME  www.xxxxxxxxxxx.it 

SERVER_ADDR  10.10.10.10 

SERVER_PORT  80 

REMOTE_ADDR  80.116.179.90 

DOCUMENT_ROOT  /var/www/xxxxxxxpublic 

SERVER_ADMIN  postmaster@xxxxxxx

SCRIPT_FILENAME  /var/www/xxxxxxxxx/public/gloll.php 

REMOTE_PORT  1913 

GATEWAY_INTERFACE  CGI/1.1 

SERVER_PROTOCOL  HTTP/1.1 

REQUEST_METHOD  GET 

QUERY_STRING  no value 

REQUEST_URI  /gloll.php 

SCRIPT_NAME  /gloll.php 

HTTP Headers Information

HTTP Request Headers

HTTP Request  GET /gloll.php HTTP/1.1 

Accept  */* 

Accept-Language  it 

Accept-Encoding  gzip, deflate 

User-Agent  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; Media Center PC 3.1) 

Host  www.xxxxxxxxxxxx

Connection  Keep-Alive 

HTTP Response Headers

Keep-Alive  timeout=15, max=100 

Connection  Keep-Alive 

Transfer-Encoding  chunked 

Content-Type  text/html 

Content-Language  it 

ctype

ctype functions  enabled 

curl

CURL support  enabled 

CURL Information  libcurl/7.13.1 OpenSSL/0.9.7f zlib/1.2.2.2 libidn/0.5.15 

domxml

DOM/XML  enabled 

DOM/XML API Version  20020815 

libxml Version  20620 

HTML Support  enabled 

XPath Support  enabled 

XPointer Support  enabled 

gd

GD Support  enabled 

GD Version  bundled (2.0.28 compatible) 

GIF Read Support  enabled 

GIF Create Support  enabled 

JPG Support  enabled 

PNG Support  enabled 

WBMP Support  enabled 

XBM Support  enabled 

mysql

MySQL Support enabled

Active Persistent Links  0 

Active Links  0 

Client API version  3.23.49 

MYSQL_MODULE_TYPE  builtin 

MYSQL_SOCKET  /tmp/mysql.sock 

MYSQL_INCLUDE  no value 

MYSQL_LIBS  no value 

Directive Local Value Master Value

mysql.allow_persistent On On

mysql.connect_timeout 60 60

mysql.default_host no value no value

mysql.default_password no value no value

mysql.default_port no value no value

mysql.default_socket no value no value

mysql.default_user no value no value

mysql.max_links Unlimited Unlimited

mysql.max_persistent Unlimited Unlimited

mysql.trace_mode On On

overload

User-Space Object Overloading Support  enabled 

pcre

PCRE (Perl Compatible Regular Expressions) Support  enabled 

PCRE Library Version  6.2 01-Aug-2005 

posix

Revision  $Revision: 1.51.2.4 $ 

session

Session Support  enabled 

Registered save handlers  files user 

Directive Local Value Master Value

session.auto_start Off Off

session.bug_compat_42 On On

session.bug_compat_warn On On

session.cache_expire 180 180

session.cache_limiter nocache nocache

session.cookie_domain no value no value

session.cookie_lifetime 0 0

session.cookie_path / /

session.cookie_secure Off Off

session.entropy_file no value no value

session.entropy_length 0 0

session.gc_divisor 100 100

session.gc_maxlifetime 1440 1440

session.gc_probability 1 1

session.name PHPSESSID PHPSESSID

session.referer_check no value no value

session.save_handler files files

session.save_path /tmp /tmp

session.serialize_handler php php

session.use_cookies On On

session.use_only_cookies Off Off

session.use_trans_sid Off Off

standard

Regex Library  Bundled library enabled 

Dynamic Library Support  enabled 

Path to sendmail  /usr/sbin/sendmail -t -i 

Directive Local Value Master Value

assert.active 1 1

assert.bail 0 0

assert.callback no value no value

assert.quiet_eval 0 0

assert.warning 1 1

auto_detect_line_endings 0 0

default_socket_timeout 60 60

safe_mode_allowed_env_vars PHP_ PHP_

safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH

url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=

user_agent no value no value

tokenizer

Tokenizer Support  enabled 

xml

XML Support  active 

XML Namespace Support  active 

EXPAT Version  1.95.6 

zlib

ZLib Support  enabled 

Compiled Version  1.2.2.2 

Linked Version  1.2.2.2 

Directive Local Value Master Value

zlib.output_compression Off Off

zlib.output_compression_level -1 -1

zlib.output_handler no value no value

Additional Modules

Module Name

Environment

Variable Value

LANG  C 

HOSTNAME  www-xxxxxxxxxxx

SHELL  /bin/bash 

TERM  vt100 

HISTSIZE  3000 

SSH_CLIENT  10.1.0.201 1222 54237 

SSH_TTY  /dev/pts/1 

USER  root 

LS_COLORS  no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: 

PATH  /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin 

MAIL  /var/spool/mail/root 

PWD  /etc/httpd 

INPUTRC  /etc/inputrc 

HOME  /root 

SHLVL  2 

LOGNAME  root 

SSH_CONNECTION  10.1.0.201 1222 10.10.10.10 54237 

LESSOPEN  |/usr/bin/lesspipe.sh %s 

G_BROKEN_FILENAMES  1 

_  /usr/sbin/httpd 

PHP Variables

Variable Value

_SERVER["HTTP_ACCEPT"] */*

_SERVER["HTTP_ACCEPT_LANGUAGE"] it

_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate

_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; Media Center PC 3.1)

_SERVER["HTTP_HOST"] www.xxxxxxxxxxx

_SERVER["HTTP_CONNECTION"] Keep-Alive

_SERVER["PATH"] /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin

_SERVER["SERVER_SIGNATURE"] no value

_SERVER["SERVER_SOFTWARE"] Apache

_SERVER["SERVER_NAME"] www.estav-nordovest.toscana.it

_SERVER["SERVER_ADDR"] xx.xx.xx.xx

_SERVER["SERVER_PORT"] 80

_SERVER["REMOTE_ADDR"] xx.xxx.xx.xxx

_SERVER["DOCUMENT_ROOT"] /var/www/xxxxxxxx

_SERVER["SERVER_ADMIN"] postmaster@conxxxxxxxx

_SERVER["SCRIPT_FILENAME"] /var/www/xxxxxx/gloll.php

_SERVER["REMOTE_PORT"] 1913

_SERVER["GATEWAY_INTERFACE"] CGI/1.1

_SERVER["SERVER_PROTOCOL"] HTTP/1.1

_SERVER["REQUEST_METHOD"] GET

_SERVER["QUERY_STRING"] no value

_SERVER["REQUEST_URI"] /gloll.php

_SERVER["SCRIPT_NAME"] /gloll.php

_SERVER["PHP_SELF"] /gloll.php

_SERVER["PATH_TRANSLATED"] /var/www/xxxxxxxxxxxxx/gloll.php

_SERVER["argv"] Array

(

)

_SERVER["argc"] 0

_ENV["LANG"] C

_ENV["HOSTNAME"] www-ext-1.xxxxxxxx

_ENV["SHELL"] /bin/bash

_ENV["TERM"] vt100

_ENV["HISTSIZE"] 3000

_ENV["SSH_CLIENT"] xxxxxxxxxxxxx

_ENV["SSH_TTY"] /dev/pts/1

_ENV["USER"] root

_ENV["LS_COLORS"] no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:

_ENV["PATH"] /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin

_ENV["MAIL"] /var/spool/mail/root

_ENV["PWD"] /etc/httpd

_ENV["INPUTRC"] /etc/inputrc

_ENV["HOME"] /root

_ENV["SHLVL"] 2

_ENV["LOGNAME"] root

_ENV["SSH_CONNECTION"] xxxxxxx 1222 xxxxxxxxx 54237

_ENV["LESSOPEN"] |/usr/bin/lesspipe.sh %s

_ENV["G_BROKEN_FILENAMES"] 1

_ENV["_"] /usr/sbin/httpd

inviato 8 anni fa
franz79
modificato 8 anni fa
X 0 X

ciao franz79,

prova a vedere questa pagina:

http://www.checkupdown.com/status/E406.html

L'errore che ricevi, se non erro è il 406, nella pagina che ti ho linkato spiega le probabili cause di quell'errore..

Prova a dargli un'occhiata, spero ti servirà a qualcosa...

ciao

Lore

risposto 8 anni fa
Lore
Lore
1
X 0 X

Per caso avete attivato il mod_security in Apache?

risposto 8 anni fa
Gianni Tomasicchio
X 0 X
Effettua l'accesso o registrati per rispondere a questa domanda