Russian TYPO3 community

Russian TYPO3 community (http://forum.typo3.ru/index.php)
-   Локализация проекта (http://forum.typo3.ru/forumdisplay.php?f=14)
-   -   Система безопастности... (http://forum.typo3.ru/showthread.php?t=3063)

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

Цитата:

Сообщение от Gamer89 (Сообщение 11037)
сори, не нашел...хотя долго искал....если вдруг найдете, киньте ссылку... Спасибо!

http://www.typo3wizard.com/en/articl...3-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 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>


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


Часовой пояс GMT +4, время: 23:18.

Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Перевод: zCarot