Вход

Просмотр полной версии : Система безопастности...


Gamer89
07.04.2007, 14:35
Здравтсвуйте, хотел вот узнать, а можно ссделать так, чтоб вход в админку да и нахождение самого движка было не в папке "typo3", а в какой-либо другой??? на мое усмотрение...

Pavel Antonov
07.04.2007, 14:53
Тема на форуме уже была

Gamer89
07.04.2007, 14:58
сори, не нашел...хотя долго искал....если вдруг найдете, киньте ссылку... Спасибо!

Valery Romanchev
07.04.2007, 16:14
сори, не нашел...хотя долго искал....если вдруг найдете, киньте ссылку... Спасибо!

http://www.typo3wizard.com/en/articles/custom-vhost-for-the-typo3-backend.html

Custom vhost for the TYPO3 Backend


Sometimes it makes sense from a security point of view to seperate the typo3 backend from the main site.
The mainsite is reachable under www.mydomain.com (http://www.mydomain.com) but accessing the backend should work only with typo3.backend.info.

Add a redirect to the .htaccess of the maindomain to /typo3/ if accessed via typo3.backend.info
File /www/path/to/yoursite/.htaccess :


RewriteEngine on
RewriteRule ^[^/]*\.html$ index.php
RewriteCond %{HTTP_HOST} ^typo3.backend.info$ [NC]
RewriteRule ^(.*)$ http://typo3.backend.info/typo3/ [L]


The path /typo3/ is closed for all domains except the backend domain
File /www/path/to/yoursite/typo3/.htaccess:


RewriteEngine ON
RewriteCond %{HTTP_HOST} !typo3.backend.info [NC]
RewriteRule ^(.*)$ http://typo3.backend.info [L,R=301]


Activate the backend vhost in your httpd.conf / corresponding vhost configuration file:


<VirtualHost *>
ServerName typo3.backend.info
ServerAlias admin.backend.info
DocumentRoot /www/path/to/yoursite/
ErrorLog /var/log/apache2/typo3.backend.info-error.log
CustomLog /var/log/apache2/typo3.backend.info-access.log combined
</VirtualHost>


с другими способами я не советую связываться - можно получить много неожиданных проблем