Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerName localy.dev
- #ErrorLog /dev/null
- #LogLevel emerg
- #CustomLog /dev/null combined
- DocumentRoot "C:\xampp\htdocs\localy.dev/frontend/web"
- Alias /admin "C:\xampp\htdocs\localy.dev/backend/web"
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- AddDefaultCharset utf-8
- </Directory>
- <Directory "C:\xampp\htdocs\localy.dev/frontend/web/">
- RewriteEngine on
- # if a directory or a file exists, use the request directly
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- # otherwise forward the request to index.php
- RewriteRule . index.php
- Order Allow,Deny
- Allow from all
- </Directory>
- <Directory "C:\xampp\htdocs\localy.dev/backend/web/">
- RewriteEngine on
- # if a directory or a file exists, use the request directly
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- # otherwise forward the request to index.php
- RewriteRule . index.php
- Order Allow,Deny
- Allow from all
- </Directory>
- <FilesMatch \.(htaccess|htpasswd|svn|git)>
- Deny from all
- Satisfy All
- </FilesMatch>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement