ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 

  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА














     АРХИВ :: Apache-Talk
Apache-Talk mailing list archive (apache-talk@lists.lexa.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [apache-talk] AccelNoPass directive



On Fri, Oct 24, 2003 at 05:10:32PM +0400, Igor Sysoev wrote:
> А, случаем, "DirectoryIndex /" не стоит ? Ровно такой же эффект при таком
> наборе модулей.

DirectoryIndex index.html index.htm index.cgi

Вот, собственно, весь vhost:

<VirtualHost XXX.XXX.XXX.XXX:443>
    ServerName servername.ru
    ServerAdmin support@servername.ru
    DocumentRoot /home/WEBUSER/servername
    DirectoryIndex index.html index.htm index.cgi

    ErrorLog  /home/WEBUSER/logs/servername-ssl_errors.log
    CustomLog /home/WEBUSER/logs/servername-ssl_access.log ssladmin

    # mod_ssl configuration
    SSLEngine on
    SSLCipherSuite 
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
    SSLCertificateFile    /home/WEBUSER/SSL/servername.crt
    SSLCertificateKeyFile /home/WEBUSER/SSL/servername.key
    SSLCACertificateFile  /home/WEBUSER/SSL/CA.crt
    SSLCARevocationFile   /home/WEBUSER/SSL/CA.crl
    SSLOptions +StdEnvVars

    SSLVerifyClient none
    SSLVerifyDepth  10

    HostnameLookups Off
    DefaultType application/octet-stream
    AddHandler cgi-script .cgi

    # mod_accel settings
    AccelNoPass /ca.crt
    AccelNoPass /file.txt
    AccelNoPass /docs
    AccelPass / http://192.168.XXX.XXX:80/

    # mod_deflate settings
    DeflateMinLength 10240
    DeflateCompLevel 5
    DeflateDisableRange "MSIE 4."
    DeflateEnable on

    <Location />
        AccelAddvia on
        AccelAddXForwardedFor on
        AccelBusyLock 20 25 30
        AccelPassCookie on
        AccelSetXHost on
        AccelSetXRealIP on
        AccelIgnoreAuth off
        AccelInvalidate _TEMPLATE

        # Hosts-based access
        order allow,deny
        Allow from all
        #Deny from bad_guy_ip

        Options Indexes
    </Location>
</VirtualHost>

-- 
WBR, Andrey Brindeew.
"No one person can understand Perl culture completely"
(C) Larry Wall.

Attachment: pgp00031.pgp
Description: PGP signature



 




Copyright © Lexa Software, 1996-2009.