Notas de desarrollo
Publicado por: restor el 3 febrero, 2024.
127.0.0.1 localhost
127.0.1.1 mecarox
127.0.0.1 mecarox.loc
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
ServerAdmin webmaster@localhost
DocumentRoot /var/www
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory "/var/www">
# Options Indexes FollowSymLinks
# AllowOverride All
# Require all granted
</Directory>
#Include conf-available/serve-cgi-bin.conf
</VirtualHost>
Agregar configuracion Apache2
sudo add2ensite miServidor.conf
Activar enlaces simbolicos
sudo a2enmod rewrite