Skip to content
Code and Bytes Code and Bytes

Code and Bytes
Code and Bytes

Habilitar mod_rewrite en Ubuntu 14.04

Posted on 30 October, 201430 October, 2014

Correr el comando para habilitar el mod_rewrite

sudo a2enmod rewrite

Se reinicia apache

sudo service apache2 restart

El archivo de configuracion por defecto en Ubuntu 14.04 cambió de default.conf a 000-default.conf

sudo nano /etc/apache2/sites-available/000-default.conf

Al final del archivo se agrega la ruta webserver:

<Directory "/var/www/html">
    AllowOverride All
</Directory>

En Ubuntu 14.04 tambien cambia la ruta de /var/www/ a /var/www/html

Reiniciamos apache y Listo

sudo service apache2 restart

 

 

Linux .htaccesapache2mod_rewrite

Post navigation

Previous post
Next post

Related Posts

Linux mssql-php

Instalar drivers de Microsoft PHP para SQL Server en Ubuntu 16.04

Posted on 10 June, 201818 November, 2018

En este tutorial veremos cómo instalar PHP para SQL Server, en este ejemplo usaremos la versión 7.0, si se desea la versión 7.2 sólo es reemplazar, usaré Ubuntu 16.04 pero  puede funcionar con otras versiones. sudo su add-apt-repository ppa:ondrej/php -y apt-get update apt-get install php7.0 php7.0-dev php7.0-xml -y –allow-unauthenticated Prerequisitos:…

Read More
Linux

Solución: Warning: mysqli_real_connect(): The server requested authentication method unknown to the client [caching_sha2_password] in

Posted on 14 May, 202114 May, 2021

Warning: mysqli_real_connect(): The server requested authentication method unknown to the client [caching_sha2_password] in  Warning: mysqli_real_connect(): (HY000/2054): The server requested authentication method unknown to the client in Este error me apareció al tener Mysql 8 con PHP 7.2, la razón es que MySQL 8 por defecto usa caching_sha2_password, un complemento que…

Read More

Ajustar el brillo en Xubuntu

Posted on 12 December, 20125 April, 2014

En algunos portátiles con Xubuntu el brillo al iniciar el sistema operativo está en el nivel mas bajo, para corregirlo debemos abrir la terminal y modificar el archivo /etc/rc.local sudo nano /etc/rc.local Antes de la línea exit 0 escribir lo siguiente: echo 10 > /sys/class/backlight/acpi_video0/brightness Donde a 10 es el…

Read More

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Buscar

Categorias

  • AI (2)
  • Asterisk (9)
  • Bases de datos (1)
  • DevOps (4)
  • Git (2)
  • HTML (1)
  • Laravel (6)
  • Linux (67)
  • MCP Server (1)
  • Mikrotik (3)
  • MySQL (5)
  • n8n (1)
  • Personal (4)
  • PHP (15)
  • Python (2)
  • Software recomendado (1)
  • Tips (1)
  • VSCode (4)
  • vTiger (4)
  • Windows (10)
  • Wordpress (4)
©2026 Code and Bytes | WordPress Theme by SuperbThemes