<?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>Problems to Solve &#187; wordpress</title>
	<atom:link href="http://problemstosolve.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://problemstosolve.com</link>
	<description>A Blog dedicated to solving problems.</description>
	<lastBuildDate>Wed, 09 May 2012 17:52:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>mod_security won&#8217;t let you post [solved]</title>
		<link>http://problemstosolve.com/2008/01/08/mod_security-wont-let-you-post-solved/</link>
		<comments>http://problemstosolve.com/2008/01/08/mod_security-wont-let-you-post-solved/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 17:49:54 +0000</pubDate>
		<dc:creator>jordan314</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[solved]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://problemstosolve.com/computers/mod_security-wont-let-you-post-solved/</guid>
		<description><![CDATA[In my last post, I kept getting this error when I clicked Publish in wordpress: Error 406, Not Acceptable. An appropriate representation of the requested resource /wp-admin/post.php could not be found on this server. It turned out my host was running mod_security and there are certain phrases it won&#8217;t let you publish. It&#8217;s censorship, but [...]]]></description>
			<content:encoded><![CDATA[<p>In my last post, I kept getting this error when I clicked Publish in wordpress:</p>
<p>Error 406, Not Acceptable. An appropriate representation of the requested resource /wp-admin/post.php could not be found on this server.</p>
<p>It turned out my host was running mod_security and there are certain phrases it won&#8217;t let you publish. It&#8217;s censorship, but I understand why they do it. I was talking about the most dangerous command you can run in unix:</p>
<p>&#115;&#117;&#100;&#111;&#032;&#114;&#109;&#032;&#045;&#114;&#102;</p>
<p>That&#8217;s what triggered it. I had to obfuscate the text in that entry and this one just to be able to post it. (View the source of this page to see what I mean).</p>
<p>If you&#8217;ve been able to post normally and suddenly you can&#8217;t and are getting this error, check for weird linux commands or files in your post that could be triggering this.</p>
]]></content:encoded>
			<wfw:commentRss>http://problemstosolve.com/2008/01/08/mod_security-wont-let-you-post-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download packages and wordpress plugins with wget and SSH [solved]</title>
		<link>http://problemstosolve.com/2007/06/18/download-packages-and-wordpress-plugins-with-wget-and-ssh-solved/</link>
		<comments>http://problemstosolve.com/2007/06/18/download-packages-and-wordpress-plugins-with-wget-and-ssh-solved/#comments</comments>
		<pubDate>Mon, 18 Jun 2007 21:33:32 +0000</pubDate>
		<dc:creator>jordan314</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[phpBB]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://problemstosolve.com/uncategorized/download-packages-and-wordpress-plugins-with-wget-and-ssh-solved/</guid>
		<description><![CDATA[If you&#8217;re a typical web designer, when you install web packages like phpBB or wordpress or plugins like bad behavior or spam karma, you probably go to the web page that hosts the file, download it to your computer, unzip it, FTP to your host, and upload the directory to install the package. Well, if [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re a typical web designer, when you install web packages like phpBB or wordpress or plugins like bad behavior or spam karma, you probably go to the web page that hosts the file, download it to your computer, unzip it, FTP to your host, and upload the directory to install the package.</p>
<p>Well, if your host has SSH access, there&#8217;s an easier way:</p>
<p>Go to the webpage of the file you want to download and right click and copy the link instead of downloading it.</p>
<p>Get <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_top">putty</a> and connect to your host via SSH on port 22, using your FTP login and password.</p>
<p>cd to the directory you want to download the file to (such as cd public_html/wordpress/wp-content/plugins/).</p>
<p>Type in this command:</p>
<p>wget [URL]</p>
<p>Where [URL] is the link to the downloaded file. For instance:</p>
<p>wget http://mnm.uib.es/gallir/wp-content/wp-cache-2-1-1.zip</p>
<p>You can right click to paste in putty, so just type wget, hit space and then right click and hit enter.<br />
Voila! Now you&#8217;ve downloaded the package right to your host. It&#8217;s way faster too.</p>
<p>Wget also works great for anonymous FTP files, just paste in the URL in the same way.</p>
<p>After you&#8217;re done downloading, to unzip a .zip file you just type:</p>
<p>unzip [nameoffile.zip]</p>
<p>To gunzip and untar a .tar.gz file you can type:</p>
<p>tar -xvzf [nameoffile.tar.gz]</p>
<p>Voila! Then follow the instructions to continue installing your package (such as logging into wordpress, clicking on plugins and activating your plugin).</p>
<p>Is the directory named something different than you want? Just use mv:</p>
<p>mv [nameofdirectory] [newnamefordirectory]</p>
<p>Does the unzipped directory have an unwanted subdirectory? cd into the directory/subdirectory and then move everything down a level:</p>
<p>cd [directory]/[unwantedsubdirectory]/</p>
<p>mv * ..</p>
<p>This is a no brainer for your typical linux guru, but a great trick for your average web developer!</p>
]]></content:encoded>
			<wfw:commentRss>http://problemstosolve.com/2007/06/18/download-packages-and-wordpress-plugins-with-wget-and-ssh-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

