Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ####################################
- # Domain main settings
- #LogLevel debug
- <VirtualHost HOST_NAME>
- DocumentRoot "PATH/TO/FOLDER"
- ServerName HOST_NAME
- ErrorLog "PATH/TO/error.log"
- CustomLog "PATH/TO/access.log" common
- </VirtualHost>
- <IfModule alias_module>
- DirectoryIndex index.php
- Alias /service "PATH/TO/FOLDER/public"
- <Directory "PATH/TO/FOLDER/public">
- Options Indexes MultiViews Includes FollowSymLinks
- AllowOverride All
- allow from all
- </Directory>
- </IfModule>
- # ####################################
- # LARAVEL public settings
- <IfModule mod_rewrite.c>
- # MULTI-SITES CONGIF
- Options Indexes MultiViews Includes FollowSymLinks
- RewriteBase /service/
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule . index.php [L]
- # DEFAULT CONGIF
- # <IfModule mod_negotiation.c>
- # Options -MultiViews -Indexes
- # </IfModule>
- # RewriteEngine On
- # Handle Authorization Header
- # RewriteCond %{HTTP:Authorization} .
- # RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
- # Redirect Trailing Slashes If Not A Folder...
- # RewriteCond %{REQUEST_FILENAME} !-d
- # RewriteCond %{REQUEST_URI} (.+)/$
- # RewriteRule ^ %1 [L,R=301]
- # Handle Front Controller...
- # RewriteCond %{REQUEST_FILENAME} !-d
- # RewriteCond %{REQUEST_FILENAME} !-f
- # RewriteRule ^ index.php [L]
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement