Apache POST.

k_dendra@o2.pl k_dendra w o2.pl
Wto, 12 Lis 2002, 09:33:57 CET


Witam!
Od kilku dni męczę problem z programikiem, który chce odpalić klient 
na serwerze www programik ultranews3.( 
http://www.bastek.tvs.pl/script.php3 ) Korzysta toto z php3. Problem 
polega na tym, że przy logowaniu się jako admin korzysta on z metody 
POST. I niestety jedyny efekt jaki uzyskuję to wpis w access_log

192.168.0.198 - - 
12/Nov/2002:11:18:39+0100] "POST /nowosci/admin.php3 HTTP/1.1" 200 
1209

Sytuacja taka występuje zawsze, gdy próbuję sie zalogować jako admin 
php-newsów. Poza tym nic się nie dzieje :( Wpisuję hasło i nic, 
kompletnie nic.

Jeśli możecie dajcie jakąś poradę, gdzie i czego szukać.

pozdroofka Xyo

konfigi:
---------------HTTPD.CONF---------------
[root w dns root]# cat /etc/httpd/httpd.conf | grep -v "#"


ServerType standalone
PidFile /var/run/httpd.pid
Timeout                 300
KeepAliveTimeout        15
KeepAlive               On
MaxKeepAliveRequests    100
ServerRoot "/usr"
LockFile /var/run/httpd.lock
ScoreBoardFile /var/run/httpd.scoreboard
ResourceConfig  /dev/null
AccessConfig    /dev/null
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 30
Listen 80
LoadModule access_module      lib/apache/mod_access.so
LoadModule alias_module       lib/apache/mod_alias.so
LoadModule asis_module        lib/apache/mod_asis.so
LoadModule autoindex_module   lib/apache/mod_autoindex.so
LoadModule cern_meta_module   lib/apache/mod_cern_meta.so
LoadModule cgi_module         lib/apache/mod_cgi.so
LoadModule env_module         lib/apache/mod_env.so
LoadModule include_module     lib/apache/mod_include.so
LoadModule log_agent_module   lib/apache/mod_log_agent.so
LoadModule log_config_module  lib/apache/mod_log_config.so
LoadModule log_referer_module lib/apache/mod_log_referer.so
LoadModule mime_magic_module  lib/apache/mod_mime_magic.so
LoadModule mime_module        lib/apache/mod_mime.so
LoadModule negotiation_module lib/apache/mod_negotiation.so
LoadModule setenvif_module    lib/apache/mod_setenvif.so
LoadModule speling_module     lib/apache/mod_speling.so
LoadModule userdir_module     lib/apache/mod_userdir.so
LoadModule auth_module        lib/apache/mod_auth.so
LoadModule auth_anon_module   lib/apache/mod_auth_anon.so
LoadModule auth_any_module    lib/apache/mod_auth_any.so
LoadModule auth_checkpasswd_module lib/apache/mod_auth_checkpasswd.so
LoadModule auth_db_module     lib/apache/mod_auth_db.so
LoadModule auth_digest_module lib/apache/mod_auth_digest.so
LoadModule auth_ldap_module   lib/apache/mod_auth_ldap.so
LoadModule auth_pam_module    lib/apache/mod_auth_pam.so
LoadModule auth_pgsql_module  lib/apache/mod_auth_pgsql.so
LoadModule auth_samba_module  lib/apache/mod_auth_samba.so
LoadModule vhost_alias_module lib/apache/mod_vhost_alias.so
LoadModule php4_module        lib/apache/libphp4.so
LoadModule dir_module         lib/apache/mod_dir.so
LoadModule expires_module     lib/apache/mod_expires.so
ClearModuleList
AddModule mod_so.c
AddModule mod_access.c
AddModule mod_alias.c
AddModule mod_asis.c
AddModule mod_autoindex.c
AddModule mod_cern_meta.c
AddModule mod_cgi.c
AddModule mod_env.c
AddModule mod_include.c
AddModule mod_log_agent.c
AddModule mod_log_config.c
AddModule mod_log_referer.c
AddModule mod_mime_magic.c
AddModule mod_mime.c
AddModule mod_negotiation.c
AddModule mod_setenvif.c
AddModule mod_speling.c
AddModule mod_userdir.c
AddModule mod_auth.c
AddModule mod_auth_anon.c
AddModule mod_auth_any.c
AddModule mod_auth.c
AddModule mod_auth_db.c
AddModule mod_auth_digest.c
AddModule mod_auth_ldap.c
AddModule mod_auth_pam.c
AddModule mod_auth_pgsql.c
AddModule mod_auth_samba.c
AddModule mod_vhost_alias.c
AddModule mod_php4.c
AddModule mod_dir.c
AddModule mod_expires.c

Port 80
User  http
Group http

ServerAdmin admin w xxxxx.pl
DocumentRoot "/home/httpd/html"

<Directory />
        Options FollowSymLinks
        AllowOverride None
</Directory>

<Directory "/home/httpd/html">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
</Directory>

<Directory "/home/httpd/html/">
Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
</Directory>



UserDir public_html
<IfModule mod_dir.c>
        DirectoryIndex index.html index.htm index.shtml index.cgi 
index.php index.php3
</IfModule>

AccessFileName .htaccess

<Files ~ "^\.ht">
        Order allow,deny
        Deny from all
        Satisfy All
</Files>

UseCanonicalName On
TypesConfig /etc/mime.types
DefaultType text/plain
<IfModule mod_mime_magic.c>
        MIMEMagicFile /etc/httpd/magic
</IfModule>

HostnameLookups Off
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}
i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

