[TYPO3-german] http://domain.tld/typo3/typo3/install/index.php?mode=123&step=1&password=joh316

Andreas Becker ab.becker at web.de
Sun Mar 14 03:11:07 CET 2010


Thanks Oliver

genau das war das Problem. ddie Datei heisst im uebrigen:

/etc/apache2/conf.d/typo3-dummy.conf und ist ein symlink
auf /etc/typo3-dummy/apache.conf

und in dieser steht /etc/typo3-dummy/apache.conf steht:

====================================
# Configuration for the apache web server                 -*- apache -*-

# inspired by /etc/phpldapadmin/apache.conf from the Debian package of
# phpldapadmin (version 0.9.4-10) maintained by Fabio Tranchitella
# <kobold at kobold.it>

# improved through advanced.htaccess from Michael Stucki <mundaun at gmx.ch>


# Define the package aliases.  The following directive defines the
# /TYPO3root as /typo3.  If this is changed, search for
# TYPO3root and adapt the found directives appropriate.

<IfModule mod_alias.c>
    Alias /typo3 /var/lib/typo3-dummy
</IfModule>


# To use TYPO3 as a VirtualHost, comment out and customize the following
section
# <VirtualHost *:*>
#     ServerName typo3.example.com
#     ServerAdmin webmaster at example.com
#     DocumentRoot /var/lib/typo3-dummy
#     ErrorLog logs/typo3.example.com-error.log
#     CustomLog logs/typo3.example.com-access.log combined
# </VirtualHost>


<DirectoryMatch /var/lib/typo3-dummy/>

    DirectoryIndex index.php index.html
    # TYPO3 needs files shared between different instances. These are
    # symlinked into the document root directory. The following
    # directive enables that apache follows the symlinks.
    Options +FollowSymLinks
    # disable .htaccess, because it slows down apache
    AllowOverride None

    Order allow,deny
    Allow from all

    ### Begin: PHP optimisation ###
    <IfModule mod_mime.c>
      <IfModule mod_php4.c>
          # enable PHP processing for files ending with .php
          AddType application/x-httpd-php .php

          # enable safe PHP operation
          php_admin_value safe_mode on
          php_admin_value safe_mode_gid on
          # php_admin_value safe_mode_include_dir
/usr/share/typo3/typo3_src-4.2/

          #  Maximum allowed size for uploaded files (PHP defaults to 2MB)
          php_admin_value upload_max_filesize 10M
          php_admin_value upload_tmp_dir /var/run/typo3-dummy

          # Maximum amount of memory a script may consume (PHP defaults to
8MB)
          # You may want to set this higher as 48 mb if you have problems
          # getting the extension manager to work.
          php_admin_value memory_limit 48M

          # Maximum amount of time a script my consume
          # You may want to set this higher as 30 seconds if you have
problems
          # getting the extension manager to work.
          # php_admin_value max_execution_time 90

          # list of directories where require(), include() and
fopen_with_path() look for files
          php_admin_value include_path
/var/lib/typo3-dummy/:/usr/share/typo3/typo3_src-4.2/:.
          php_admin_value sendmail_path
"/var/lib/typo3-dummy/execdir/sendmail -t -i"

          # Limit the files that can be opened by PHP to the specified
directory-tree(s)
          php_admin_value open_basedir
/var/run/typo3-dummy/:/var/lib/typo3-dummy/:/usr/share/typo3/:/etc/typo3-dummy/:/usr/share/fonts/truetype/ttf-dejavu/:/usr/share/javascript/prototype/:/usr/share/javascript/scriptaculous/

          # in safe mode programs that are not in this directory will not be
started
          php_admin_value safe_mode_exec_dir /var/lib/typo3-dummy/execdir/

          # The PHP developers recommend disabling this feature. Do that.
          # It's deprecated and is likely to be unsupported in future
          # versions of PHP.
          php_flag allow_call_time_pass_reference off

          # TYPO3 works fine with register_globals turned off.
          # This is highly recommended!
          php_flag register_globals off

          # PHP may not declare the argv & argc variables (that would
          # contain the GET information).
          # TYPO3 doesn't need this, so just turn it off.
          php_flag register_argc_argv off

          # Magic quotes for runtime-generated data (data from SQL, exec(),
etc.)
          php_flag magic_quotes_gpc off

          # Order in which PHP registers GET, POST, Cookie and Built-in
variables
          php_value variables_order GPCS

      </IfModule>
      <IfModule mod_php5.c>
          # for hints regarding these options see section above.

          AddType application/x-httpd-php .php
          php_admin_value safe_mode on
          php_admin_value safe_mode_gid on
          # php_admin_value safe_mode_include_dir
/usr/share/typo3/typo3_src-4.2/
          php_admin_value upload_max_filesize 10M
          php_admin_value upload_tmp_dir /var/run/typo3-dummy
          php_admin_value memory_limit 48M
          # php_admin_value max_execution_time 90
          php_admin_value include_path
/var/lib/typo3-dummy/:/usr/share/typo3/typo3_src-4.2/:.
          php_admin_value sendmail_path
"/var/lib/typo3-dummy/execdir/sendmail -t -i"
          php_admin_value open_basedir
/var/run/typo3-dummy/:/var/lib/typo3-dummy/:/usr/share/typo3/:/etc/typo3-dummy/:/usr/share/fonts/truetype/ttf-dejavu/:/usr/share/javascript/prototype/:/usr/share/javascript/scriptaculous/
          php_admin_value safe_mode_exec_dir /var/lib/typo3-dummy/execdir/
          php_flag allow_call_time_pass_reference off
          php_flag register_globals off
          php_flag register_argc_argv off
          php_flag magic_quotes_gpc off
          php_value variables_order GPCS
      </IfModule>
    </IfModule>
    ### End: PHP optimisation ###


    ### Begin: Rewrite stuff ###
    <IfModule mod_rewrite.c>

        # Enable URL rewriting
        RewriteEngine On

        # To assist in debugging rewriting, you could use these lines
        # DON'T enable it for production!
        # This will only work in httpd.conf, not in .htaccess files
        #RewriteLog /var/log/apache/rewrite.log
        #RewriteLogLevel 9

        # Stop rewrite processing if we are in the typo3/ directory
        RewriteRule
^/typo3/(typo3|typo3temp|typo3conf|t3lib|fileadmin|uploads)/ - [L]

        # Redirect http://mysite/typo3 to http://mysite/typo3/index_re.php
        # and stop the rewrite processing
        RewriteRule ^/typo3/typo3$ /typo3/typo3/index.php [L]

        # If the file/symlink/directory does not exist => Redirect to
index.php
        # RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
        # RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
        # RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-l
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_FILENAME} !-l

        # Main URL rewriting.

        # If you use Windows and SimulateStaticDocuments do not work, try
adding a
        # slash (/) right before 'index.php' below.

        # The example shows how to rewrite only *.html and *.pdf files to
index.php
        # This may be helpful when using an extension that can generate PDF
files
        # on the fly.
        # Example: RewriteRule .*\.(html|pdf)$ index.php [L]

        RewriteRule .* /typo3/index.php [L]

        ### End: Rewrite stuff ###
    </IfModule>

</DirectoryMatch>
=================================

Im selbigen Verzeichnis findet sich dann auch noch eine localconf.php!!! mit
folgendem Inhalt

=================================
<?php
$TYPO3_CONF_VARS['SYS']['sitename'] = 'New TYPO3 site';

// Default password is "joh316" :
$TYPO3_CONF_VARS['BE']['installToolPassword'] =
'bacb98acf97e0b6112b1d1b650b84971';

$TYPO3_CONF_VARS['EXT']['extList'] =
'tsconfig_help,context_help,extra_page_cm_options,impexp,sys_note,tstemplate,tstemplate_ceditor,tstemplate_info,tstemplate_objbrowser,tstemplate_analyzer,func_wizards,wizard_crpages,wizard_sortpages,lowlevel,install,belog,beuser,aboutmodules,setup,taskcenter,info_pagetsconfig,viewpage,rtehtmlarea,css_styled_content,t3skin';

