Доброе время суток, форумчане!
Joomla 1.5.23 + JoomSEF 3.8.2.
Передо мной стоит задача: поставить flash-ролик, который показывается посетителям по адресу http://сайт/ с возможностью "пропустить заставку" или дождаться конца рекламы, после чего должен быть редирект на главную страницу. В ролике вшита ссылка на http://сайт/index.php
В .htaccess прописано "DirectoryIndex файл-с-кодом-вызова-ролика.html"
Проблема 1: JoomSEF делает http://сайт/ = http://сайт/index.php . Просто обрубает index.php. В итоге ролик воспроизводится циклично, на главную страницу не попасть - только ролик крутится.
Проблема 2: Когда прописываю "DirectoryIndex файл-с-кодом-вызова-ролика.html", с удивлением вижу вместо http://сайт/administrator/ список файлов в директории administrator, спокойно могу лазать по поддиректориям и скачивать файлы оттуда. То же самое - с остальными директориями, например, http://сайт/images/. А это ай-яй-яй, ясное дело.
Права на все директории стоят 755.
Вот мой .htaccess :##
# @version $Id: htaccess.txt 14401 2010-01-26 14:10:00Z louis $
# @package Joomla
# @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##
DirectoryIndex rolik.html
#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your SEF url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################
## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
#
# mod_rewrite in use
RewriteEngine On
########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension XML files (uncomment out to activate)
#<Files ~ "\.xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension XML files
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)
# RewriteBase /
########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section
Конфиг-файл Joomsef:<?php
/**
* SEF component for Joomla! 1.5
*
* @author Artio s.r.o.
* @copyright Artio s.r.o., http://www.artio.cz
* @package JoomSEF
* @version 3.1.0
* @license GNU/GPLv3 http://www.artio.net/license/gnu-general-public-license
*/
$alwaysUseLang = "1";
$enabled = "1";
$replacement = "-";
$pagerep = "-";
$stripthese = ",|~|!|@|%|^|*|(|)|+|<|>|:|;|{|}|[|]|---|--|..|.";
$suffix = "";
$addFile = "index.php";
$friendlytrim = "-|.";
$canonicalLink = true;
$pagetext = "JText::_('PAGE')-%s";
$langPlacement = "0";
$lowerCase = "1";
$useAlias = "0";
$excludeSource = "0";
$reappendSource = "0";
$ignoreSource = "1";
$appendNonSef = "1";
$transitSlash = "1";
$useCache = "1";
$cacheSize = "1000";
$cacheMinHits = "10";
$cacheRecordHits = "0";
$cacheShowErr = "0";
$translateNames = "1";
$page404 = "0";
$record404 = "0";
$template404 = "1";
$showMessageOn404 = "0";
$use404itemid = "0";
$itemid404 = 0;
$nonSefRedirect = "1";
$useMoved = "1";
$useMovedAsk = "1";
$replacements = "А|A, а|a, Б|B, б|b, В|V, в|v, Г|G, г|g, Д|D, д|d, е|e, Е|E, Ж|Zh, ж|zh, З|Z, з|z, И|I, и|i, Й|Y, й|y, К|K, к|k, Л|L, л|l, М|M, м|m, Н|N, н|n, О|O, о|o, П|P, п|p, Р|R, р|r, С|S, с|s, Т|T, т|t, У|U, у|u, Ф|F, ф|f, Х|H, х|h, Ц|Ts, ц|ts, Ч|Ch, ч|ch, Ш|Sh, ш|sh, Щ|Sch, щ|sch, Ы|Y, ы|y, Э|E, э|e, Ю|Yu, ю|yu, Я|Ya, я|ya, ь|b, Ь|b, Ъ|b, Ъ|b";
$predefined = array('0' => "com_login",'1' => "com_newsfeeds",'2' => "com_sef",'3' => "com_weblinks",'4' => "com_joomfish");
$serverUpgradeURL = "http://www.artio.cz/updates/joomsef3/upgrade.zip";
$serverNewVersionURL = "http://www.artio.cz/updates/joomla/joomsef3/version";
$serverAutoUpgrade = "http://www.artio.net/joomla-auto-upgrade";
$serverLicenser = "http://www.artio.net/license-check";
$langDomain = array();
$altDomain = null;
$disableNewSEF = "0";
$dontRemoveSid = "0";
$setQueryString = "1";
$parseJoomlaSEO = "1";
$customNonSef = "";
$jfBrowserLang = true;
$jfLangCookie = true;
$jfSubDomains = array();
$contentUseIndex = "1";
$checkJunkUrls = "1";
$junkWords = "http:// http// https:// https// www. @";
$junkExclude = "";
$preventNonSefOverwrite = "1";
$mainLanguage = 0;
$allowUTF = "1";
$numberDuplicates = "0";
$artioUserName = "admin";
$artioPassword = "*******";
$artioDownloadId = "";
$trace = "0";
$traceLevel = "3";
$autoCanonical = "1";
$sefComponentUrls = "0";
$versionChecker = "0";
$tag_generator = "";
$tag_googlekey = "";
$tag_livekey = "";
$tag_yahookey = "";
$customMetaTags = array();
$wwwHandling = "0";
$enable_metadata = "1";
$metadata_auto = "1";
$prefer_joomsef_title = "1";
$use_sitename = "2";
$sitename_sep = "-";
$rewrite_keywords = "1";
$rewrite_description = "1";
$prevent_dupl = "1";
$check_base_href = "1";
$sitemap_changed = true;
$sitemap_filename = "sitemap";
$sitemap_indexed = false;
$sitemap_frequency = "weekly";
$sitemap_priority = "0.5";
$sitemap_show_date = true;
$sitemap_show_frequency = true;
$sitemap_show_priority = true;
$sitemap_pingauto = true;
$sitemap_yahooId = "";
$sitemap_services = array('0' => "http://blogsearch.google.com/ping/RPC2",'1' => "http://rpc.pingomatic.com/");
$external_nofollow = false;
$internal_enable = true;
$internal_nofollow = false;
$internal_newwindow = false;
$internal_maxlinks = 1;
$artioFeedDisplay = "1";
$artioFeedUrl = "http://www.artio.net/joomsef-news/rss";
$fixIndexPhp = "1";
$fixQuestionMark = "1";
$fixDocumentFormat = "0";
$indexPhpCurrentMenu = "1";
$useGlobalFilters = true;
$spaceTolerant = "1";
$redirectJoomlaSEF = "1";
?>
Помогите, пожалуйста, заказ горит
