[TYPO3] Version 4.1: .htaccess files for faster backend don't seem to work

Anne Charles anne.charles at saao.ac.za
Wed Mar 28 17:24:49 CEST 2007


I have exactly the same symptoms that Pieter describes.
"AllowOverride Indexes" has been set and mod_expires is included in PHP.

The Apache error log says:
    /var/www/html/saao/typo3/gfx/.htaccess: FileETag not allowed here...

My debug information is as follows:

### DEBUG SYSTEM INFORMATION - START ###
HTTP_HOST           : cmsdev.saao
TYPO3_HOST_ONLY     : cmsdev.saao
TYPO3_PORT          :
PATH_INFO           :
QUERY_STRING        : TYPO3_INSTALL[type]=phpinfo
REQUEST_URI         :
/saao/typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
HTTP_REFERER        : http://cmsdev.saao/saao/typo3/install/index.php?
TYPO3_REQUEST_HOST  : http://cmsdev.saao
TYPO3_REQUEST_URL   :
http://cmsdev.saao/saao/typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
TYPO3_REQUEST_SCRIPT: http://cmsdev.saao/saao/typo3/install/index.php
TYPO3_REQUEST_DIR   : http://cmsdev.saao/saao/typo3/install/
TYPO3_SITE_URL      : http://cmsdev.saao/saao/
TYPO3_SITE_SCRIPT   : typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
TYPO3_SSL           :
SCRIPT_NAME         : /saao/typo3/install/index.php
TYPO3_DOCUMENT_ROOT : /var/www/html
SCRIPT_FILENAME     : /var/www/html/saao/typo3/install/index.php
REMOTE_ADDR         : 10.1.1.24
REMOTE_HOST         :
HTTP_USER_AGENT     : Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1)
Gecko/20061010 Firefox/2.0
HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5
CONST: PHP_OS       : Linux
CONST: TYPO3_OS     :
CONST: PATH_thisScri: /var/www/html/saao/typo3/install/index.php
CONST: php_sapi_name: apache2handler
OTHER: TYPO3_VERSION: 4.1
OTHER: PHP_VERSION  : 5.2.1
imagecreatefromgif(): 1
imagecreatefrompng(): 1
imagecreatefromjpeg(: 1
imagegif()          : 1
imagepng()          : 1
imagejpeg()         : 1
imagettftext()      : 1
OTHER: IMAGE_TYPES  : 15
OTHER: memory_limit : 80M
SERVER: SERVER_PORT : 80
SERVER: SERVER_SOFTW: Apache/2.0.52 (CentOS)
SERVER: GATEWAY_INTE: CGI/1.1
SERVER: SCRIPT_NAME : /saao/typo3/install/index.php
SERVER: PATH_TRANSLA:
T3CV_GFX: image_proc: 1
T3CV_GFX: gdlib     : 1
T3CV_GFX: gdlib_png : 0
T3CV_GFX: gdlib_2   : 0
T3CV_GFX: im        : 1
T3CV_GFX: im_path   : /usr/lib/typo3/ImageMagick4/
T3CV_GFX: im_path_lz: /usr/lib/typo3/ImageMagick4/
T3CV_GFX: im_version:
T3CV_GFX: im_negate_: 0
T3CV_GFX: im_imvMask: 0
T3CV_GFX: im_combine: combine
### DEBUG SYSTEM INFORMATION - END ###

Regards,
Anne

Pieter wrote:
> Hello all,
> 
> the backend of Typo3 gives me all kind of problems if I enable the
> .htaccess files (as explained in
> http://typo3.org/development/articles/release-notes-41/page/4/).
> 
> - the graphics of the login screen and the page tree disappear as soon
> as I enable the file in typo3/gfx/
> - I get an internal server error (when I go to Web -> Page) with the
> file in typo3/sysext/ enabled or all .htaccess files enabled.  The error
> is only present on the right part of the screen, the menu on the left
> and the page tree keeps on working.
> 
> When I run phpinfo in the install tool the "Loaded Modules" list
> contains "mod_expires".
> The configuration file of Apache contains "AllowOverride All".  I added
> "AllowOverride Indexes" and restarted but that should not be necessary.
> 
> The Apache logfile contains:
> GET /t3/typo3/sysext/cms/layout/db_layout.php?id=3 HTTP/1.1" 500 607
> "http://my.site.org/t3/typo3/alt_db_navframe.php??currentSubScript=sysext%2Fcms%2Flayout%2Fdb_layout.php"
> "Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.2) Gecko/20070219
> Firefox/2.0.0.2"
> 
> Versions:
> Apache/1.3.33 (Debian GNU/Linux) mod_ssl/2.8.22 OpenSSL/0.9.7e
> PHP/4.3.10-19 mod_perl/1.29 DAV/1.0.3
> PHP Version 4.3.10-19
> 
> 
> Who can tell with this info what goes wrong...?
> 
> Kind regards,
> Pieter


More information about the TYPO3-english mailing list