Portál AbcLinuxu, 13. března 2026 14:12
<VirtualHost 192.168.1.1:443>
DocumentRoot "/umisteni/www/stranek"
ServerName jmeno_serveru
ServerAdmin root@jmeno_serveru.org
ErrorLog logs/error_log_internet
TransferLog logs/access_log_internet
DirectoryIndex index.html index.php index.htm
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/umisteni/www/stranek">
Options FollowSymLinks
AllowOverride All
AuthType Basic
AuthName "Popis co se ukaze v login obrazovce"
AuthUserFile /etc/httpd/passwd/passwords
Require user uzivatel_v_apache
Order allow,deny
Allow from all
</Directory>
SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
<Directory "/var/www/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
Na otázku zatím nikdo bohužel neodpověděl.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.