PHP Classes

File: .htaccess

Recommend this page to a friend!
  Classes of Dipesh Sukhia   PHP PDF to Image Library   .htaccess   Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP PDF to Image Library
Convert PDF document to image using Imagick
Author: By
Last change:
Date: 3 years ago
Size: 997 bytes
 

Contents

Class file image Download
<IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> RewriteEngine On # for assets like js, css, pdf, etc. RewriteCond %{REQUEST_URI} !(\.{1}[a-zA-Z]*[\d]*)$ [NC] # for assets like js, css, pdf, etc which is in storage directory. RewriteCond %{REQUEST_URI}% !(/storage/*) [NC] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-fr RewriteRule ^ index.php [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !^/public/ RewriteRule ^(.*)/(.*)$ public/$1/$2 [L,NC] </IfModule> <FilesMatch "^\."> Order allow,deny Deny from all </FilesMatch> <FilesMatch "\.(lock|phar)$"> Order allow,deny Deny from all </FilesMatch> <FilesMatch "(composer.json|package.json|package-lock.json|yarn.json)$"> Order allow,deny Deny from all </FilesMatch>