[Typo3-debian] Provide a useful apache.conf - sendmail, cgi problems remaining
Sven Wilhelm
wilhelm at icecrash.com
Tue Nov 30 13:18:56 CET 2004
Hi Christian,
It should be a standard for typo3 to use virtual hosts as they give you
all needed configuration possibilities inside a container object. And
that container ist a very clean concept.
I appended a sample:
<VirtualHost xxx.xxx.xxx.xxx>
ServerAdmin webmaster at mydomain.de
DocumentRoot /home/project/apache/docs/www.mydomain.de
ServerName www.datug.de
ErrorLog /home/project/apache/logs/www.mydomain.de/error.log
CustomLog /home/project/apache/logs/www.mydomain.de/access.log
\ combined
<Directory /home/project/apache/docs/www.mydomain.de>
Options -Indexes +FollowSymLinks +Includes
RewriteEngine On
RewriteRule ^/typo3$ - [L]
RewriteRule ^/typo3/.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* /index.php
</Directory>
</VirtualHost>
Also typo3 should move to /usr.
Possibly patch the installer to deny a request if the password ist
joh316 or empty. So the write access to typo3/install/index.php is history.
Greetings Sven
More information about the TYPO3-debian
mailing list