“apr_sockaddr_info_get() failed for” … httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for…

Es una advertencia.. pero son feas, asique queria solucionarlo.. lo que me funcionó (que fue lo primero que probe) fue:

Primero, hay que saber cual es nuestro hostname

hostname

Luego editamos (con vi o nano) (recomiendo que aprendan un poco de vim)

vi /etc/hosts

y aqui reemplazamos las negritas por nuestro hostname

127.0.0.1               localhost.hostname localhost hostname

y voalá

service httpd restart

Instalar Apache + MySQL + PHP (LAMP) en Fedora 11

Rapidito como de costumbre.. las instrucciones en CentOS no deberían ser muy distintas..

yum groupinstall “Servidor Web”

Ya tenemos php y apache instalado.. ahora le toca a mysql (php-mysql se instaló en el grupo Servidor Web)

yum groupinstall “Base de Datos MySQL”

seguramente se pueden instalar los dos grupos en un mismo comando. I didn’t try ~~~~

Iniciamos los servicios

service httpd start

service mysql start

Luego configurar mysql con este magicomando

mysql_secure_installation

El cual nos pregunta muy amigablemente un par de cosas y deja el servidor ” pi pi , cu cu “

http://localhost/

Name Based VirtualHosts en Ubuntu

Empezamos a los golpes:

cd /etc/apache2/sites-available/

aca hay 2 archivos: “default” y “default-ssl”. Estos son ~modelos~ de bloquest de virtualhosts.. uno con ssl, el otro no

cp default example.com

editamos el archivo nuevo, example.com a gusto…

luego ejecutamos

a2ensite example.com

y recargamos apache

/etc/init.d/apache2 reload

Listooo

Opinion personal: me gusta más la forma de hacerlo en CentOS

Genial Modulo anti-trolls para Drupal

Misery

Miseria!

Si !! permite hacer sufrir a los usuarios más molestos !! a los trolls !!

  • Delay: Create a random-length delay, giving the appearance of a slow connection. (by default this happens 40% of the time)
  • White screen: Present the user with a white-screen. (by default this happens 10% of the time)
  • Wrong page: Redirect to a random URL in a predefined list. (by default this happens 0% of the time)
  • Random node: Redirect to a random node accessible by the user. (by default this happens 10% of the time)
  • 403 Access Denied: Present the user with an “Access Denied” error. (by default this happens 10% of the time)
  • 404 Not Found: Present the user with a “Not Found” error. (by default this happens 10% of the time)
  • Forms don’t submit: Redirect back to the form during validation to prevent submission. (by default this happens 60% of the time)