Russian TYPO3 community

Russian TYPO3 community (http://forum.typo3.ru/index.php)
-   Общие вопросы (http://forum.typo3.ru/forumdisplay.php?f=12)
-   -   Not Found The requested URL /page/page1/ was not found on this server (http://forum.typo3.ru/showthread.php?t=4044)

thebat 12.07.2007 23:26

Not Found The requested URL /page/page1/ was not found on this server
 
Ошибка:

Not Found
The requested URL /page/page1/ was not found on this server
---------------------------------------------------------------------
Apache/1.3.37 Server at t3dev.bfdesign.ws Port 80

Это то, что я сделал (RealURL: URLs like normal websites):

To install this extension, four steps must be taken:

1. Install it in the Extension Manager / "realurl"

RealURL: URLs like normal websites

2. Configure .htaccess

Код:

    RewriteEngine On
    RewriteRule ^typo3$ - [L]
    RewriteRule ^typo3/.*$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l
    RewriteRule .* index.php

3. Modify your TypoScript template records with configuration for Real URLs

Код:

page.config {
simulateStaticDocuments = 0
baseURL = http://t3dev.bfdesign.ws/
tx_realurl_enable = 1
}

4. Configure the extension in typo3conf/localconf.php

// Start realURL configuration
PHP код:

$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
    
'_DEFAULT' => array(
    
'pagePath' => array(
    
'type' => 'user',
    
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
    
'rootpage_id' => 1
     
),
  ),
); 

// End realURL configuration

После проделанного, ссылки показывает хорошо, но только я клацаю на любую ссылку, браузер мне показывает...

Not Found
The requested URL /page/page1/ was not found on this server
---------------------------------------------------------------------
Apache/1.3.37 Server at t3dev.bfdesign.ws Port 80

Прошу помощи в решения этой проблемы.

Pavel Antonov 13.07.2007 13:04

Проблема в .htaccess.
  1. Разрешен ли .htaccess?
  2. Загружен ли mod_rewrite
  3. Возможно несовместимая конфигурация Apache, попробуйте использовать .htaccess от TYPO3 (не от RealURL). Там используется RewriteBase -это помогает при некоторых конфигурациях.

thebat 14.07.2007 13:38

Проблема решена.
 
Цитата:

Сообщение от Pavel Antonov (Сообщение 13582)
Проблема в .htaccess.
  1. Разрешен ли .htaccess?
  2. Загружен ли mod_rewrite

Проблема решена.

Проблема заключалась в том, что не был разрешен ".htaccess" и отсутствовал "mod_rewrite".

Сообществу спасибо в частности Павлу Антонову.


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

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