Gentoo Blog

The ultimate Gentoo Blog
  • Home
  • About

Confixx Can’t locate Confixx/Filter.pm after Upgrade to Debian Lenny

Simon | March 31, 2010

I received this error message after updating a Confixx Server to Debian Lenny when you try an run the Confixx counter script. This is how to fix the problem:

1. Change into the Confixx Admin directory

cd /root/confixx/admin/CPAN

2. Unpack the updater archive

tar -xzf Updater-1.0.6.tar.gz

3. Change into the directory

cd Updater-1.0.6

4. Then build the updater package

perl Makefile.PL
make
make install

This lead to a new error:

Can't locate XML/DOM.pm

5. To get rid of these errors you need to install the following packages;

aptitude install libxml-dom-perl libproc-process-perl

Thats it you should be able to run you Confixx Counter script again give it a try:

/root/confixx/confixx_counterscript.pl --dbg --force-all

Share on Facebook
Comments
No Comments »
Categories
confixx/Plesk
Comments rss Comments rss
Trackback Trackback

Howto install htscanner

Simon | March 29, 2010

I have started using Suphp on some of our confixx servers. Suphp hast one big advantage over mod php it executes PHP scripts with the permissions of their owners. Which is extremely useful on multi domain servers. Otherwise you always have the problem that files uploaded via FTP have different permissions than files upload via http. For example plugins uploaded via the wordpress backend or photos via php gallery. One of the big downsides of Suphp for us is that you cannot use .htaccess files for mod rewrite and so on. This is were htscanner comes along this is the description. Allow one to use htaccess-like file to configure PHP. sounds good :) You need to perform the following steps to install htscanner on debian or ubuntu:

1. Download htscanner:

wget http://pecl.php.net/get/htscanner-0.9.0.tgz

2. Unpack the archive:

tar -xzvf htscanner-0.9.0.tgz

3. Install dependencies:

aptitude install php5-dev php-config

4. Change into the htscanner directory:

cd htscanner-0.9.0

5. run phpize

phpize

6. Configure htscanner

./configure --enable-htscanner

7. Then make and make install

make && make install

8. This should have installed htscanner at the end of the install you should see the install path.

9. Create a file to get the htscanner module loaded:

vi /etc/php5/cgi/conf.d/htscanner.ini

10. With the following content:

extension=htscanner.so

11. restart the Apache web server and you can use .htaccess files again.

Share on Facebook
Comments
No Comments »
Categories
Ubuntu/Debian
Comments rss Comments rss
Trackback Trackback

Confixx on Debian Lenny and Umlautdomains

Simon | March 22, 2010

Confixx can handle IDN (international domain names) domains including Umlaute (ä,ü,ö). Normally you should be able to type your domain into the Confixx webinterface including (ä,ü,ö) and Confixx should generate punycode for the apache vhost config and the dns zone files. This stopped working in Debian Lenny due to the apache package in Lenny which was compiled with LANG=C. To get this function to work again open the following file with your favorite editor:

vi /var/www/confixx/html/include/idn_functions.php

If you are using Suse you will need to look under /srv/www. And add the following line at the top of the file under the comments:

setlocale(LC_ALL, "de_DE.UTF-8");

Thats it IDN domains should work again.

Share on Facebook
Comments
No Comments »
Categories
confixx/Plesk
Comments rss Comments rss
Trackback Trackback

Ubuntu 10.04 Lucid Window Buttons On The Left

Simon | March 9, 2010

To get the close and minimize buttons back on the right hand side do the following:

1. Press Alt + F2 and enter:

gconf-editor

2. navigate to /apps/metacity/general/button_layout

3. set the key value to:

:maximize,minimize,close

Thats it log out or restart metacity and your buttons should appear back on the right hand side.

Share on Facebook
Comments
6 Comments »
Categories
Ubuntu/Debian
Comments rss Comments rss
Trackback Trackback

 

March 2010
M T W T F S S
« Feb   Apr »
1234567
891011121314
15161718192021
22232425262728
293031  

Categories

  • confixx/Plesk
  • fun
  • Gentoo
  • iptables
  • mysql
  • news
  • Raid Controllers
  • Stuff
  • Ubuntu/Debian
  • Xen/Vmware

Links

  • Gentoo
  • http.net
  • iphone software linux
  • michael-fuchs.net
  • Ubuntu
  • webupd8.org

Search Blog

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox