[Typo3-debian] Typo3-Installation doesn't work for virtual hosts

Hahn-Athenstaedt, Robert robert.hahn-athenstaedt at sap.com
Thu Jun 30 12:53:12 CEST 2005


Hi,

I'm trying to get my TYPO3 running for virtual hosts on my dedicated
server.
I installed Typo3 via Christian Leuthoff's packages.

Environment:
OS:		UbuntuLinux Hoary (Debian Linux 3.1)
Server:	Apache2

All prerequistes all installed and/or enabled.
But all I get is a blank page with "<html><body></body></html>" in the
source.

I already changed the permissions to 777 for all dirs/files and to
user/group "www-data", but nothing works.

Hope, someone can give me the right hint for a solution.
At least it works if I copy the whole typo3-source into the
htdocs-directory. But that's no choice actually, cause I want to share
the source between different domains.


- rob -

Here're my entries for the vHost in the conf-file:
==================================================
<VirtualHost mydomain.com>
    
    ServerAdmin     root at mydomain.com
    DocumentRoot    /var/www/virtual/mydomain.com/htdocs
    
    ServerName      mydomain.com
    ServerAlias     www.mydomain.com mydomain.com
    
    ErrorLog        /var/log/apache2/users/mydomain.com-error.log
    TransferLog     /var/log/apache2/users/mydomain.com-access.log
    
    CustomLog       /var/log/apache2/mydomain.com-traf.log traff
    CustomLog       /var/log/apache2/mydomain.com-combined.log combined
    
    Alias /errors   /var/www/virtual/mydomain.com/errors/
    
    ErrorDocument 401 /errors/401/index.php
    ErrorDocument 403 /errors/403/index.php
    ErrorDocument 404 /errors/404/index.php
    ErrorDocument 500 /errors/500/index.php

    ScriptAlias /cgi-bin/ /var/www/virtual/mydomain.com/cgi-bin/
    <Directory /var/www/virtual/mydomain.com/cgi-bin>
        AllowOverride None
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    
    <Directory /var/www/vhcs2/gui>
        php_admin_value open_basedir
"/var/www/vhcs2/gui/:/etc/vhcs2/:/proc/:/var/www/virtual/:/tmp/"
    </Directory>

    # httpd dmn entry PHP2 support BEGIN.
    php_admin_value open_basedir
"/var/www/virtual/mydomain.com/:/usr/share/php/:/tmp/"
    # httpd dmn entry PHP2 support END.
    
    <Directory /var/www/virtual/mydomain.com/htdocs>
        Options Indexes Includes FollowSymLinks MultiViews
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>

    Alias /webmail /var/www/ilohamail2/source/
    <Directory /var/www/ilohamail2/source>
       AllowOverride none
       Options MultiViews IncludesNoExec FollowSymLinks
       DirectoryIndex index.html index.php
       php_admin_value open_basedir
"/var/www/ilohamail2/:/tmp/:/usr/share/php/"
    </Directory>

    <Directory /usr/share/typo3>
        AllowOverride All
        Options Indexes Includes FollowSymLinks MultiViews
        Order allow,deny
        Allow from all
        php_admin_value open_basedir
"/usr/share/typo3/:/tmp/:/usr/share/php/"
    </Directory>
    
</VirtualHost>



More information about the TYPO3-debian mailing list