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 will you create a new content type using code?
How can we modify the form validation of drupal?
For image slider which modules are required in drupal?
What are the software requirements for drupal installation?
Describe the field api that was introduced into core in drupal 7.
What is the use of weight field while creating menu?
What is Multilingual content?
What is module in drupal? List out some of the modules used in drupal?
How will you install new theme in drupal?
What is the use of twitter suffix option in advanced tab in druapl social networking?
What are the steps for launching a drupal site?
What is the difference between drupal 7 and drupal 8?