ErrorLog /var/log/httpd/error_log
CustomLog /var/log/httpd/access_log common
CustomLog /var/log/httpd/referer_log referer
CustomLog /var/log/httpd/agent_log agent

LogLevel warn

ServerSignature Email

Alias /icons/ "/home/httpd/icons/"

<Directory "/home/httpd/icons">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
</Directory>

ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"

<Directory "/home/httpd/cgi-bin">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
</Directory>



IndexOptions FancyIndexing

AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*

AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core

AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^

DefaultIcon /icons/unknown.gif

AddDescription "GZIP compressed document" .gz
AddDescription "tar archive" .tar
AddDescription "GZIP compressed tar archive" .tgz

ReadmeName README
HeaderName HEADER


AddEncoding x-compress Z
AddEncoding x-gzip gz

AddLanguage ca .ca
AddLanguage cz .cz
AddLanguage da .dk
AddLanguage de .de
AddLanguage en .en
AddLanguage el .el
AddLanguage es .es
AddLanguage et .ee
AddLanguage fr .fr
AddLanguage he .he
AddLanguage it .it
AddLanguage ja .ja
AddLanguage kr .kr
AddLanguage ltz .lu
AddLanguage nl .nl
AddLanguage nn .nn
AddLanguage no .no
AddLanguage pl .po
AddLanguage pt .pt
AddLanguage pt-br .pt-br
AddLanguage ru .ru
AddLanguage sv .sv
AddLanguage tw .tw
AddLanguage zh-tw .tw

AddCharset Big5 .Big5 .big5
AddCharset CP866 .cp866
AddCharset ISO-8859-2 .iso-pl
AddCharset ISO-8859-5 .iso-ru
AddCharset ISO-8859-8 .iso8859-8
AddCharset ISO-2022-JP .his
AddCharset ISO-2022-KR .iso-kr
AddCharset KOI8-R .koi8-r
AddCharset UCS-2 .ucs2
AddCharset UCS-4 .ucs4
AddCharset UTF-8 .utf8
AddCharset WINDOWS-1251 .cp-1251

LanguagePriority en pl fr de

AddType application/x-httpd-php .php .php3

AddHandler cgi-script .cgi

AddType text/html .shtml
AddHandler server-parsed .shtml

AddHandler send-as-is asis

AddHandler imap-file map

AddHandler type-map var


MetaDir .web

MetaSuffix .meta


Alias /errordocs/ "/home/httpd/errordocs/"

<Directory /home/httpd/errordocs/>
        AllowOverride none
        Options IncludesNoExec FollowSymLinks
</Directory>

ErrorDocument 400       /errordocs/400.shtml
ErrorDocument 401       /errordocs/401.shtml
ErrorDocument 403       /errordocs/403.shtml
ErrorDocument 404       /errordocs/404.shtml
ErrorDocument 405       /errordocs/405.shtml
ErrorDocument 406       /errordocs/406.shtml
ErrorDocument 408       /errordocs/408.shtml
ErrorDocument 410       /errordocs/410.shtml
ErrorDocument 411       /errordocs/411.shtml
ErrorDocument 414       /errordocs/414.shtml
ErrorDocument 500       /errordocs/500.shtml
ErrorDocument 503       /errordocs/503.shtml

BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-
1.0

BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0


Include /etc/httpd/mod_vhost_alias.conf

NameVirtualHost x.x.x.x:80


<VirtualHost 217.xxx.xxx.xxx>
      ServerAdmin xxxxxx w xxxxx.pl
      ServerName www.xxxxxx.pl
      DocumentRoot /home/httpd/html/xxxxxx
</VirtualHost>
/ciach kupa wirtualek/
Include /etc/httpd/lstat.conf




----------------------------PHP.CONF------------


