File: //etc/apache2/sites-available/portalempleoclpu.proyectosundanet.com.conf
<VirtualHost *:80>
ServerAdmin sistemas@undanet.com
ServerName portalempleoclpu.proyectosundanet.com
DocumentRoot /home/undanet/www
<Directory /home/undanet/www>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
#Allow from 83.175.238.186
#Allow from 127.0.0.0/8
php_admin_flag short_open_tag off
Require all granted
</Directory>
TimeOut 300
ErrorLog ${APACHE_LOG_DIR}/portalempleoclpu-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/portalempleoclpu-access.log combined
#Header always set Access-Control-Allow-Origin "*"
#Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"
#Header always set Access-Control-Max-Age "1000"
#Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token, x-auth-token"
#Header always set X-Content-Type-Options nosniff
</VirtualHost>