• wp-spamfree comments log 403 forbidden fix

    My wordpress blog has wp-spamfree installed and protecting me from spam comments.

    It does a great job and I heartily recommend it.

    One of the features is a log file with the contents of any spam comments so you can check for false positives or to see just how much spam your blog is being protected from.
    The log file defaults to [yourserver]/wp-content/plugins/wp-spamfree/data/temp-comments-log.txt

    I tried to read mine but I got a 403 forbidden error and couldn’t figure out why, I had a standard install.

    I tracked it down to the .htaccess file in /wp-content/plugins/wp-spamfree/data/ which has[code]SetEnvIfNoCase Referer http://labby\.co\.uk/wordpress/wp-admin/ wpsf_access
    SetEnvIf Remote_Addr ^my.ip.address$ wpsf_access


    order deny,allow
    deny from all
    allow from env=wpsf_access
    [/code]Insert the line with my.ip.address above and add your own IP address, save and you should be up and running.



    The following is unaffiliated with labby.co.uk
    • AIM
    • Bebo
    • Delicious
    • Digg
    • Blogger Post
    • BlogMarks
    • Facebook
    • Foxiewire
    • Google Bookmarks
    • Google Buzz
    • Google Gmail
    • Hotmail
    • Identi.ca
    • LiveJournal
    • Linkatopia
    • MySpace
    • Slashdot
    • Shoutwire
    • Sphere
    • StumbleUpon
    • Technorati Favorites
    • TechNet
    • Twitter
    • TypePad Post
    • Webnews
    • Yahoo Bookmarks
    • WordPress
    • Yahoo Buzz
    • Yahoo Mail
    • Yahoo Messenger
    • Share/Bookmark

    Related Posts:

     
  • Yet another email spammer identified

    Another day, another unknown email spammer brought down.

    Gregory –
    Regardless of how the rest of your day goes, here’s something to be happy
    about — today one of your donated MXs helped to identify a previously
    unknown email harvester (IP: 92.26.102.158). The harvester was
    caught a spam trap email address created with your donated MX:

    mail2.labby.co.uk

    You can find information about your newly identified harvester here:

    http://www.projecthoneypot.org/ip_92.26.102.158



    The following is unaffiliated with labby.co.uk
    • AIM
    • Bebo
    • Delicious
    • Digg
    • Blogger Post
    • BlogMarks
    • Facebook
    • Foxiewire
    • Google Bookmarks
    • Google Buzz
    • Google Gmail
    • Hotmail
    • Identi.ca
    • LiveJournal
    • Linkatopia
    • MySpace
    • Slashdot
    • Shoutwire
    • Sphere
    • StumbleUpon
    • Technorati Favorites
    • TechNet
    • Twitter
    • TypePad Post
    • Webnews
    • Yahoo Bookmarks
    • WordPress
    • Yahoo Buzz
    • Yahoo Mail
    • Yahoo Messenger
    • Share/Bookmark

    Related Posts:

     
  • wordpress, google translate and <code>

    Hands up if you use a plugin for automatically converting your wordpress blog content to other languages.

    Now keep your hands up if you add scripts to your blog that google happily munches through and translates for you.

    For those of you loyal readers beginning to get sore arms here is the solution which will only take a moment.

    Go to your wordpress install directory

    Edit the file wp-includes/js/quicktags.js

    do a find and replace for "<code>", replace with "<code class=notranslate>", including the ”

    There should be 2 occurrences in the file.

    Save the file and you are done.

    You will need to edit any existing posts in your database to change the contents of wp_posts again replacing <code> with <code class=notranslate> a simple php/mysql script would achieve this if you have a large blog.

    If you can’t come up with your own php script to do this, leave me a comment and I will write one.



    The following is unaffiliated with labby.co.uk
    • AIM
    • Bebo
    • Delicious
    • Digg
    • Blogger Post
    • BlogMarks
    • Facebook
    • Foxiewire
    • Google Bookmarks
    • Google Buzz
    • Google Gmail
    • Hotmail
    • Identi.ca
    • LiveJournal
    • Linkatopia
    • MySpace
    • Slashdot
    • Shoutwire
    • Sphere
    • StumbleUpon
    • Technorati Favorites
    • TechNet
    • Twitter
    • TypePad Post
    • Webnews
    • Yahoo Bookmarks
    • WordPress
    • Yahoo Buzz
    • Yahoo Mail
    • Yahoo Messenger
    • Share/Bookmark

    Related Posts:

     
  • Adding a new IP to apache2 web server

    I have just had a second IP for my web server and wish to use it for a dedicated domain name.

    Here is how you configure apache2 to serve requests on that IP to a specific virtualhost

    assumptions:

    new IP is 192.168.1.2

    new website is called newip.labby.co.uk

    <VirtualHost 192.168.1.2>

    UseCanonicalName Off

    ServerName newip.labby.co.uk

    ServerAlias *.newip.labby.co.uk

    ServerAlias *

    DocumentRoot /var/www/newip.labby.co.uk

    ErrorLog /var/log/apache2/error-newip.labby.co.uk.log

    LogLevel warn

    CustomLog /var/log/apache2/access-newip.labby.co.uk.log

    <Directory /var/www/newip.labby.co.uk>

    Allow From All

    Options +Indexes +FollowSymLinks

    </Directory>

    </virtualhost>

    h4>Incoming search terms for the article:
     
  • “call to undefined function curl_init” error in PHP

    I just had the “call to undefined function curl_init” error in PHP and was at a loss how to fix it.

    I knew immediately what it was (cURL allows you to read a website via a script) but couldn’t find a way to fix it via google.

    Here’s the solution on debian ubuntu php 5

    sudo apt-get install php5-curl
    sudo apache2ctl graceful
    

    Once that was done all was well.

    Simple solutions are wonderful aren’t they?

    
    
    
    h4>Incoming search terms for the article:
    • solution of Call to undefined function curl_init()
      • AIM
      • Bebo
      • Delicious
      • Digg
      • Blogger Post
      • BlogMarks
      • Facebook
      • Foxiewire
      • Google Bookmarks
      • Google Buzz
      • Google Gmail
      • Hotmail
      • Identi.ca
      • LiveJournal
      • Linkatopia
      • MySpace
      • Slashdot
      • Shoutwire
      • Sphere
      • StumbleUpon
      • Technorati Favorites
      • TechNet
      • Twitter
      • TypePad Post
      • Webnews
      • Yahoo Bookmarks
      • WordPress
      • Yahoo Buzz
      • Yahoo Mail
      • Yahoo Messenger
      • Share/Bookmark

      Related Posts:

      • No Related Posts
     
1 visitors online now
1 guests, 0 members
Max visitors today: 3 at 10:25 am UTC
This month: 11 at 07-02-2010 02:41 pm UTC
This year: 48 at 04-04-2010 10:07 pm UTC
All time: 48 at 04-04-2010 10:07 pm UTC

Videos, Slideshows and Podcasts by Cincopa Wordpress Plugin

programming-protein
programming-protein
programming-protein
programming-protein
impressive
impressive
impressive
impressive