[root w dns root]# cat -s /etc/php/php.ini | grep -v ";"
[PHP]




engine = On

short_open_tag = On

asp_tags = Off

precision    =  14

y2k_compliance = Off

output_buffering = Off

output_handler =

unserialize_callback_func=

zlib.output_compression = Off

implicit_flush = Off

allow_call_time_pass_reference = On

safe_mode = Off

safe_mode_gid = Off

safe_mode_include_dir =

safe_mode_exec_dir =


safe_mode_allowed_env_vars = PHP_

safe_mode_protected_env_vars = LD_LIBRARY_PATH

disable_functions =

highlight.string  = #CC0000
highlight.comment = #FF9900
highlight.keyword = #006600
highlight.bg      = #FFFFFF
highlight.default = #0000CC
highlight.html    = #000000

expose_php = On




error_reporting  =  E_ALL & ~E_NOTICE

display_errors = On

display_startup_errors = Off

log_errors = Off

track_errors = Off









variables_order = "EGPCS"

register_globals = Off

register_argc_argv = On

post_max_size = 8M

gpc_order = "GPC"


magic_quotes_gpc = On

magic_quotes_runtime = On

magic_quotes_sybase = On

auto_prepend_file =
auto_append_file =

default_mimetype = "text/html"




doc_root =

user_dir =

extension_dir = /usr/lib/php

enable_dl = On




file_uploads = On


upload_max_filesize = 2M


allow_url_fopen = On





[Syslog]
define_syslog_variables  = Off

[mail function]
SMTP = localhost

sendmail_from = me w localhost.com


[Java]

[SQL]
sql.safe_mode = Off

[ODBC]

odbc.allow_persistent = On

odbc.check_persistent = On

odbc.max_persistent = -1

odbc.max_links = -1

odbc.defaultlrl = 4096

odbc.defaultbinmode = 1

[MySQL]
mysql.allow_persistent = On

mysql.max_persistent = -1

mysql.max_links = -1

mysql.default_port =

mysql.default_socket =

mysql.default_host =

mysql.default_user =

mysql.default_password =

[mSQL]
msql.allow_persistent = On

msql.max_persistent = -1

msql.max_links = -1

[PostgresSQL]
pgsql.allow_persistent = On

pgsql.auto_reset_persistent = Off

pgsql.max_persistent = -1

pgsql.max_links = -1

[Sybase]
sybase.allow_persistent = On

sybase.max_persistent = -1

sybase.max_links = -1


sybase.min_error_severity = 10

sybase.min_message_severity = 10

sybase.compatability_mode = On

[Sybase-CT]
sybct.allow_persistent = On

sybct.max_persistent = -1

sybct.max_links = -1

sybct.min_server_severity = 10

sybct.min_client_severity = 10

[bcmath]
bcmath.scale = 0

[browscap]

[Informix]
ifx.default_host =

ifx.default_user =

ifx.default_password =

ifx.allow_persistent = On

ifx.max_persistent = -1

ifx.max_links = -1

ifx.textasvarchar = 0

ifx.byteasvarchar = 0

ifx.charasvarchar = 0

ifx.blobinfile = 0

ifx.nullformat = 0

[Session]
session.save_handler = files

session.save_path = /var/run/php

session.use_cookies = 1

session.name = PHPSESSID

session.auto_start = 0

session.cookie_lifetime = 0

session.cookie_path = /

session.cookie_domain =

session.serialize_handler = php

session.gc_probability = 1

session.gc_maxlifetime = 1440

session.referer_check =

session.entropy_length = 0

session.entropy_file =



session.cache_limiter = nocache

session.cache_expire = 180

session.use_trans_sid = 0

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

[MSSQL]
mssql.allow_persistent = On

mssql.max_persistent = -1

mssql.max_links = -1

mssql.min_error_severity = 10

mssql.min_message_severity = 10

mssql.compatability_mode = On




[Assertion]





[Ingres II]
ingres.allow_persistent = On

ingres.max_persistent = -1

ingres.max_links = -1

ingres.default_database =

ingres.default_user =

ingres.default_password =

[Verisign Payflow Pro]
pfpro.defaulthost = "test-payflow.verisign.com"

pfpro.defaultport = 443

pfpro.defaulttimeout = 30





[Sockets]
sockets.use_system_read = On

[com]

[Printer]

[mbstring]

[FrontBase]

extension=pcre.so
extension=xml.so
extension=odbc.so
extension=openssl.so
extension=overload.so
extension=recode.so
extension=pgsql.so
extension=gettext.so
extension=posix.so
extension=mysql.so
extension=filepro.so





Więcej informacji o liście dyskusyjnej pld-users-pl