×
=0) { let js = text.slice(pos1, pos2); + '<\/' + "script" + '>'; arrText.push(js); // next pos1 = pos2; continue; } } } break; } return arrText; } function OpenDialog(parentDiv, urlContent) { parentDiv = document.getElementById('modal-background'); // new !!!!!!! parentDiv.appendChild(document.getElementById('modal-template')); document.getElementById('modal-background').style.display = "block"; document.getElementById('modal-template').style.display = "flex"; // !!!!! document.getElementById('modal-body').innerHTML = ""; post_url(urlContent, "", function(text_from_server) { var element = document.getElementById('modal-body'); element.innerHTML = text_from_server; // add scripts var arrJSText = get_scripts(text_from_server); for (var i=0; i
dir.by
Праздники ...
Праздники ...
День Святого Валентина (14 Февраля)
Концерты, выставки, цирки ...
Концерты, выставки, цирки ...
Спектакль "Женитьба" г. Минск 23 января, 27 февраля 2026
Афишу
Спорт занятия ...
Спорт занятия ...
Боулинг
Спорт занятие
Компьютеры, игры, программирование
Компьютеры, игры, программирование
Объявления ...
Объявления ...
Горелочные устройства Dreizler
Объявление
Форум (ваши вопросы, обсуждение)
Форум (ваши вопросы, обсуждение)
Search
Programming, development, testing
→
.htaccess file (commands)
→
DirectoryIndex (main page for directory) in the .htaccess
Looked at
3518
times
DirectoryIndex (main page for directory) in the .htaccess
last updated: 19 Augusta 2019
DirectoryIndex
file
Example
File
.htaccess
DirectoryIndex
index.php
Description
the default file will open if you do not specify a name
For example
Let's create a file dir.by/koncert/
.htaccess
DirectoryIndex
aaa.php
Let's Open
http://dir.by/koncert/
As result, page will be opened
dir.by/koncert/
aaa.php
Next topic →
Redirect (redirect from one page to another page) in the .htaccess
Your feedback ... Comments ...
Your Name
Your comment
(www links can only be added by a logged-in user)
+ Picture
Экскурсии по Москве: пешеходные, автобусные и речные прогулки на любой вкус
Объявления
Объявления
•
DirectoryIndex (main page for directory) in the .htaccess
•
Redirect (redirect from one page to another page) in the .htaccess
•
RewriteRule (redirect from a group of pages to another page) in the .htaccess
Ваши вопросы присылайте по почте:
info@dir.by