User Tools

Site Tools


admin_pages_access_control

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

admin_pages_access_control [2018/06/05 13:30] (current)
samtuke created
Line 1: Line 1:
 +====== Access control to phpList admin pages ======
  
 +This article describes ways of limiting access to the administrative pages beyond the standard username and password login system.
 +
 +===== Using Apache rewrite module =====
 +
 +Configure Apache to block access to all admin pages (only public pages are accessible):
 +
 +<code apache>
 +Options -Indexes
 +<IfModule mod_rewrite.c>
 + RewriteEngine On
 + RewriteCond %{REQUEST_URI} ^/phplist/admin
 + RewriteCond %{REQUEST_URI} !^/phplist/admin/ui
 + RewriteCond %{REQUEST_URI} !^/phplist/admin/js
 + RewriteCond %{REMOTE_ADDR} !=x.x.x.x
 + RewriteRule ^(.*)$ - [R=403,L]
 +</IfModule> 
 +</code>
admin_pages_access_control.txt · Last modified: 2018/06/05 13:30 by samtuke

Resources
Contact Us

e: info@phplist.com

Boring Bit

phpList is a registered limited company

UK Company No. 07582966

VAT Registration 122 0788 37

© phpList 2016