403 error
-
Hello,
I have external PDF in this plugin, but there is problem, I am getting 403 error, even there is 775 on plugin folder and www-data on whole WP project, I am using nginx.
In .htaccess I have this lanes.
# BEGIN Download-Monitor Options +FollowSymLinks RewriteEngine on RewriteRule ^downloads/([^/]+)$ /var/www/vhosts/web.com/wp-content/plugins/download-monitor/download.php?id=$1 [L] # END Download-Monitor RewriteEngine off #<IfModule mod_suphp.c> # suPHP_ConfigPath /home/**yourhostingusername**/public_html/**yourdomain**/php.ini # <Files php.ini> # order allow,deny # deny from all # </Files> #</IfModule> # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine on RewriteBase / RewriteRule ^downloads/([^/]+)$ https://web.com/wp-content/plugins/download-monitor/download.php?id=$1 [L] </IfModule> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘403 error’ is closed to new replies.