$typo_db_extTableDef_script = 'extTables.php';

## INSTALL SCRIPT EDIT POINT TOKEN - all lines after this points may be
changed by the install script!

// If safe_mode is activated with TYPO3, disable use of
// external programs
// typo3-dummy provides links to the most important external programs in
// /var/lib/typo3-dummy/execdir, so exec() function is enabled by default.
$TYPO3_CONF_VARS["BE"]["disable_exec_function"] = '0';

// TYPO3 prefers the use of GIF-files and most likely your visitors on
// your website does too as not all browsers support PNG yet.
$TYPO3_CONF_VARS["GFX"]["gdlib_png"] = '1';

// set this true to get some better results in GIFBUILDER
$TYPO3_CONF_VARS['GFX']['png_truecolor'] = '1';

// enabling the use of gdblib2 for image processing
$TYPO3_CONF_VARS["GFX"]["gdlib_2"] = '1';

// last versions of imagemagick renamed combine to composite. It will
// be set by basic configuration automatically.
$TYPO3_CONF_VARS["GFX"]["im_combine_filename"] = 'combine';

// This value should be set to 1 if imagemagick version is greater
// than 5.2
$TYPO3_CONF_VARS["GFX"]["im_negate_mask"] = '1';

$TYPO3_CONF_VARS["GFX"]["im_imvMaskState"] = '1';

$TYPO3_CONF_VARS["GFX"]["im_mask_temp_ext_gif"] = '1';

// The value should be 0 if the version of imagemagick is greater than
// 5, otherwise the creation of effects is getting too slow
$TYPO3_CONF_VARS["GFX"]["im_no_effects"] = '1';

$TYPO3_CONF_VARS["GFX"]["im_v5effects"] = '1';

// Path to the imagemagick manipulation tools like convert,
// composite and identify
$TYPO3_CONF_VARS["GFX"]["im_path"] = '/var/lib/typo3-dummy/execdir/';
$TYPO3_CONF_VARS['GFX']["im_path_lzw"] = '/var/lib/typo3-dummy/execdir/';

// Set Value to 1 if version of ImageMagick is greater than 4.9
$TYPO3_CONF_VARS["GFX"]["im_version_5"] = 'gm';

// This variable can be empty if ImageMagick is compiled with LZW.
// Otherwise you have to set the path to LZW
//$TYPO3_CONF_VARS["GFX"]["im_path_lzw"] = '';

// Image file formats that should be accepted by Typo3
$TYPO3_CONF_VARS["GFX"]["imagefile_ext"] =
'gif,jpg,jpeg,tif,bmp,pcx,tga,png,pdf';

$TYPO3_CONF_VARS["GFX"]["im_noFramePrepended"] = '1';

// Enables the preview of images to make the choice more easy
$TYPO3_CONF_VARS["GFX"]["thumbnails"] = '1';

// Preview of images in png or gif format.
// Should be the same as "gdlib_png"
$TYPO3_CONF_VARS["GFX"]["thumbnails_png"] = '1';

// Check freetype quicktest in the basic configuration if text is
// exceeding the image borders. If yes, you are using Freetype 2 and
// need to set TTFdpi to 96 dpi
$TYPO3_CONF_VARS["GFX"]["TTFdpi"] = '96';

// set memory limit to 48 mb.
// You may want to set this limit higher to get the extension manager
working.
$TYPO3_CONF_VARS['SYS']['setMemoryLimit'] = '48';

// Defines which of these PHP-features to use for various Charset
conversing
// functions in t3lib_cs.
$TYPO3_CONF_VARS['SYS']['t3lib_cs_convMethod'] = 'iconv';
?>
======================================

FRAGE:
Im Grunde ist doch die Verzeichnisse:

/etc/typo3-dummy/
/var/lib/typo3-dummy/ (existiert nicht auf Debian 5 Lenny!)

nutzlos und koennen geloescht werden - oder?

Gruss
Andi


More information about the TYPO3-german mailing list