> <VirtualHost 192.168.10.11:80>
> ServerName MainServer
> UseCanonicalName off
> DocumentRoot "/usr/local/apache/htdocs"
> <Directory "/usr/local/apache/htdocs">
> Options FollowSymLinks Includes ExecCGI
> AllowOverride All
> DirectoryIndex index.fcgi index.html index.htm index.shtml
> Order allow,deny
> Allow from all
> </Directory>
> <Location />
> SetHandler fastcgi-script
> </Location>
> <IfModule mod_fastcgi.c>
> RewriteEngine on
> RewriteRule ^/(.*) /usr/local/apache/htdocs/1/$1
> ErrorLog /var/log/httpd/error_log
> LogLevel warn
> LogFormat "%h %l %u %t \"%r\" %>s %b" common
> CustomLog /var/log/httpd/access_log common
> </IfModule>
> </VirtualHost>
в nginx сделал:
location / {
fastcgi_pass unix:/tmp/zope.soc;
fastcgi_connect_timeout 600;
fastcgi_pass_header Authorization;
rewrite ^(.*)$ /usr/local/apache/htdocs/1/$1 last;
root /usr/local/apache/htdocs/;
[...]
}