meta data for this page
  •  
no way to compare when less than two revisions

Differences

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


admin_pages_access_control [2018/06/05 12:30] (current) – created samtuke
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>