-=[ Mr. Bumblebee ]=-
_Indonesia_
| Path : /etc/apache2/ |
|
|
| Current File : //etc/apache2/apache2.conf |
# see http://sources.debian.net/src/apache2/2.4.10-1/debian/config-dir/apache2.conf
Mutex file:/var/lock/apache2 default
PidFile /var/run/apache2/apache2.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 50
KeepAliveTimeout 5
User www-data
Group www-data
HostnameLookups Off
ErrorLog /proc/self/fd/2
LogLevel warn
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf
# ports.conf
Listen 80
<IfModule ssl_module>
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
<Directory />
Options +Indexes +FollowSymLinks -Multiviews
AllowOverride None
Require all denied
</Directory>
<Directory /var/www/>
Options +Indexes +FollowSymLinks -Multiviews
AllowOverride All
Require all granted
</Directory>
AccessFileName .htaccess
<FilesMatch "^\.ht">
Require all denied
</FilesMatch>
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog /proc/self/fd/1 combined
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
DirectoryIndex index.php
IncludeOptional conf-enabled/*.conf
DocumentRoot /var/www/html
ServerName bant-time.co.kr
AddType application/x-httpd-php .php .html .htm
AddHandler application/x-httpd-php .html .htm
<VirtualHost *:443>
ServerName bant-time.co.kr
ServerAlias www.bant-time.co.kr new.bant-time.co.kr
DocumentRoot /var/www/html
SSLEngine on
SSLCertificateFile /etc/ssl/certs/bant-time.crt
SSLCertificateKeyFile /etc/ssl/private/bant-time.key
<Directory /var/www/html>
Options +Indexes +FollowSymLinks -Multiviews
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
<VirtualHost *:80>
ServerName bant-time.co.kr
ServerAlias www.bant-time.co.kr new.bant-time.co.kr
DocumentRoot /var/www/html
#RewriteEngine On
#RewriteCond %{HTTPS} off
#RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
<Directory /var/www/html>
Options +Indexes +FollowSymLinks -Multiviews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Copyright © 2017 || Recoded By Mr.Bumblebee