The Prevalent Wiki
Modo somente leitura

<< Wiki em modo somente leitura. Opções de edição estão desabilitadas. >>


Postado em Jan 9, 2008 por - História

The Captcha doesn ' t show in edit page in headless linux server

Install Xvfb


Xvfb :1 -screen 0 1024x768x16 
export DISPLAY=localhost@1:0

More Info:

In Debian 4.0:

apt-get install xvfb
apt-get install xfonts-base
apt-get install XFree86-fonts-100dpi
apt-get install xfonts-100dpi xfonts-75dpi
apt-get install xfonts-cyrillic
apt-get install xfonts-scalable
apt-get install xfonts-cronyx-misc
apt-get install libfreetype6
apt-get install libxext6
apt-get install libxtst6
apt-get install libXi6



setting headless to false and adding:

export DISPLAY=:1.0 

Configure Xvfb to start on rc.3: /

Encoding problems

Priki works only with UTF-8 URIs.

Change the properties adding in JAVA_OPTS


Change server.xml. In the Connector tag, add

URIEncoding="utf-8" useBodyEncodingForURI="true" 

If you are using Apache Webserver and JK, open apache2.conf and set:

JkOptions    +ForwardURICompatUnparsed