OC Debian 4.0 SIDКонфиг вирт хоста Апача
NameVirtualHost *
<VirtualHost *>
<Directory /var/www/users/svazza/palata.tomsite.info>
Options Indexes FollowSymLinks Includes MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<IfModule mod_php5.c>
php_admin_value open_basedir /var/www/users/svazza
php_admin_value session.save_path /var/www/users/svazza/session
php_admin_value doc_root /var/www/users/svazza/palata.tomsite.info
php_admin_value upload_tmp_dir /var/www/users/svazza/palata.tomsite.info
php_admin_flag file_uploads On
php_admin_flag engine On
php_admin_value memory_limit 33554432
</IfModule>
ServerName palata.tomsite.info
ServerAlias
DocumentRoot /var/www/users/svazza/palata.tomsite.info/
</VirtualHost>
Конфиг вирт хоста в nginx
server {
listen 80;
server_name palata.tomsite.info ;
#access_log /home/mysite/log/access.log main;
# Main location
location / {
proxy_pass http://127.0.0.1:8080/;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
}
# Static files location
location ~* ^.+\.(jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|wav|bmp|rtf|js)$ {
root /var/www/users/svazza/palata.tomsite.info;
}
}
Конфиг nginx
user www-data;
worker_processes 2;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
server_names_hash_bucket_size 512;
log_format main '$remote_addr - $remote_user [$time_local] $status '
'"$request" $body_bytes_sent "$http_referer" '
'"$http_user_agent" "http_x_forwarded_for"';
access_log off;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
include /etc/nginx/host/*;
include /etc/nginx/mysites/*;
include /etc/nginx/chats/*;
}
Конфиг php.conf Cекция сессий
[Session]
session.save_handler = files
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
;session.cookie_domain =
;session.cookie_httponly =
session.serialize_handler = php
session.gc_divisor = 1000
session.gc_probability = 1
;session.gc_maxlifetime = 1440
;session.bug_compat_42 = 1
;session.bug_compat_warn = 1
;session.referer_check =
;session.entropy_length = 0
;session.entropy_file =
;session.cache_limiter = nocache
;session.cache_expire = 180
;session.use_trans_sid = 0
;session.hash_function = 0
;session.hash_bits_per_character = 4
;url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
Еще что-то нужно для анализа проблемы?