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

Hahn-Athenstaedt, Robert robert.hahn-athenstaedt at sap.com
Wed Jul 6 09:06:21 CEST 2005


I'm still looking for a solution. I was searching and trying almost
everywhere and everything, but did not get it working.
If I move the typo3_source within the webspace of a vhost, then it works
but that's not what I want.
Safe_mode is off.

Nobody out there with an idea?

- rob -


>-----Original Message-----
>From: typo3-debian-bounces at lists.netfielders.de 
>[mailto:typo3-debian-bounces at lists.netfielders.de] On Behalf 
>Of Hahn-Athenstaedt, Robert
>Sent: Thursday, June 30, 2005 12:53 PM
>To: TYPO3 Installation on Debian
>Subject: [Typo3-debian] Typo3-Installation doesn't work for 
>virtual hosts
>
>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>
>_______________________________________________
>Typo3-debian mailing list
>Typo3-debian at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-debian
>



More information about the TYPO3-debian mailing list