Changes

Jump to navigation Jump to search
152 bytes added ,  21:04, 11 October 2014
→‎Restrict access to backend: Corrected directory in template fragment, and added comment with fragment pathname
Line 84: Line 84:  
The contents of the file look like this:
 
The contents of the file look like this:
   −
  <Directory /home/e-smith/files/ibays/'''joomla'''/html>
+
# /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/92Joomla
 +
  <Directory /home/e-smith/files/ibays/'''joomla'''/html/administrator>
 
  Order Deny,Allow
 
  Order Deny,Allow
 
  Deny from all
 
  Deny from all
  Allow from 192.168.x.0/24
+
  Allow from 192.168.'''0'''.0/24
 
  </Directory>
 
  </Directory>
   −
You'll need to change the directory name to reflect your ibay name.  Then, expand the template and restart Apache:
+
You'll need to change the directory name to reflect your ibay name, and the "Allow" IP range to reflect your LAN IP address range.  Then, expand the template and restart Apache:
    
  [root@e-smith httpd.conf]# '''expand-template /etc/httpd/conf/httpd.conf'''  
 
  [root@e-smith httpd.conf]# '''expand-template /etc/httpd/conf/httpd.conf'''  
147

edits

Navigation menu