16 lines
276 B
ApacheConf
16 lines
276 B
ApacheConf
# Development security
|
|
# Protect .git, .env files
|
|
<Files "\.*">
|
|
Order deny,allow
|
|
Deny From All
|
|
</Files>
|
|
|
|
# Clouddesk URL Support
|
|
RewriteEngine ON
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule . index.php [L]
|
|
|
|
ErrorDocument 404 /404/
|