Archive for 'Ubuntu'
Mirror websites with lftp
Posted on 19. May, 2010 by config.
There are lots of methods to mirror websites, you could use tons of Gui tools or just use Curl, wget or httrack. But as usual with linux there is a simpler and/or "better" method - lftp. It works great for mirroring Apache directory listings.
Continue Reading
Plesk for Linux – Fixing .htaccess pcfg_openfile error – permission fix
Posted on 09. Aug, 2009 by config.
Problem with directory / files permissions after installing some software on your Plesk Linux server ( Nagios for example known to cause this in certain scenarios ). From /var/www/vhosts/domain.com/statistics/logs/error_log : [critical] [client 192.168.0.13] (13)Permission denied: /var/www/vhosts/domain.com/httpdocs/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable You will see Forbidden Error in your browser. If you check the mentioned location you [...]
Continue Reading
Plesk for Linux – Disabling mod_security rules for specific directory
Posted on 08. Aug, 2009 by config.
If you are working with Plesk Control Panel ( Linux version ) and mod security – you probably encountered some problems with specific scripts. Sometimes mod security block certain functions of the script because it thinks it is malicious code. For example this warning taken from Apache log: Warning. Match of "rx ^apache.*perl" against "REQUEST_HEADERS:User-Agent" required. [file [...]
Continue Reading
Grub2, problem booting after kernel update
Posted on 05. Aug, 2009 by config.
If you are using grub2 ( arch linux or ubuntu 9.10 karmic koala ) you might notice some problems after kernel updates. Symptoms – System won’t boot and you will get error similar to this: Error – you need to load the linux kernel first. Quick solution would be to boot from Arch / Ubuntu CD and go [...]
Continue Reading
Ubuntu 9.10 Karmic Koala Alpha – Ctrl+c in ssh terminal
Posted on 04. Aug, 2009 by config.
Seems like Ubuntu dev folks decided to change some functionality of the Ctrl-c shortcut so now it is copy function instead of break. Anyway there is a bug open here: https://bugs.launchpad.net/ubuntu/+bug/402973 My install is ( lsb_release -a ): Description: Ubuntu karmic (development branch) Release: 9.10 uname -a ( date and time stripped ) Linux psy-srv 2.6.31-3-generic-pae #19-Ubuntu SMP i686 GNU/Linux Its Alpha [...]
