depicus

  just another nerd on the interweb…



  • home
  • gallery
  • play page
  • support
  • videos
  • what is depicus

Archive for the ‘Wordpress’ Category

How to enable mod_rewrite in Ubuntu

Friday, January 27th, 2012



sudo a2enmod rewrite

Tags: Ubuntu
Posted in Interweb, Wordpress | No Comments »

Adding a website in OSX for debugging or testing

Sunday, December 4th, 2011



1. First edit your host file so you have a quick URL to use in your browser

View Code TERMINAL
1
sudo nano /private/etc/hosts

2. Edit the Apache config file to add a virtual server

View Code TERMINAL
1
sudo nano /etc/apache2/httpd.conf

and add

View Code TERMINAL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Depicus Web Site
<VirtualHost *:80>
ServerAdmin anybody@example.com
DocumentRoot "/Library/WebServer/Depicus/"
DirectoryIndex index.php
<Directory "/Library/WebServer/Depicus/">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ServerName Depicus
ErrorLog "/private/var/log/apache2/Depicus-error_log"
CustomLog "/private/var/log/apache2/Depicus-access_log" common
</VirtualHost>

3. Restart Apache and you are good to go.

Tags: Apache, Host
Posted in Apple, Interweb, OS X, Software Development, Wordpress | No Comments »

“name” is a reserved word in WordPress

Wednesday, August 31st, 2011



Just spent a few hours trying to debug a custom form in WordPress. The problem was every time the form was submitted I got a 404 error. Turns out the text input called “name” was the problem and “name” seems to be a reserved word in WordPress. Changed to something else and it all worked fine.

Tags: Reserved Word
Posted in Interweb, Wordpress | No Comments »

  • how i pay the bills

  • google rank getter

    100-400mm Android Apache Aperture Apple App Store bbPress Bike Bug Canon 7D Code Dell DotNet Fail Firefox forum Free Golf Google Analytics iPad iPhone iPod Touch Java Kenya Linksys L Lens Macbook Pro Netgear Objective C Open Source OSX PHP Rejected Server Skype Support Ubuntu Update Wake On Lan WakeOnLan Wifi Windows Wireshark Wordpress XCode
  • depicus in africa

    depicus in africa
  • friends

    • Agency Manager
    • AllClear Travel
    • Climbing Tikes
    • Globe Bloggers
    • Interactive Profiling
    • Marchday
    • myBMI
    • The Travel Toad
    • TPPLaw
    • You Are What You Eat
  • gallery

    IMG_2589 IMG_2249 Bisley Developments Ltd IMG_3436
  • videos

    Vimeo

    YouTube
  • twitter

    • @ClimbingTikes http://t.co/QleBOUbf :) view
    • @ClimbingTikes although have been reading that using core data is faster view
    • @ClimbingTikes you will need a db and then just record the long and lat every x and calc - easy really :) view
  • recent comments

    • Xander Soldaat: Thank you for this snippet of code and even more importantly, the ApplicationManifest permission...
    • murray king: Thanks for the post. Quick note -must be a typo for [theDay release]; should be [dayFormat release]...
    • Groumfy69: Very useful, thank you! Maybe you should add that the ImageIO.framework is required and you must import...
    • Oliver Mercado: Thank you. You saved my data bigtime. :D
    • Alex Cormak: Try Funter. Funter is a freeware Mac utility that can show and hide hidden and system files in Mac OS X,...
  • archives

    • February 2012 (7)
    • January 2012 (6)
    • December 2011 (7)
    • November 2011 (1)
    • October 2011 (2)
    • September 2011 (2)
    • August 2011 (4)
    • July 2011 (6)
    • June 2011 (9)
    • May 2011 (8)
    • April 2011 (2)
    • February 2011 (6)
    • January 2011 (14)
    • December 2010 (9)
    • November 2010 (8)
    • October 2010 (14)
    • September 2010 (6)
    • August 2010 (9)
    • July 2010 (1)
    • June 2010 (2)
    • May 2010 (2)
    • April 2010 (2)
    • March 2010 (11)
    • February 2010 (3)

Copyright © - depicus | Entries (RSS) | Comments (RSS)

WordPress theme butchered and amended by me.