Changes

Jump to navigation Jump to search
409 bytes added ,  17:55, 30 September 2017
no edit summary
Line 61: Line 61:  
  <nowiki>mkdir /var/www/html/wp-content/uploads
 
  <nowiki>mkdir /var/www/html/wp-content/uploads
 
sudo chown -R :www-data /var/www/html/wp-content/uploads</nowiki>
 
sudo chown -R :www-data /var/www/html/wp-content/uploads</nowiki>
 +
 +
9.- Access Control
 +
Apache provides access control based on client hostname, IP address, or other characteristics of the client request using mod_access module.
 +
 +
Open your httpd.conf file:
 +
# vi /etc/httpd/conf/httpd.conf
 +
Locate directory section (for example/var/www/sub/payroll) and set it as follows:
 +
 +
<Directory /var/www/sub/payroll/>
 +
Order allow,deny
 +
Allow from 192.168.1.0/24
 +
Allow from 127
 +
</Directory>
 
9.- Completar la instalación accediendo a la url
 
9.- Completar la instalación accediendo a la url
    
Fuente: https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-ubuntu-14-04
 
Fuente: https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-ubuntu-14-04

Navigation menu