22 lines
590 B
ApacheConf
22 lines
590 B
ApacheConf
<IfModule mod_rewrite.c>
|
|
RewriteEngine on
|
|
RewriteCond %{REQUEST_URI} !^/public
|
|
RewriteRule ^(.*)$ /public/$1 [L]
|
|
RewriteCond %{REQUEST_URI} !^/public
|
|
RewriteRule ^(.*)$ /public/$1 [L]
|
|
</IfModule>
|
|
|
|
# php -- BEGIN cPanel-generated handler, do not edit
|
|
# Set the “ea-php70” package as the default “PHP” programming language.
|
|
# <IfModule mime_module>
|
|
# AddHandler application/x-httpd-ea-php70 .php .php7 .phtml
|
|
# </IfModule>
|
|
# php -- END cPanel-generated handler, do not edit
|
|
|
|
# <FilesMatch “\.(php|php\.)$”>
|
|
|
|
# Order Allow,Deny
|
|
|
|
# Deny from all
|
|
|
|
# </FilesMatch> |