-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# With SSL | ||
# Example for pphatdev.local | ||
<VirtualHost pphatdev.local:80> | ||
# Redirect to HTTPS | ||
Redirect permanent / https://pphatdev.local/ | ||
</VirtualHost> | ||
|
||
|
||
# With SSL | ||
<VirtualHost pphatdev.local:443> | ||
|
||
# Server Name | ||
ServerName pphatdev.local | ||
# Server Alias | ||
ServerAlias pphatdev.local | ||
|
||
# Document Root Path | ||
DocumentRoot "D:/Project/laravel/blog-post/public" | ||
|
||
# SSL Options | ||
SSLEngine on | ||
SSLCertificateFile "C:/xampp/apache/conf/ssl.crt/pphatdev.local.crt" | ||
SSLCertificateKeyFile "C:/xampp/apache/conf/ssl.key/pphatdev.local.key" | ||
|
||
# Directory Permission | ||
<Directory "D:/Project/laravel/blog-post/public"> | ||
Options Indexes FollowSymLinks MultiViews | ||
AllowOverride All | ||
Require all granted | ||
</Directory> | ||
</VirtualHost> |