PDA

Просмотр полной версии : Not Found The requested URL /page/page1/ was not found on this server


thebat
12.07.2007, 23:26
Ошибка:

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
$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.

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

thebat
14.07.2007, 13:38
Проблема в .htaccess.

Разрешен ли .htaccess?
Загружен ли mod_rewrite


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

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

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