TechNews from the city of NewJoke
Currently Browsing: TechNews

How To: Enable BIND – Mac OS X’s Built-in DNS Server

Great article about enabling BIND on Mac OS X, it certainly helped me al lot! Read all about it here. Handy Commands As many things in *nix environments tend to be, managing your DNS server may seem just a bit more complicated than necessary. rndc is the DNS control utility, used to reload your DNS configuration or restart your DNS server launchctl enables you to launch services such as DNS as...

Fix blank page in JAWStats

if you got a blank page or a loop, you could have a problem with a special character. let’s remove them! open clsAWStats.php find @ line ~195 htmlspecialchars(urldecode(trim($arrData[$iIndexItem][$iIndexAttr]))) and add remove_sc … like this remove_sc(htmlspecialchars(urldecode(trim($arrData[$iIndexItem][$iIndexAttr])))) now go to the end of the file an add this function (before the ?> tag ) function...

Add ip to interface (linux)

cd /etc/sysconfig/network-scripts cp ifcfg-eth0 ifcfg-eth0:0 vi ifcfg-eth0:0 DEVICE=eth0:0 <– ONBOOT=yes BOOTPROTO=static IPADDR=xxx.xxx.xxx.xxx NETMASK=255.255.254.0 GATEWAY=xxx.xxx.xxx.xxx BROADCAST=xxx.xxx.xxx.255 restart network (/etc/init.d/network reload)

Create 301 redirect magento rewrite management

From: http://yoursite.com/new.html To: http://yoursite.com/old.html Do the following in Magento to create the appropriate pemanent redirect: Navigate to Catalog > Url Rewrite Management Click the “Add Urlrewrite” button Select “Custom” from the “Create Urlrewrite” drop-down menu The “Urlrewrite Information” form would be: ID Path: new.html Request Path: new.html Target Path: old.html ...

Magento error: Exception printing is disabled by default for security reasons

Magento Error There has been an error processing your request Exception printing is disabled by default for security reasons. Error log record number: 793079871864 Solution If you get the above error in Magento, try the following solution: 1) In your File Manager (or FTP client), or if you are like me on the commandline, go to your Magento folder. (/var/www/errors) 2) Rename file...

« Previous Entries

Powered by WordPress | Designed by Elegant Themes