The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



"настройка https centos"
Версия для распечатки Пред. тема | След. тема
Форум WEB технологии
Исходное сообщение [ Отслеживать ]

"настройка https centos" +/
Сообщение от roofutemail (ok), 24-Дек-14, 02:05 
Добрый день, необходимо чтобы листинг директории шел так


20141025174230-000002.txt
20140627122253-000002.txt
20140406180717-000002.txt
20140223180834-000002.txt
20140622205459-000000.txt
20141024180405-000002.txt
20141020172142-000002.txt
20140408173110-000000.txt
20141114193157-000000.txt
20141202170505-000002.txt
20140220175028-000002.txt
20140704180426-000002.txt
20141127182745-000002.txt
20141122134308-000002.txt
20140528174123-000002.txt
20140923174219-000002.txt
20140729221603-000002.txt


, а он идет вот так


<pre>Name                      <hr><a href="20141224015737-000000.txt">20141224015737-000000.txt</a>
<a href="20141224014708-000000.txt">20141224014708-000000.txt</a>
<a href="20141224002031-000002.txt">20141224002031-000002.txt</a>
<a href="20141223235720-000002.txt">20141223235720-000002.txt</a>
<a href="20141223232544-000001.txt">20141223232544-000001.txt</a>
<a href="20141223230559-000002.txt">20141223230559-000002.txt</a>
<a href="20141223230516-000002.txt">20141223230516-000002.txt</a>
<a href="20141223230322-000002.txt">20141223230322-000002.txt</a>
<a href="20141223223126-000002.txt">20141223223126-000002.txt</a>
<a href="20141223221352-000002.txt">20141223221352-000002.txt</a>
<a href="20141223220054-000000.txt">20141223220054-000000.txt</a>
<a href="20141223215417-000002.txt">20141223215417-000002.txt</a>
<a href="20141223213750-000001.txt">20141223213750-000001.txt</a>
<a href="20141223212001-000002.txt">20141223212001-000002.txt</a>


настройки виртуального хоста

<VirtualHost *:80>
    ServerAdmin easl@primer.ru
    ServerName primer.ru
    ServerAlias www.primer.ru

    DocumentRoot /home/primer.ru/
    ErrorLog /var/log/httpd/primer.ru-error_log
    CustomLog /var/log/httpd/primer.ru-access_log combined
        IndexOptions FancyIndexing  Charset=UTF-8 SuppressHTMLPreamble SuppressIcon SuppressLastModified SuppressRules SuppressSize$
IndexOptions Type=text/plain
IndexOrderDefault Descending Name
HeaderName HEADER.html
ReadmeName README.html
HostnameLookups Off
    UseCanonicalName Off
    ServerSignature Off
    DirectoryIndex index.php index.html
        IndexIgnore ..
    <Directory "/home/primer.ru/">
        Options Indexes FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    <Directory "/home/primer.ru/payments/goldenpay/v2">
        Options Indexes FollowSymLinks ExecCGI
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

     <Directory "/home/primer.ru/payments/goldenpay/v2">
        Options +ExecCGI
  </Directory>

    AddHandler cgi-script .cgi .pl

</VirtualHost>

Ответить | Правка | Cообщить модератору

Оглавление
настройка https centos, roofut, 24-Дек-14, 02:05  [смотреть все]
Форумы | Темы | Пред. тема | След. тема



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру