ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] .htaccess для vhost-ов
@ 2004-12-11  9:41 Michael Varamashvili
  2004-12-11 10:07 ` Ivan Fedorov
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Varamashvili @ 2004-12-11  9:41 UTC (permalink / raw)
  To: Community

Hу здpаcте Community,

  Сделанно так:

<VirtualHost 10.33.20.1>
    ServerAdmin ginius@localhost.localdomain
    ServerName 10.33.20.1

    ErrorLog /var/log/httpd/virthosts/10.33.20.1/error_log
    TransferLog /var/log/httpd/virthosts/10.33.20.1/access_log
    CustomLog /var/log/httpd/virthosts/10.33.20.1/ssl_request_log \
              "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

    DocumentRoot /var/www/virthosts/10.33.20.1/www
    ScriptAlias /cgi-bin/ /var/www/virthosts/10.33.20.1/cgi-bin/

    <Directory />
            Options Indexes +Includes FollowSymLinks
            AllowOverride None
    </Directory>

    SSLEngine on
    SSLCertificateFile /etc/httpd/conf/ssl/server.crt
    SSLCertificateKeyFile /etc/httpd/conf/ssl/server.key
    SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
</VirtualHost>

Проблемма - не обрабатываеются .htaccess. Вообще. Где-бы не лежали. .htaccess
следующего содержания:

Order Deny,Allow
Deny from all
Allow from localhost

AuthType            Basic
AuthName            "mysqlAdmin"
AuthUserFile        /var/www/virthosts/10.33.20.1/www/http.passwd
Require             valid-user

-----------••••··· [ www.magicssoft.ru | www.kaskadterra.ru | www.sakura.magicssoft.ru ]
С уважением, GiniuS.       mailto:GodsForge@inbox.ru
np: b-z-z-z-z-z
Tearline: Меня постоянно преследуют умные мысли, но я всегда быстрее.
Origin: Super star... super fuck, baby...



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-12  8:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-11  9:41 [Comm] .htaccess для vhost-ов Michael Varamashvili
2004-12-11 10:07 ` Ivan Fedorov
2004-12-12  8:49   ` Re[2]: " Michael Varamashvili

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git