phpList.org

403 forbidden when clicking update

Tags: #<Tag:0x00007f102eaa47a0>

Hi,

I’m running phpList 3.5.6. Everything works great beside Updater.
After clicking “update” in the main menu I’m getting:

403 Forbidden

You don’t have permission to access this document.

My best guess is that something is wrong with .htaccess but I can’t figure it out.

This is my .htaccess:

DirectoryIndex index.php

<FilesMatch "\.(php|inc)$">
	# Apache < 2.3
	<IfModule !mod_authz_core.c>
		Order allow,deny
		Deny from all
		Satisfy All
	</IfModule>
	# Apache ≥ 2.3
	<IfModule mod_authz_core.c>
		Require all denied
	</IfModule>
</FilesMatch>
# api.php is the entrypoint for phpList4
<FilesMatch "(index.php|dl.php|ut.php|lt.php|download.php|connector.php|api.php)$">
	# Apache < 2.3
	<IfModule !mod_authz_core.c>
		Order allow,deny
		Allow from all
		Satisfy All
	</IfModule>
	# Apache ≥ 2.3
	<IfModule mod_authz_core.c>
		Require all granted
	</IfModule>
</FilesMatch>

<IfModule mod_rewrite.c>
    Options -MultiViews
    RewriteEngine On
    RewriteRule api/v2/ api.php [L]
</IfModule>


# if you want more than this for attachments, you can increase these values
# but you really, really should consider uploading them somewhere
# and only sending a link in your mails
# bigger than this really doesn't make sense in emails

## these lines are now commented out, to avoid 500 errors, https://mantis.phplist.com/view.php?id=9937
## but you should consider adding them

#php_value upload_max_filesize 3M
#php_value post_max_size 4M

Maybe there’s something else I should be looking at?

br/Chris