How to configure .htaccess to ignore specific subfolders?
Answer / Sanjay Singh
To ignore specific subfolders in Drupal's .htaccess file, you can add the following lines: n
# Ignore the 'files' foldernt<FilesMatch ^(?:update|cron| stats).php> nttdeny from allnt</FilesMatch>nt<DirectoryMatch ^(/sites/all/[a-zA-Z0-9]+/files)>nttOptions -Indexes +FollowSymLinks +MultiViewsnt</DirectoryMatch>
| Is This Answer Correct ? | 0 Yes | 0 No |
How to create the responsive theme?
what is the use of Ctools in Drupal?
Explain theming in drupal 8?
How to make a module?
What are the supported databases by drupal?
What database does drupal use?
What are breadcrumbs ?
What is drupal programming language?
What is a module in drupal ?
How to customize a drupal syndicate feed icon?
List the features of drupal?
What is drupal trigger ?