<VirtualHost *:80>
ServerName yourdomain.com
</VirtualHost>
<VirtualHost *:443>
DocumentRoot "/var/www/html/..."
ServerName yourdomain.com
</VirtualHost>
Home
Posts filed under Apache2
Showing posts with label Apache2. Show all posts
Showing posts with label Apache2. Show all posts
Friday, August 5, 2016
Cấu hình chuyển Http Sang Http Qua Apache2
Thursday, July 7, 2016
Access forbidden! You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster. Error 403
a
You don't have permission to access the requested directory.
There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Read More
Access forbidden!
You don't have permission to access the requested directory.
There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
Đây là file config mẫu để bạn kiểm thử.<VirtualHost 127.0.0.x:80> ServerAdmin info@longliulo.co DocumentRoot "/path/to/your/folder" ServerName yourdomain.com <Directory "/path/to/your/folder"> Allow from all AllowOverride All Order Allow,Deny Require all granted </Directory> ErrorLog "logs/yourdomain.com.dummy-host2.example.com-error.log" CustomLog "logs/yourdomain.com.dummy-host2.example.com-access.log" common </VirtualHost>
Friday, July 1, 2016
Tạo https cho tên miền trên Ubuntu với web server Apache2
![]() |
| Tạo https cho tên miền trên Ubuntu với web server Apache2 |
#Bật Secure Sockets Layer của apache2
a2enmod ssl
#Khởi động apache2
service apache2 restart
#Tạo thư mục chứa ssl
mkdir /etc/apache2/ssl
#Tạo tập tin xác thực
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/domain.key -out /etc/apache2/ssl/domain.crt
#Thêm vào /etc/apache2/sites-enabled/domain.conf
<VirtualHost *:443>
ServerName domain.com
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/domain.crt
SSLCertificateKeyFile /etc/apache2/ssl/domain.key
</VirtualHost *:443>
#Khởi động apache2
service apache2 restart
Subscribe to:
Posts (Atom)
Sosial Media
Paling Dibaca
-
<VirtualHost *:80> ServerName yourdomain.com </VirtualHost> <VirtualHost *:443> DocumentRoot "/var/www/html/......
-
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/ undefined symbol: php_pdo_get_dbh_ce in Unknown on line 0 ...
-
công việc là gì Thái độ làm việc thể hiện chỉ hướng của con người. Muốn tìm hiểu thái độ làm việc của một người, hãy tìm hiểu thái độ ...
-
a Access forbidden! You don't have permission to access the requested directory. There is either no index document or the direct...
-
Host Pointed to www ghs.google.com string1 string2.dv.googlehosted.com Host Pointed to @ 216.239.32.21 @ 216.23...
-
Bình luận bên dưới để mình chia sẻ rõ hơn về những tác dụng lợi hại của 15 công cụ này nhé. Screaming Frog SEO SEMrush Ubersuggest Google Ke...
-
Cách làm seo chia theo giai đoạn Việc đẩy một từ khóa lên top Google là không hề đơn giản. Đặc biệt là trong 1-2 năm trở lại đây, Google luô...
-
Tạo https cho tên miền trên Ubuntu với web server Apache2 #Bật Secure Sockets Layer của apache2 a2enmod ssl #Khởi động apache2 serv...
Kategori
Formulir Kontak
About Me
Powered by Blogger.

