Posts

Showing posts from August, 2010

Ubuntu - No application bars

After performing a system cleanup with the "janitor"and installing a theme manager "Art manager" the application simply disappear (the one with the minimise restore and maximise buttons).

The solution for it was installing/reinstalling some packages from synaptic :
search using "Windows manager"select:metacity - A lightweight GTK2 based Window Managerlibmetacity0 - library of lightweight GTK2 based Window Managermetacity-common - Shared files of lightweight GTK2 based Window Managerselect "Mark for re-installation"

Apache & Tomcat 404, 503 custom error page

Configure Tomcat and Apache to show custom 404 and 503 error pages. This should cover the cases when the either the page and/or application is not available.

1) Configure Apache httpd.conf configuration file in order to show a custom 404 and/or 503 error page:

# to handle 404 page not found
ErrorDocument 404 /404.htm

# to handle 503 application not available
ErrorDocument 503 /503.htm

Note(s):
The file 404 error page name can be anything you want and its path is relative to the applications DocumentRootHandling the 404 error by apache can be redundant, if the application is running then the 404 is catch and handled first by tomcat 2) Configure Tomcat web.xml file configuration file ion order to show a custom a404 error page:

<error-page>
    <error-code>404</error-code>
    <location>404.htm</location>
</error-page>

Borrar la cache en Internet Explorer V.6 y V.8

Borrar la cache en:

IE 6

Menú HerramientasOpción Opciones de InternetPestaña "General"Botón Eliminar Archivos…[marcar la casilla "Eliminar todo el contenido sin conexión"]Botón Aceptar

IE 8

Menú herramientasOpción Opciones de InternetApartado "Histórico de navegacion" el texto puede ser algo distinto ya que tengo la versión en inglesPulsa el botón Eliminar.Seleccionar, por lo menos, los checks "Ficheros temporales", "cookies" y "histórico"Una vez abierta con la url correcta refrescar la pagina con ctrl+F5