Timeout with URL forwarding and Virtual Hosts Setup

Author Message

Arne S

Thursday 21 December 2006 8:59:19 am

Hi all,

I installed EZ on my unix server (with confixx), and it more or less works fine, but only when I access the site via the direct url, which is webx.xxx.serverkompetenz.net.

When I now try to create a forwarding from a different URL and created this as a virtual host with confixx, I always run into timeout after 1 minute. Even so the correct path is adressed, I only get error messages like:
Fatal error: Maximum execution time of 60 seconds exceeded in /srv/www/htdocs/webx/html/lib/eztemplate/classes/eztemplatecompiler.php on line 1498
Fatal error: eZ publish did not finish its request

I already adapted the vhost file to the recommended one from EZ site:

<VirtualHost XX.XX.XX.XX:80>
<Directory /srv/www/htdocs/webx/html>
Options FollowSymLinks
AllowOverride None
</Directory>

<IfModule mod_php4.c>
php_admin_flag safe_mode Off
php_admin_value register_globals 0
php_value magic_quotes_gpc 0
php_value magic_quotes_runtime 0
php_value allow_call_time_pass_reference 0
</IfModule>

DirectoryIndex index.php

<IfModule mod_rewrite.c>
RewriteEngine On
Rewriterule ^/var/storage/.* - [L]
Rewriterule ^/var/[^/]+/storage/.* - [L]
RewriteRule ^/var/cache/texttoimage/.* - [L]
RewriteRule ^/var/[^/]+/cache/texttoimage/.* - [L]
Rewriterule ^/design/[^/]+/(stylesheets|images|javascript)/.* - [L]
Rewriterule ^/share/icons/.* - [L]
Rewriterule ^/extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]
Rewriterule ^/packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]
RewriteRule ^/packages/styles/.+/thumbnail/.* - [L]
RewriteRule ^/favicon\.ico - [L]
RewriteRule ^/robots\.txt - [L]
# Uncomment the following lines when using popup style debug.
# RewriteRule ^/var/cache/debug\.html.* - [L]
# RewriteRule ^/var/[^/]+/cache/debug\.html.* - [L]
RewriteRule .* /index.php
</IfModule>

DocumentRoot /srv/www/htdocs/webx/html
SuexecUserGroup webx webx
php_admin_value open_basedir .
ServerName www.domain.eu
ServerAlias admin.domain.eu
</VirtualHost>

Any Ideas ?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.