webacula 5.5
Добавлено: 2011-05-23 13:48:40
Кто нибудь ставил данное поделие?
такая х-ня с ZendFramework и конфигом апача...
такая х-ня с ZendFramework и конфигом апача...
Если проблема не решается сама, значит она неразрешима
https://forum.lissyara.su/
Код: Выделить всё
server {
server_name backup.dev;
listen 80;
rewrite ^(.*) https://$server_name$1 permanent;
}
server {
server_name backup.dev;
listen 443;
ssl on;
ssl_certificate /usr/local/etc/nginx/ssl/backup.dev-cert.pem;
ssl_certificate_key /usr/local/etc/nginx/ssl/backup.dev-key.pem;
keepalive_timeout 70;
charset utf-8;
access_log /var/log/nginx/webacula/access.log main;
error_log /var/log/nginx/webacula/error.log;
root /usr/local/www/webacula/html;
location / {
index index.php;
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?q=$1 last;
}
}
error_page 403 404 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/local/www/nginx;
}
location ~ \.php$ {
fastcgi_pass unix:/tmp/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
Код: Выделить всё
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, xxx@xxx and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Код: Выделить всё
# tail -f webacula_log
[17/Jul/2013:17:53:31 +0400] "GET /test_mod_rewrite/testlink1.html HTTP/1.1" 500 539
[17/Jul/2013:17:54:19 +0400] "GET /test_mod_rewrite/testlink1.html HTTP/1.1" 500 539
[17/Jul/2013:17:54:25 +0400] "GET /test_mod_rewrite/ HTTP/1.1" 200 529
[17/Jul/2013:17:54:26 +0400] "GET /test_mod_rewrite/ HTTP/1.1" 200 529
[17/Jul/2013:17:54:28 +0400] "GET /test_mod_rewrite/testlink1.html HTTP/1.1" 500 539
[17/Jul/2013:17:54:34 +0400] "GET /webacula HTTP/1.1" 500 539
[17/Jul/2013:17:54:35 +0400] "GET /webacula HTTP/1.1" 500 539
[17/Jul/2013:17:58:54 +0400] "GET /test_mod_rewrite/ HTTP/1.1" 200 529
[17/Jul/2013:17:58:55 +0400] "GET /test_mod_rewrite/ HTTP/1.1" 200 529
[17/Jul/2013:17:58:57 +0400] "GET /test_mod_rewrite/testlink1.html HTTP/1.1" 500 539
Код: Выделить всё
tail -f webacula-error_log
[Wed Jul 17 17:58:57 2013] [debug] core.c(3138): [client 192.168.161.59] redirected from r->uri = /webacula/index.php, referer: http://webacula.sm-bkp-01/test_mod_rewrite/
[Wed Jul 17 17:58:57 2013] [debug] core.c(3138): [client 192.168.161.59] redirected from r->uri = /webacula/index.php, referer: http://webacula.sm-bkp-01/test_mod_rewrite/
[Wed Jul 17 17:58:57 2013] [debug] core.c(3138): [client 192.168.161.59] redirected from r->uri = /webacula/index.php, referer: http://webacula.sm-bkp-01/test_mod_rewrite/
[Wed Jul 17 17:58:57 2013] [debug] core.c(3138): [client 192.168.161.59] redirected from r->uri = /webacula/index.php, referer: http://webacula.sm-bkp-01/test_mod_rewrite/
[Wed Jul 17 17:58:57 2013] [debug] core.c(3138): [client 192.168.161.59] redirected from r->uri = /webacula/index.php, referer: http://webacula.sm-bkp-01/test_mod_rewrite/
[Wed Jul 17 17:58:57 2013] [debug] core.c(3138): [client 192.168.161.59] redirected from r->uri = /webacula/index.php, referer: http://webacula.sm-bkp-01/test_mod_rewrite/
[Wed Jul 17 17:58:57 2013] [debug] core.c(3138): [client 192.168.161.59] redirected from r->uri = /webacula/index.php, referer: http://webacula.sm-bkp-01/test_mod_rewrite/
[Wed Jul 17 17:58:57 2013] [debug] core.c(3138): [client 192.168.161.59] redirected from r->uri = /webacula/index.php, referer: http://webacula.sm-bkp-01/test_mod_rewrite/
[Wed Jul 17 17:58:57 2013] [debug] core.c(3138): [client 192.168.161.59] redirected from r->uri = /webacula/test_mod_rewrite/index.php, referer: http://webacula/test_mod_rewrite/
[Wed Jul 17 17:58:57 2013] [debug] core.c(3138): [client 192.168.161.59] redirected from r->uri = /test_mod_rewrite/testlink1.html, referer: http://webacula/test_mod_rewrite/
Код: Выделить всё
tail -f webacula-rewrite.log
[17/Jul/2013:17:58:57 +0400] [webacula/sid#80285d738][rid#80fc6bef0/initial/redir#10] (3) [perdir /usr/local/www/webacula/html/] add path info postfix: /usr/local/www/webacula/html/webacula -> /usr/local/www/webacula/html/webacula/index.php
[17/Jul/2013:17:58:57 +0400] [webacula/sid#80285d738][rid#80fc6bef0/initial/redir#10] (3) [perdir /usr/local/www/webacula/html/] strip per-dir prefix: /usr/local/www/webacula/html/webacula/index.php -> webacula/index.php
[17/Jul/2013:17:58:57 +0400] [webacula/sid#80285d738][rid#80fc6bef0/initial/redir#10] (3) [perdir /usr/local/www/webacula/html/] applying pattern '^.*$' to uri 'webacula/index.php'
[17/Jul/2013:17:58:57 +0400] [webacula/sid#80285d738][rid#80fc6bef0/initial/redir#10] (3) [perdir /usr/local/www/webacula/html/] add path info postfix: /usr/local/www/webacula/html/webacula -> /usr/local/www/webacula/html/webacula/index.php
[17/Jul/2013:17:58:57 +0400] [webacula/sid#80285d738][rid#80fc6bef0/initial/redir#10] (3) [perdir /usr/local/www/webacula/html/] strip per-dir prefix: /usr/local/www/webacula/html/webacula/index.php -> webacula/index.php
[17/Jul/2013:17:58:57 +0400] [webacula/sid#80285d738][rid#80fc6bef0/initial/redir#10] (3) [perdir /usr/local/www/webacula/html/] applying pattern '^.*$' to uri 'webacula/index.php'
[17/Jul/2013:17:58:57 +0400] [webacula/sid#80285d738][rid#80fc6bef0/initial/redir#10] (2) [perdir /usr/local/www/webacula/html/] rewrite 'webacula/index.php' -> 'index.php'
[17/Jul/2013:17:58:57 +0400] [webacula.sm-bkp-01/sid#80285d738][rid#80fc6bef0/initial/redir#10] (3) [perdir /usr/local/www/webacula/html/] add per-dir prefix: index.php -> /usr/local/www/webacula/html/index.php
[17/Jul/2013:17:58:57 +0400] [webacula.sm-bkp-01/sid#80285d738][rid#80fc6bef0/initial/redir#10] (2) [perdir /usr/local/www/webacula/html/] trying to replace prefix /usr/local/www/webacula/html/ with /webacula
[17/Jul/2013:17:58:57 +0400] [webacula.sm-bkp-01/sid#80285d738][rid#80fc6bef0/initial/redir#10] (1) [perdir /usr/local/www/webacula/html/] internal redirect with /webacula/index.php [INTERNAL REDIRECT]
Код: Выделить всё
#SetEnv APPLICATION_ENV development
SetEnv APPLICATION_ENV production
#php_flag magic_quotes_gpc off
#php_flag register_globals off
RewriteEngine On
# edit RewriteBase if necessary
RewriteBase /webacula
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
Код: Выделить всё
<VirtualHost *:80>
ServerAdmin xxx@xxx
DocumentRoot "/usr/local/www/webacula/html/"
ServerName webacula
<Directory /usr/local/www/webacula/html>
DirectoryIndex index.php
AllowOverride All
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 192.168.1O0. 192.168.160. 192.168.161. 192.168.164. 192.168.165
Options Indexes FollowSymLinks
</Directory>
ServerAlias webacula /usr/local/www/webacula/html
LogLevel debug
ErrorLog "/var/log/webacula-error_log"
CustomLog "/var/log/webacula_log" common
RewriteLogLevel 3
RewriteLog "/var/log/webacula-rewrite.log"
</VirtualHost>