<?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>ไอเอินบล๊อก &#187; apache addicon</title>
	<atom:link href="http://www.iearn.in.th/tag/apache-addicon/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iearn.in.th</link>
	<description>Just Play and Just Knowledge</description>
	<lastBuildDate>Sat, 12 Jun 2010 06:40:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Apache FancyIndex Overide Apache Icons</title>
		<link>http://www.iearn.in.th/2009/09/14/apache-fancyindex-overide-apache-icons/</link>
		<comments>http://www.iearn.in.th/2009/09/14/apache-fancyindex-overide-apache-icons/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 03:33:59 +0000</pubDate>
		<dc:creator>nolifelover</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[apache addicon]]></category>
		<category><![CDATA[apache index]]></category>
		<category><![CDATA[apache list file]]></category>
		<category><![CDATA[apache overide icon]]></category>
		<category><![CDATA[listfile]]></category>

		<guid isPermaLink="false">http://www.iearn.in.th/?p=584</guid>
		<description><![CDATA[เคยเขียนการทำ list ไฟล์ด้วย apache modindexoptions มาแล้วแต่ติดปัญหาเรื่อง icons ที่ไม่ได้เอามาตามที่เราต้องการกลับไปเอา icon ซึ่งเป็น default ของ apache มาทำให้ index list มองแล้วไม่สวยดังใจ เลยมาเขียน .htaccess เพื่อให้เปลี่ยนที่อยู่ของ icons ให้ไปตามที่เราต้องการ สำหรับใครที่ต้องการ icons ต่างๆ สามารถหาโหลดได้ทั่วไปแต่หากว่าไม่อยากโหลดมาก็สามารถเอาของผมไปใช้ได้ครับ สำหรับการ overide ตามนี้เลยครับ ส่วนนี้จะอยู่ใน .htaccess นะครับ AddIconByEncoding (CMP,/index-style/icons/compressed.gif) x-compress x-gzip #AddIconByType (TXT,/index-style/icons/text.gif) text/* AddIconByType (IMG,/index-style/icons/image2.gif) image/* AddIconByType (SND,/index-style/icons/sound2.gif) audio/* AddIconByType (VID,/index-style/icons/video.png) video/* AddIcon /index-style/icons/back.gif .. AddIcon /index-style/icons/pdf.png .pdf AddIcon [...]


Related posts:<ol><li><a href='http://www.iearn.in.th/2009/08/17/apache-fancyindex-with-htaccess/' rel='bookmark' title='Permanent Link: Apache FancyIndex with .htaccess'>Apache FancyIndex with .htaccess</a> <small>ห่างหายไปนานเลยกับการเขียนบล๊อกวันนี้มาอัพเดดหน่อย สำหรับตัวนี้จะเป็นการใช้งานของ apache IndexOptions ซึ่งจะเป็นการทำให้ folder เราสามารถ list ไฟล์ต่างๆ ได้เลย...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.iearn.in.th/wp-content/uploads/2009/09/apache-index-overide-icon.png"><img src="http://www.iearn.in.th/wp-content/uploads/2009/09/apache-index-overide-icon-300x220.png" alt="apache-index-overide-icon" title="apache-index-overide-icon" width="300" height="220" class="aligncenter size-medium wp-image-585" /></a></p>
<p>เคยเขียนการทำ list ไฟล์ด้วย apache modindexoptions มาแล้วแต่ติดปัญหาเรื่อง icons ที่ไม่ได้เอามาตามที่เราต้องการกลับไปเอา icon ซึ่งเป็น default ของ apache มาทำให้ index list มองแล้วไม่สวยดังใจ เลยมาเขียน .htaccess เพื่อให้เปลี่ยนที่อยู่ของ icons ให้ไปตามที่เราต้องการ<br />
<span id="more-584"></span><br />
สำหรับใครที่ต้องการ icons ต่างๆ สามารถหาโหลดได้ทั่วไปแต่หากว่าไม่อยากโหลดมาก็สามารถเอาของผมไปใช้ได้ครับ สำหรับการ overide ตามนี้เลยครับ ส่วนนี้จะอยู่ใน .htaccess นะครับ<br />
<code>AddIconByEncoding (CMP,/index-style/icons/compressed.gif) x-compress x-gzip<br />
#AddIconByType (TXT,/index-style/icons/text.gif) text/*<br />
AddIconByType (IMG,/index-style/icons/image2.gif) image/*<br />
AddIconByType (SND,/index-style/icons/sound2.gif) audio/*<br />
AddIconByType (VID,/index-style/icons/video.png) video/*<br />
AddIcon /index-style/icons/back.gif ..<br />
AddIcon /index-style/icons/pdf.png .pdf<br />
AddIcon /index-style/icons/html.png .html .xhtml .xml<br />
AddIcon /index-style/icons/html.png .txt<br />
AddIcon /index-style/icons/compressed.gif .rar .zip<br />
AddIcon /index-style/icons/dll.png .dll<br />
AddIcon /index-style/icons/shellscript.png .sh<br />
AddIcon /index-style/icons/library.png .jar .lib<br />
AddIcon /index-style/icons/msword_doc.png .doc .docx<br />
AddIcon /index-style/icons/msexcel_xls.png .xls .xlsx<br />
AddIcon /index-style/icons/msaccess_mdb.png .mdb .mdbx<br />
AddIcon /index-style/icons/doc_encrypted.png .key .csr<br />
AddIcon /index-style/icons/binary.png .bin .exe<br />
AddIcon /index-style/icons/swf.png .bin .swf<br />
AddIcon /index-style/icons/source_java.png .java<br />
AddIcon /index-style/icons/source_c.png .c<br />
AddIcon /index-style/icons/source_cpp.png .cpp<br />
AddIcon /index-style/icons/source_ruby.png .rb<br />
AddIcon /index-style/icons/xml.png .xml<br />
AddIcon /index-style/icons/properties.png .properties<br />
#AddIcon /icon/hand.right.gif README<br />
AddIcon /index-style/icons/folder.gif ^^DIRECTORY^^<br />
AddIcon /index-style/icons/blank.gif ^^BLANKICON^^<br />
DefaultIcon /index-style/icons/unknown.gif</code></p>


<p>Related posts:<ol><li><a href='http://www.iearn.in.th/2009/08/17/apache-fancyindex-with-htaccess/' rel='bookmark' title='Permanent Link: Apache FancyIndex with .htaccess'>Apache FancyIndex with .htaccess</a> <small>ห่างหายไปนานเลยกับการเขียนบล๊อกวันนี้มาอัพเดดหน่อย สำหรับตัวนี้จะเป็นการใช้งานของ apache IndexOptions ซึ่งจะเป็นการทำให้ folder เราสามารถ list ไฟล์ต่างๆ ได้เลย...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.iearn.in.th/2009/09/14/apache-fancyindex-overide-apache-icons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
