Typo3, realurl and ispconfig

Discussion in 'Installation/Configuration' started by runeg, Sep 11, 2008.

  1. runeg

    runeg New Member

    Hi, is there any who has a solution for setting up realurl, for a typo3 installation in ispconfig?

    realurl requires that you place the following in the virtualhost file.
    RewriteEngine On
    RewriteRule ^/typo3$ - [L]
    RewriteRule ^/typo3/.*$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l
    RewriteRule .* /index.php

    But I cannot make this work. Any suggestions?

    /Rune
     
  2. Hans

    Hans Moderator Moderator

    Please setup TYPO3 according this howto.
    The howto is written for TYPO3 version 4.2.0, but you can change the version number into 4.2.1. and it will work.

    Within the webfolder web/ rename _.htaccess (which comes with TYPO3) to .htaccess
    Or make your own .htaccess file with the directives mentioned by you.

    Important is that .htaccess files arre allowed. If not it can be done by adding the following directives in the Apache directives field for tthe site:

    <Directory "/var/www/web#/web">
    Options FollowSymLinks
    AllowOverride All
    </Directory>

    Where web# is the webnumber as defined by ISPConfig.
     
    Last edited: Sep 11, 2008
  3. runeg

    runeg New Member

    Thanks I will try that !
     

Share This Page