<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>htaccess &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/htaccess/</link>
	<description>Feed of posts on WordPress.com tagged "htaccess"</description>
	<pubDate>Tue, 24 Nov 2009 00:36:13 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[iWeb odd Â characters]]></title>
<link>http://gregularexpressions.wordpress.com/2009/11/22/iweb-odd-a-characters/</link>
<pubDate>Sun, 22 Nov 2009 20:31:47 +0000</pubDate>
<dc:creator>Greg</dc:creator>
<guid>http://gregularexpressions.wordpress.com/2009/11/22/iweb-odd-a-characters/</guid>
<description><![CDATA[On Friday I discovered something odd about Apple&#8217;s iWeb. A customer was seeing that a site she]]></description>
<content:encoded><![CDATA[On Friday I discovered something odd about Apple&#8217;s iWeb. A customer was seeing that a site she]]></content:encoded>
</item>
<item>
<title><![CDATA[403 Forbidden You don't have permission to access .. on windows pc]]></title>
<link>http://gullele.wordpress.com/2009/11/22/403-forbidden-you-dont-have-permission-to-access-on-windows-pc/</link>
<pubDate>Sun, 22 Nov 2009 02:29:55 +0000</pubDate>
<dc:creator>gullele</dc:creator>
<guid>http://gullele.wordpress.com/2009/11/22/403-forbidden-you-dont-have-permission-to-access-on-windows-pc/</guid>
<description><![CDATA[Was trying to access my PHP web project from my Vista on my Ubunut and end up running error 403 Forb]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Was trying to access my PHP web project from my Vista on my Ubunut and end up running error 403 Forbidden You don&#8217;t have permission to access on this server &#8230;<br />
Well this has a very easy remedy:<br />
BTW &#8211; I am using Uniserver &#8211; <a href="http://www.uniformserver.com/">http://www.uniformserver.com/</a> &#8211; [ By the way it is the coolest development environment on windows as you would get PHP, MySQL, and PhpMyAdmin residing all at one place. But it doesn't matter if you are using other tool.<br />
1. Go to where your www folder<br />
2. open .htaccess file using your favorite text editor - note pad is more than enough for this.<br />
3. Under Allow From 127.0.0.1 - or whatever it is allowed Add Allow From [your ip address of the computer from which you want to access the server]</p>
<p>A walk in the park! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[CakePHP app กับ userdir]]></title>
<link>http://veer66.wordpress.com/2009/11/21/cake_userdir/</link>
<pubDate>Sat, 21 Nov 2009 09:55:35 +0000</pubDate>
<dc:creator>वीर</dc:creator>
<guid>http://veer66.wordpress.com/2009/11/21/cake_userdir/</guid>
<description><![CDATA[เวลาเอา web app ที่เขียนด้วย cakephp ไปใส่ใน userdir เช่น /home/veer/public_html/myapp (ซึ่งมักจะไปต]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>เวลาเอา web app ที่เขียนด้วย cakephp ไปใส่ใน userdir เช่น /home/veer/public_html/myapp (ซึ่งมักจะไปตรงกับ url http://hostname/~veer/myapp) มักจะมีปัญหากับ mod_rewrite ขึ้นมา แต่ก็แก้ไม่ยาก เพียงแต่แก้ .htaccess ใน myapp  กับ myapp/app/webroot</p>
<p>เดิมทีจะเขียนไว้ประมาณนี้ (ใน myapp กับ myapp/app/webroot ไม่เหมือนกัน แต่ก็แก้เหมือนกัน)</p>
<pre>

   RewriteEngine on
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</pre>
<p>ก็แก้โดยใส่ RewriteBase เข้าไปเป็นแบบนี้</p>
<pre>

   RewriteEngine on
   RewriteBase    /~veer/myapp
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</pre>
<p>เสร็จแล้ว</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Stop hotlinking from outside domains by using .htaccess]]></title>
<link>http://amshameer.wordpress.com/2009/11/21/stop-hotlinking-from-outside-domains-by-using-htaccess/</link>
<pubDate>Sat, 21 Nov 2009 08:55:20 +0000</pubDate>
<dc:creator>Shameer A M</dc:creator>
<guid>http://amshameer.wordpress.com/2009/11/21/stop-hotlinking-from-outside-domains-by-using-htaccess/</guid>
<description><![CDATA[You can stop the hotlinking from outsider domain by using following rule in .htaccess RewriteEngine ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>You can stop the hotlinking from outsider domain by using following rule in .htaccess</p>
<p>RewriteEngine On<br />
RewriteCond %{HTTP_REFERER} ^http://(.+.)?domain.com/ [NC,OR]<br />
RewriteCond %{HTTP_REFERER} ^http://(.+.)?domain1.com/ [NC,OR]<br />
RewriteCond %{HTTP_REFERER} ^http://(.+.)?domain2.com/ [NC]<br />
RewriteRule .*.(jpe?g&#124;gif&#124;bmp&#124;png)$ /images/nohotlink.jpe [L]</p>
<p>You can also display a 403 Forbidden Error page instead of an image (nohotlink.jpe)</p>
<p>Replace last line on above code with the following code</p>
<p>RewriteRule .*.(jpe?g&#124;gif&#124;bmp&#124;png)$ – [F]</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[HTACCESS userful tricks]]></title>
<link>http://mitulmpatel.wordpress.com/2009/11/20/htaccess-userful-tricks/</link>
<pubDate>Fri, 20 Nov 2009 06:02:24 +0000</pubDate>
<dc:creator>mitulmpatel</dc:creator>
<guid>http://mitulmpatel.wordpress.com/2009/11/20/htaccess-userful-tricks/</guid>
<description><![CDATA[Apache Configuration Apache web servers have two main places for configuration information: httpd Co]]></description>
<content:encoded><![CDATA[Apache Configuration Apache web servers have two main places for configuration information: httpd Co]]></content:encoded>
</item>
<item>
<title><![CDATA[redirecting using .htaccess]]></title>
<link>http://pradystechblog.wordpress.com/2009/11/18/redirecting-using-htaccess/</link>
<pubDate>Wed, 18 Nov 2009 15:09:20 +0000</pubDate>
<dc:creator>prady</dc:creator>
<guid>http://pradystechblog.wordpress.com/2009/11/18/redirecting-using-htaccess/</guid>
<description><![CDATA[If you were to change your website to a new domain or changed the location of an existing file, and ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>If you were to change your website to a new domain or changed the location of an existing file, and you have your url indexed by search engines. If the pages are redirected you could end up loosing a lot of traffic by users getting the 404 error.</p>
<p>You can sort those by using redirection. This can be achieved by http-equiv, javascript or by using some server side code. But the simplest way is by using .htaccess 301 redirect.</p>
<p>This method is search engine friendly and is the easiest way around.</p>
<p>Just add the following code to your .htaccess file placed in your old site.</p>
<p>Redirect 301 /olddirectory/oldfile.html <a href="http://yoursite.com/newdirectory/newfile.html">http://yoursite.com/newdirectory/newfile.html</a></p>
<p>redirect 301 (the instruction that the page has moved)</p>
<p>/old/old.htm (the original folder path and file name)</p>
<p><a href="http://www.yoursite.com/newdirectory/new">http://www.yoursite.com/newdirectory/newdirectory/newfile.html</a> (new path and file name)</p>
<p>Test  immediately after implementing 301 redirects. If you find anything wrong, remove the redirect immediately.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Disable directory listings using .htaccess file]]></title>
<link>http://naoshad.wordpress.com/2009/11/17/disable-directory-listings-using-htaccess-file/</link>
<pubDate>Tue, 17 Nov 2009 07:24:40 +0000</pubDate>
<dc:creator>naoshad</dc:creator>
<guid>http://naoshad.wordpress.com/2009/11/17/disable-directory-listings-using-htaccess-file/</guid>
<description><![CDATA[Preventing directory listings can be very useful if for example, you have a directory containing imp]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Preventing directory listings can be very useful if for example, you have a directory containing important &#8216;.zip&#8217; archive files or to prevent viewing of your image directories. Alternatively it can also be useful to enable directory listings if they are not available on your server, for example if you wish to display directory listings of your important &#8216;.zip&#8217; files.</p>
<p>To prevent directory listings, create a .htaccess file following the main instructions and guidance which includes the following text:</p>
<p><strong>IndexIgnore *</strong></p>
<p>The above lines tell the Apache Web Server to prevent directory listings of directories and files within the directory containing the .htaccess file. The &#8216;*&#8217; represents a wildcard, this means it will not display any files. It is possible to prevent listings of only certain file types, so for example you can show listings of &#8216;.html&#8217; files but not your &#8216;.zip&#8217; files.</p>
<p>To prevent listing &#8216;.zip&#8217; files, create a .htaccess file following the main instructions and guidance which includes the following text:</p>
<p><strong>IndexIgnore *.zip</strong></p>
<p>The above line tells the Apache Web Server to list all files except those that end with &#8216;.zip&#8217;.</p>
<p>To prevent listing multiple file types, create a .htaccess file following the main instructions and guidance which includes the following text:</p>
<p><strong>IndexIgnore *.zip *.jpg *.gif</strong></p>
<p>The above line tells the Apache Web Server to list all files except those that end with &#8216;.zip&#8217;, &#8216;.jpg&#8217; or &#8216;.gif&#8217;.</p>
<p>Alternatively, if your server does not allow directory listings and you would like to enable them, create a .htaccess file following the main instructions and guidance which includes the following text:</p>
<p><strong>Options +Indexes</strong></p>
<p>The above line tells the Apache Web Server to enable directory listing within the directory containing this .htaccess file. You can also reverse this to disable directory listings by replacing the plus sign before the text &#8216;Indexes&#8217; with a minus sign. e.g. &#8216;<strong>Options -Indexes</strong>&#8216;.</p>
<p>&#160;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Caso "URL limpia de CodeIgniter" para Linux, SOLUCIONADO]]></title>
<link>http://comunidadcodeigniter.wordpress.com/2009/11/14/caso-url-limpia-de-codeigniter-para-linux-solucionado/</link>
<pubDate>Sat, 14 Nov 2009 02:46:15 +0000</pubDate>
<dc:creator>Emilio Campos</dc:creator>
<guid>http://comunidadcodeigniter.wordpress.com/2009/11/14/caso-url-limpia-de-codeigniter-para-linux-solucionado/</guid>
<description><![CDATA[Hoy en día, somos muchos los desarrolladores que disfrutamos de las bondades de este muy buen framew]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Hoy en día, somos muchos los desarrolladores que disfrutamos de las bondades de este muy buen framework, pero siempre se ha tenido el problema para quitar esa porcion de url &#8220;index.php&#8221; de nuestros proyectos.</p>
<p>Bien, pues luego de investigar, buscar y preguntar&#8230; y demas cosas, encontre un modo de retirar ese &#8220;index.php&#8221;, el cual lo trabaje en una distro de Linux.</p>
<p>Pues comencemos:</p>
<ul>
<li>Como sabran, se necesita activar el mod_rewrite en la configuracion de nuestro servidor Apache. Pues se puede hacer manualmente accediendo al archivo de configuracion o simplemente ejecutando el siguiente comando:   <strong>sudo a2enmod rewrite</strong></li>
<li>Una vez activado el mod_rewrite, procederemos a quitar las restricciones en el archivo:  <strong>sudo gedit /etc/apache2/site-enable/000-default </strong>, donde reemplazaremos todos los &#8220;<em>AllowOverride None</em>&#8221; por &#8220;<em>AllowOverride All</em>&#8220;.</li>
<li>Una vez terminado esto, procedemos a reiniciar el servicio de Apache con: <strong>sudo /etc/init.d/apache2 restart </strong>.</li>
<li>Si al reiniciar el servicio de Apache, por casualidad les aparece mensaje como: apache2: <em>Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName</em> , no se preocupen, se soluciona agregando la siguiente linea: <em>ServerName localhost</em> en el <em>apache2.conf</em>.</li>
<li>Es hora de comprobar que en nuestro archivo de configuracion  &#8221;<em>system/application/config/config.php&#8221; , esté ya modificado la opcion del index page, de modo que quede así:  <strong><span style="font-style:normal;">$config['index_page'] = &#8220;&#8221;;</span></strong></em></li>
<li><em><span style="font-family:Consolas, Monaco, 'Courier New', Courier, monospace;font-style:normal;line-height:18px;font-size:12px;white-space:pre;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:13px;">Ahora viene lo más importante, y es crear un archivo: <em>.htaccess </em>con el siguiente contenido, en la carpeta donde se encuentra nuestro proyecto, es decir donde se encuentra la carpeta <em>&#8220;system&#8221;</em>:</span></span></em></li>
</ul>
<p><strong> &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;ErrorDocument 404 /index.php</strong></p>
<p><strong> &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;DirectoryIndex index.php.</strong></p>
<p><strong> &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;IfModule mod_rewrite.c&#62;<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;RewriteEngine on<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;RewriteCond %{REQUEST_FILENAME} !-f<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;RewriteCond %{REQUEST_FILENAME} !-d<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;RewriteRule ^(.*)$ index.php/$1 [L,QSA]<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;/IfModule&#62;</strong></p>
<p>Y con esto ya tenemos podemos trabajar sin el poco querido: index.php , es decir, si nuestra url era: <em>http://localhost/proyecto/index.php/controlador</em> ahora sera simplemente <em>http://localhost/proyecto/controlador</em>.</p>
<p>Espero les haya servido este post, ya saben que cualquier consulta, pueden hacerla dejandonos un comentario, y nosotros gustosamente responderemos. Gracias.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Tutorial .htaccess]]></title>
<link>http://sonnysusanto.wordpress.com/2009/11/13/tutorial-htaccess/</link>
<pubDate>Fri, 13 Nov 2009 08:15:49 +0000</pubDate>
<dc:creator>sonnysusanto</dc:creator>
<guid>http://sonnysusanto.wordpress.com/2009/11/13/tutorial-htaccess/</guid>
<description><![CDATA[Pada tutorial ini, akan menggunakan directory test1 dan test2. 1 Membuat directory - cd /var/www/htm]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Pada tutorial ini, akan menggunakan directory <em>test1</em> dan <em>test2</em>.</p>
<p><strong>1 Membuat directory</strong></p>
<p>- cd /var/www/html<br />
- mkdir test1<br />
- mkdir test2</p>
<p><strong>2. Membuat file HTML di masing-masing directory</strong></p>
<p>- ﻿﻿vi /var/www/html/test1/index.html<br />
- vi /var/www/html/test2/index.html</p>
<p><strong>3. Browsing ke masing-masing Halaman test.</strong></p>
<p>Silakan menggunakan browser untuk browsing ke masing-masing halaman, yaitu http://localhost/test1 dan http://localhost/test2</p>
<p>Anda akan berhasi melihat isi dari masing-masing index.html yang ada.</p>
<p><strong>4. Pembuatan file .htaccess</strong></p>
<p>- cd /var/www/html/test1<br />
- vi .htaccess</p>
<p>Isi file .htaccess adalah sbb :</p>
<table border="1" cellspacing="0" cellpadding="2" width="90%" align="center" bgcolor="#cccccc">
AuthName &#8220;Authorized Users Only.&#8221;<br />
AuthType Basic<br />
AuthUserFile /etc/httpd/conf/.htpasswd<br />
require user testusr<br />
</table>
<p>Berikut penjelasan parameter-parameter yang ada :</p>
<p>- AuthName : judul dari pop yang muncul.<br />
- AuthType<br />
- Basic<br />
- AuthUserFile : lokasi file .htpassword, berisi password dari user yang diperbolehkan login<br />
- require user</p>
<p>Selanjutnya silakan copy file .htaccess tersebut ke /var/www/html/test2 dengan command : cp /var/www/html/test1/.htaccess /var/www/html/test2/</p>
<p><strong>5. Create user</strong><br />
adduser testuser<br />
passwd testuser</p>
<p><strong>6. Menginfokan apache ttg user tersebut</strong><br />
htpasswd -c /etc/httpd/conf/.htpasswd testuser</p>
<p><strong>7. Edit file httpd.conf</strong></p>
<table border="1" cellspacing="0" cellpadding="2" width="90%" align="center" bgcolor="#cccccc">AllowOverride AuthConfig<br />
Order allow,deny<br />
Allow from all</table>
<p><strong>8. Restart service apache</strong><br />
service httpd restart</p>
<p><strong>9. Testing</strong><br />
Selanjutnya silakan browsing lagi halaman http://localhost/test1 dan http://localhost/test2</p>
<p><strong>Referensi :</strong></p>
<p>- http://www.howtoforge.com/htaccess_authentication</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Magento Customer Or Product Import Does Not Complete]]></title>
<link>http://redbeardtechnologies.wordpress.com/2009/11/10/magento-customer-or-product-import-does-not-complete/</link>
<pubDate>Tue, 10 Nov 2009 19:37:02 +0000</pubDate>
<dc:creator>redbeardtechnologies</dc:creator>
<guid>http://redbeardtechnologies.wordpress.com/2009/11/10/magento-customer-or-product-import-does-not-complete/</guid>
<description><![CDATA[Problem Description: Previously I had tried migrating an existing customer database from Xcart 3.5 t]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><h3>Problem Description:</h3>
<p>Previously I had tried migrating an existing customer database from Xcart 3.5 to Magento. I was successful at exporting the database from Xcart, but, I was unsuccessful at importing all of the customer records into Magento. The import tool relies upon AJAX to accomplish the customer and product importing. I determined that Magento did not finish importing the customers because the PHP session was timing out. I tried setting the session within the Magento administrative interface. I set the session time to 86400 seconds (or 24 hours). This did not fix my problem.</p>
<h3>Solution</h3>
<p>I altered the main .htaccess file. I appended the following lines to the bottom of the file.</p>
<p><strong>php_value session.cookie_lifetime 86400<br />
php_value session.gc_maxlifetime 86400</strong></p>
<p>Typically a PHP session will timeout after 24 minutes. I recommend altering your htaccess file only temporarily. By having a very long PHP session max life time for your PHP session you increase the chances of someone hacking your web site by using a technique called session fixation a method of session highjacking.</p>
<p>After you are done make sure to change the session time out value within the Magento adminstrative interface and remove the above lines from the htaccess file.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Apache: how to disable directory listing]]></title>
<link>http://mohammednv.wordpress.com/2009/11/08/apache-how-to-disable-directory-listing/</link>
<pubDate>Sun, 08 Nov 2009 07:50:38 +0000</pubDate>
<dc:creator>Mohammed</dc:creator>
<guid>http://mohammednv.wordpress.com/2009/11/08/apache-how-to-disable-directory-listing/</guid>
<description><![CDATA[Disable directory listing using httpd.conf: * Open your httpd.conf and look for &#8220;Options Index]]></description>
<content:encoded><![CDATA[Disable directory listing using httpd.conf: * Open your httpd.conf and look for &#8220;Options Index]]></content:encoded>
</item>
<item>
<title><![CDATA[How to redirect static pages to xhtml pages using htaccess]]></title>
<link>http://mobileport.wordpress.com/2009/11/07/how-to-redirect-static-page-to-xhtml-page-using-htaccess/</link>
<pubDate>Sat, 07 Nov 2009 21:34:25 +0000</pubDate>
<dc:creator>thumpad</dc:creator>
<guid>http://mobileport.wordpress.com/2009/11/07/how-to-redirect-static-page-to-xhtml-page-using-htaccess/</guid>
<description><![CDATA[&lt;![CDATA[If you want to redirect your .htm pages to .php pagesand you&#039;ve got mod_rewrite ena]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>&#60;![CDATA[If you want to redirect your .htm pages to .php pagesand you&#039;ve got mod_rewrite enabled on your server you can put this in your .htaccess file:### h</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Manipulación de artículos y descubrimiento de versiones en Joomla!]]></title>
<link>http://hackingetico.wordpress.com/2009/11/06/199/</link>
<pubDate>Fri, 06 Nov 2009 07:07:56 +0000</pubDate>
<dc:creator>hackingetico</dc:creator>
<guid>http://hackingetico.wordpress.com/2009/11/06/199/</guid>
<description><![CDATA[En las últimas horas se han descubierto algunos problemas de seguridad en Joomla!. Se trata de falla]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="aligncenter" title="Joomla!" src="http://images.gxware.org/upload/gallery/joomla_logo.png" alt="" width="213" height="143" /></p>
<p>En las últimas horas se han descubierto algunos problemas de seguridad en Joomla!. Se trata de fallas que permite descubrir versiones de ciertos módulos y que permite a usuarios maliciosos a manipular ciertos datos.</p>
<p>En concreto se trata de un error en el manejo de archivos XML que puede ser explotado para ver la versión de los módulos instalados. Además un error no especificado en la solicitud de datos puede ser explotado para modificar artículos de la página principal de otros usuarios.</p>
<p>Los problemas de seguridad se presentan en versiones anteriores a la 1.5.15.</p>
<p>SOLUCIÓN: Actualizar a la versión 1.5.15 y restringir el acceso a los archivos XML (por ejemplo, a través de un &#8220;. Htaccess&#8221;).</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Quick tip: How to remove .html extension from url with TYPOlight]]></title>
<link>http://developmentwithtypolight.wordpress.com/2009/11/06/quick-tip-how-to-remove-html-extension-from-url-with-typolight/</link>
<pubDate>Fri, 06 Nov 2009 06:54:45 +0000</pubDate>
<dc:creator>ga.n</dc:creator>
<guid>http://developmentwithtypolight.wordpress.com/2009/11/06/quick-tip-how-to-remove-html-extension-from-url-with-typolight/</guid>
<description><![CDATA[A quick tutorial showing how to remove “.html” suffix from the url of your website&#160; Go to “Sett]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>A quick tutorial showing how to remove “.html” suffix from the url of your website&#160; </p>
<ol>
<li>Go to “Settings” (it’s under “System” section), make sure to set: </li>
</ol>
<ul>
<li>URL suffix: empty the field </li>
<li>Rewrite URLs: checked </li>
<li>Disable page alias usage: unchecked </li>
</ul>
<p>Open the “.htaccess”&#160; (it is located into the root of your website) and replace the line containing</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:13e8af12-5610-4b02-b580-361615773598" class="wlWriterEditableSmartContent">
<pre style="background-color:#FFFFFF;overflow:auto;font-family:Tahoma;font-size:12px;"><span style="color:#000000;">RewriteRule .*\.html$ index.php </span><span style="color:#800000;font-weight:bold;">[</span><span style="color:#800000;">L</span><span style="color:#800000;font-weight:bold;">]</span></pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>with:</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:b30cb4de-401b-4f85-85a1-cd45798de4e0" class="wlWriterEditableSmartContent">
<pre style="background-color:#FFFFFF;overflow:auto;font-family:Tahoma;font-size:12px;"><span style="color:#000000;">RewriteRule .* index.php </span><span style="color:#800000;font-weight:bold;">[</span><span style="color:#800000;">L</span><span style="color:#800000;font-weight:bold;">]</span></pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>That’s all.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Transforme páginas HTML em PHP]]></title>
<link>http://dotinfo.wordpress.com/2009/11/02/transforme-paginas-html-em-php/</link>
<pubDate>Mon, 02 Nov 2009 17:21:01 +0000</pubDate>
<dc:creator>Everton da Rosa</dc:creator>
<guid>http://dotinfo.wordpress.com/2009/11/02/transforme-paginas-html-em-php/</guid>
<description><![CDATA[Para você que possue os recursos disponíveis em seu servidor de hospedagem em PHP e que criou suas p]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Para você que possue os recursos disponíveis em seu servidor de hospedagem em PHP e que criou suas páginas com um conteudo estático e que agora quer deixá-las dinâmicas e com diversos recursos que só o PHP pode lhe oferecer?.</p>
<p>Não pense que é apenas renomear os arquivo para a extensão php os seus arquivos com extensão .htm ou .html. Mas o processo é muito simples:</p>
<p>Salve .htaccess! O arquivo modificador de configurações do Apache, válido e ativo na maioria dos servidores web. A dica é fazer o servidor tratar os arquivos de extensão &#8220;.html&#8221; ou &#8220;.htm&#8221; como se fossem páginas PHP, ou seja, processando os scripts deles.</p>
<p>Crie um arquivo de texto em branco, e digite (ou cole) estas duas linhas:</p>
<pre>AddType application/x-httpd-php htm
AddType application/x-httpd-php html</pre>
<p>Salve-o com o nome <strong>&#8220;.htaccess&#8221;</strong> na pasta raiz do seu site, e publique-o. É só isso!</p>
<p>Cuidado com o nome do arquivo, caso você nunca tenha usado. Ele começa com um ponto e não tem extensão. No Linux/Unix ficará oculto, devido começar com um ponto. Para exibi-lo no seu gerenciador de arquivos local, por exemplo, pode ser necessário pedir para mostrar os arquivos ocultos.</p>
<p>Uma vez dentro da pasta raiz, ele vale para a pasta atual e para todas as subpastas.</p>
<p>Se você já usou o .htaccess alguma vez e já tem ele configurado, então não crie um novo: edite o antigo, adicionando estas duas linhas nele.</p>
<p>Fazer isso &#8220;transformará&#8221; suas páginas HTML em páginas PHP sem precisar renomear os arquivos.</p>
<p>Tecnicamente você poderia usar a extensão que quiser, eu por exemplo, uso a extensão .i9se (arquivo.i9se). Mas alguns servidores não registram corretamente o tipo mime ao usar uma extensão diferente, e alguns navegadores podem acabar por mostrar o código-fonte da página, em vez do conteúdo HTML renderizado.</p>
<p>Se seu servidor não reconhecer o .htaccess, pode ser necessário configurar o Apache manualmente (caso você tenha acesso à administração do servidor) ou entrar em contato com o suporte, nos planos de hospedagem compartilhada (que vem a ser o caso da maioria). Mas como sempre, antes de entrar em contato com o suporte, certifique-se de que o arquivo .htaccess esteja salvo corretamente na pasta do seu site.</p>
<p>&#160;</p>
<p>Fonte: <a href="http://codigofonte.uol.com.br/artigo/php/dicas-transforme-paginas-html-em-php">Código Fonte</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[.htaccess demo changes]]></title>
<link>http://wigbi.wordpress.com/2009/11/02/htaccess-demo-changes/</link>
<pubDate>Mon, 02 Nov 2009 06:55:22 +0000</pubDate>
<dc:creator>danielsaidi</dc:creator>
<guid>http://wigbi.wordpress.com/2009/11/02/htaccess-demo-changes/</guid>
<description><![CDATA[I have changed the links of the .htaccess root file of the Wigbi Demos. Previously, the file definie]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I have changed the links of the .htaccess root file of the Wigbi Demos.</p>
<p>Previously, the file definied the links relative to the server root (/wigbi_demos/&#8230;) but not they are relative to the application root folder.</p>
<p>This means that you do not have to adjust this file when you download the new version of the Wigbi Demos.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Como bloquear links para imagens e outros arquivos do seu site]]></title>
<link>http://dotinfo.wordpress.com/2009/10/29/como-bloquear-links-para-imagens-e-outros-arquivos-do-seu-site/</link>
<pubDate>Thu, 29 Oct 2009 17:15:13 +0000</pubDate>
<dc:creator>Everton da Rosa</dc:creator>
<guid>http://dotinfo.wordpress.com/2009/10/29/como-bloquear-links-para-imagens-e-outros-arquivos-do-seu-site/</guid>
<description><![CDATA[Para bloquear imagens, vídeos ou outros arquivos quaisquer de seu site para que outras pessoas não a]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Para bloquear imagens, vídeos ou outros arquivos quaisquer de seu site para que outras pessoas não as utilize sem a sua autorização, é muito simples, Veja como:</p>
<ul>
<li>Crie um      arquivo chamado .htaccess (exatamente assim, com um ponto na frente).      Normalmente ele já deverá estar criado na pasta raiz de seu site.</li>
<li>Coloque      neste arquivo o conteúdo de texto abaixo:</li>
</ul>
<p>&#160;</p>
<pre>&#60;IfModule mod_rewrite.c&#62;
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?seudominio.com/.*$ [NC]
RewriteRule .(gif&#124;jpg&#124;png&#124;js&#124;css)$ - [F]
&#60;/IfModule&#62;</pre>
<p>Substitua <em>seudominio.com</em> pelo endereço do seu site. No exemplo está sendo bloqueado o acesso a qualquer imagem . GIF, .JPG , .JS e . CSS.</p>
<p>Para adicionar outros formatos basta editar o campo (gif&#124;jpg&#124;png&#124;js&#124;css) separando cada nome com uma barra &#124;.</p>
<p>Você pode bloquear vídeos e músicas (.WMV, .MPEG, .MP3, .WAV etc). Pode bloquear também links para arquivos .PDF, .DOC, .TXT e qualquer outro formato que desejar.</p>
<p>Dessa forma somente o seu site terá permissão para ter links apontados para estes tipos de arquivo.</p>
<p>&#160;</p>
<p>Fonte: <a href="http://codigofonte.uol.com.br/artigo/php/como-bloquear-links-para-imagens-e-outros-arquivos-do-seu-site">Código Fonte</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Custom Error Pages]]></title>
<link>http://mytutorialz.wordpress.com/2009/10/29/custom-error-pages/</link>
<pubDate>Thu, 29 Oct 2009 12:28:05 +0000</pubDate>
<dc:creator>garethw1</dc:creator>
<guid>http://mytutorialz.wordpress.com/2009/10/29/custom-error-pages/</guid>
<description><![CDATA[Hello, in this tutorial &#8211; I will show you how to create a custom error page for your site. In ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Hello, in this tutorial &#8211; I will show you how to create a custom error page for your site. In this tutorial &#8211; we will be focusing on the Error 404 page, which is displayed when the page can&#8217;t be found.</p>
<p>&#160;</p>
<p>So, follow these steps:</p>
<ol>
<li>Log in to your website control panel.</li>
<li>Create a new file.</li>
<li>In this file enter the following text: ErrorDocument 404 404.html</li>
<li>Save this file in your ROOT directory as: .htaccess</li>
<li>Now open your website editor.</li>
<li>Create a new HTML file, named: 404.html</li>
<li>Enter custom text, such as: <strong>Error 404 &#8211; The Page You Were Looking For Could Not Be Found. </strong></li>
<li><strong> </strong>Upload this also to your ROOT directory.</li>
</ol>
<p>Now if you navigate to your website, and type a sub-direcotry you know dosen&#8217;t exist &#8211; your error 404 page should display &#8211; if not &#8211; you need to follow these steps again.</p>
<p>&#160;</p>
<p>You can try this by going to my website, and adding a false directory onto the end of the url, e.g:</p>
<p>http://www.mytutorialz.isgreat.org/false-directory</p>
<p>&#160;</p>
<p>Enjoy.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[WP Security Scan]]></title>
<link>http://wptopsites.wordpress.com/2009/10/26/wp-security-scan/</link>
<pubDate>Mon, 26 Oct 2009 22:13:51 +0000</pubDate>
<dc:creator>medika</dc:creator>
<guid>http://wptopsites.wordpress.com/2009/10/26/wp-security-scan/</guid>
<description><![CDATA[Author: Michael Torbert Scans your WordPress installation for security vulnerabilities and suggests ]]></description>
<content:encoded><![CDATA[Author: Michael Torbert Scans your WordPress installation for security vulnerabilities and suggests ]]></content:encoded>
</item>
<item>
<title><![CDATA[Mengubah Ekstensi Joomla Menjadi HTML dengan htaccess]]></title>
<link>http://rheeantz.wordpress.com/2009/10/26/mengubah-ekstensi-joomla-menjadi-html-dengan-htaccess/</link>
<pubDate>Mon, 26 Oct 2009 18:31:22 +0000</pubDate>
<dc:creator>rheeantz</dc:creator>
<guid>http://rheeantz.wordpress.com/2009/10/26/mengubah-ekstensi-joomla-menjadi-html-dengan-htaccess/</guid>
<description><![CDATA[Tutorial Joomla Pemula kali ini akan membahas sebuah tema yaitu stensi Joomla Menjadi HTML dengan ht]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Tutorial Joomla Pemula kali ini akan membahas sebuah tema yaitu stensi Joomla Menjadi HTML dengan htaccess.</p>
<p>Pada sebuah web yang dibuat dengan joomla biasanya akan menampilkan sebuah rl kurang lebih sebagai berikut</p>
<p>http://www/domain.com/index.php?option=com_content&#38;view=article&#38;id=75&#38;Itemid=70<br />
api pernahkah anda menjumpai sebuah website atau blog yang dibuat dengan joomla menjadi berakhiran (berekstensi) HTML<br />
http://www/domain.com/profil.html atau http://www.nama.net/galeri.html dan sebagainya&#8230;..<br />
ternyata ekstensi url pada web bebasis Joomla dapat diubah menjadi berekstensi HTML hanya dngan sedikit langkahyang mudah yaitu :</p>
<p><a href="http://rheeantz.wordpress.com"><img class="size-medium wp-image-90" title="tutorialjoomlapemula" src="http://rheeantz.wordpress.com/files/2009/10/tutorialjoomlapemula.jpg?w=300" alt="tutorial joomla pemula" width="300" height="60" /></a><br />
pada file instalasi Joomla terdapat sebuah file bernama htacess dngan ekstensi txt atau <strong>htaccess.txt&#8230;.</strong><br />
nah file inilah yang perlu sedikit kita sentuh (kaya apa aja disentuh) untuk dapat merubah url web Joomla menjadi berakhiran HTML&#8230; caranya&#8230;&#8230;??</p>
<p>Kita harus merubah file htacess.txt tersebut menjadi file bernama .htacess<br />
kurang lebih ada dua cara merubah file htaccess.txt tersebut menjadi file bernama .htaccess yaitu:<!--more--></p>
<ul>
<li>dari komputer lokal&#8230; untuk pengguna windows sering menemui kesulitan dalam merubah nama (rename) sebuah file dengan awalan titik ( . ) di nama file tersebut.. namun hal ini tidak terjadi pada komputer dengan sistem operasi linux&#8230;. nah untuk pengguna windows dapat melakukan perubahan nama (rename) tersebut dengan command prompt<br />
yaitu ;<br />
<strong>ren htaccess.txt .htaccess<br />
</strong>setelah itu upload file tersebut ke direktori utama webstie anda</li>
<li>dengan FTP&#8230;jalankan FTP anda , masuk ke htdocs atau public html<br />
(bisa berbeda untuk server hosing yang berbeda)&#8230; setealah daftar file muncul langsung saja rename file bernama htaccess.txt menjadi .htaccess ( tanpa ekstensi)</li>
</ul>
<p>Selah salah satu langkah tadi selesai <strong>login</strong> ke halaman <strong>administrato</strong> website anda, pilih site &#8211; global configuration<br />
pada sebuah kanan terdapat pilihan SEO setting dan terdapat tiga pilihan<br />
<strong>Search Engine Friendly URLs</strong><br />
<span class="editlinktip hasTip"><strong>Use Apache </strong><em><strong>mod_rewrite </strong>dan<br />
</em></span><strong><span class="editlinktip hasTip">Add suffix to URLs</span></strong><br />
setelah itu centang pada pilihan yes pada ketiga pilihan tersebut dan hasilnya dapat adan lihat pada url halaman web pada browser anda.</p>
<p>Demikian sedikit tutorial joomla pemula dari saya yang newbie juga ini &#8230;kalau ada kesalahan mohon pencerahannya&#8230;..</p>
<div id="_mcePaste" style="overflow:hidden;position:absolute;left:-10000px;top:606px;width:1px;height:1px;">
<table class="noshow" border="0">
<tbody>
<tr>
<td width="35%"> SEO Settings</p>
<table class="admintable" border="0" cellspacing="1">
<tbody>
<tr>
<td class="key" width="185"><span class="editlinktip hasTip"> Search Engine Friendly URLs </span></td>
<td> No  Yes</td>
</tr>
<tr>
<td class="key" width="185"><span class="editlinktip hasTip"> Use Apache <em>mod_rewrite</em> </span></td>
<td> No  Yes <span class="error hasTip"> <img src="http://pakndut.com/includes/js/ThemeOffice/warning.png" border="0" alt="" /> </span></td>
</tr>
<tr>
<td class="key" width="185"><span class="editlinktip hasTip"> Add suffix to URLs </span></td>
<td> No  Yes</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Apache - File di configurazione]]></title>
<link>http://poyblog.wordpress.com/2009/10/18/apache-file-di-configurazione/</link>
<pubDate>Sun, 18 Oct 2009 16:37:21 +0000</pubDate>
<dc:creator>poyblog</dc:creator>
<guid>http://poyblog.wordpress.com/2009/10/18/apache-file-di-configurazione/</guid>
<description><![CDATA[La configurazione del server web apache viene descritta da delle direttive inserite nei file di conf]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } --></p>
<p style="margin-bottom:0;font-weight:normal;" align="left"><span style="font-size:small;"><span style="font-style:normal;">La configurazione del server web apache viene descritta da delle direttive inserite nei file di configurazione. Il file di configurazione principale è httpd.conf; ulteriori file di configurazione possono essere aggiunti utilizzando la direttiva Include.</span></span></p>
<p style="margin-bottom:0;font-weight:normal;" align="left"><span style="font-size:small;"><span style="font-style:normal;">Per esempio nelle installazioni di default di ubuntu il file httpd.conf è vuoto, mentre partecipano alla configurazione del server web i file:</span></span></p>
<ul>
<li>
<p style="margin-bottom:0;font-weight:normal;" align="left"><span style="font-size:small;"><span style="font-style:normal;">apache2.conf</span></span></p>
</li>
<li>
<p style="margin-bottom:0;font-weight:normal;" align="left"><span style="font-size:small;"><span style="font-style:normal;">ports.conf</span></span></p>
</li>
<li>
<p style="margin-bottom:0;font-weight:normal;" align="left"><span style="font-size:small;"><span style="font-style:normal;">tutti 	i file all&#8217;interno di  sites-enabled (Virtual host abilitati)</span></span></p>
</li>
</ul>
<p style="margin-bottom:0;font-weight:normal;" align="left">
<p style="margin-bottom:0;font-weight:normal;" align="left"><span style="font-size:small;"><span style="font-style:normal;">Per testare la corretta sintassi di tutti i file di configurazione che partecipano alla personalizzazione del servizio apache è sufficiente utilizzare il comando </span></span><span style="font-size:small;"><span style="font-style:normal;"><strong>apache2ctl configtest</strong></span></span><span style="font-size:small;"><span style="font-style:normal;">.</span></span></p>
<p style="margin-bottom:0;font-weight:normal;" align="left">
<p style="margin-bottom:0;font-weight:normal;" align="left"><span style="font-size:small;"><span style="font-style:normal;">Apache è un server modulare, questo significa che pochi moduli sono abilitati nel core del programma, è possibile però caricarli con la direttiva </span></span><span style="font-size:small;"><em>LoadModule</em></span><span style="font-size:small;"><span style="font-style:normal;">, ed in particolare possono essere create direttive condizionali in base alla presenza di determinati moduli (&#60;</span></span><span style="font-size:small;"><em>IfModule&#62;</em></span><span style="font-size:small;"><span style="font-style:normal;">)</span></span></p>
<p style="margin-bottom:0;font-weight:normal;" align="left"><span style="font-size:small;"><span style="font-style:normal;">Per verificare quali moduli sono abilitati con la versione in esecuzione è sufficiente il comando </span></span><span style="font-size:small;"><span style="font-style:normal;"><strong>apache2 -l</strong></span></span></p>
<p style="margin-bottom:0;font-weight:normal;" align="left">
<p style="margin-bottom:0;font-weight:normal;" align="left"><span style="font-size:small;"><span style="font-style:normal;">Tutte le direttive che vengono associate al file di configurazione generale avranno effetto sul comportamento del server globale, è però possibile vincolare dei comportamenti solo a determinate directory, file o locazioni grazie alle voci:</span></span></p>
<ul>
<li>
<p style="margin-bottom:0;" align="left"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">&#60;Directory&#62;</span></span></span></p>
</li>
<li>
<p style="margin-bottom:0;" align="left"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">&#60;DirectoryMatch&#62;</span></span></span></p>
</li>
<li>
<p style="margin-bottom:0;" align="left"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">&#60;Files&#62;</span></span></span></p>
</li>
<li>
<p style="margin-bottom:0;" align="left"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">&#60;FilesMatch&#62;</span></span></span></p>
</li>
<li>
<p style="margin-bottom:0;" align="left"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">&#60;Location&#62;</span></span></span></p>
</li>
<li>
<p style="margin-bottom:0;" align="left"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">&#60;LocationMatch&#62;</span></span></span></p>
</li>
</ul>
<p style="margin-bottom:0;" align="left">
<p style="margin-bottom:0;" align="left"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">In più il nostro Server Web è in grado di servire più siti web in modo contemporaneo grazie all&#8217;utilizzo della direttiva &#60;VirtualHost&#62;, all&#8217;interno della quale si possono specificare i comportamenti particolari di ogni sito.</span></span></span></p>
<p style="margin-bottom:0;" align="left">
<p style="margin-bottom:0;" align="left"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">L&#8217;ultimo argomento riguardante il file di configurazione di apache è il file .htaccess; questo solitamente viene identificato dalla presenza in una determinata posizione del sito di un file .htaccess. La presenza di tale file permette ad apache di decentralizzare la gestione dei file di configurazione, lasciando che le direttive presenti in tale file si applichino a tutti i file e le sottodirectory della locazione corrente del file in questione.</span></span></span></p>
<p style="margin-bottom:0;" align="left"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">Il file può assumere un nome diverso rispetto ad htaccess, l&#8217;importante che venga identificato dalla  direttiva</span></span></span><span style="font-size:small;"><em><span style="font-weight:normal;"> AccessFileName</span></em></span><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">, in più esiste una seconda direttiva </span></span></span><span style="font-size:small;"><em><span style="font-weight:normal;">AllowOverride </span></em></span><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">che permette all&#8217;amministratore del server web di controllare quali direttive sono lecite all&#8217;interno del file .htaccess</span></span></span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Looks can be deceiving.]]></title>
<link>http://sector30.wordpress.com/2009/10/18/looks-can-be-deceiving/</link>
<pubDate>Sun, 18 Oct 2009 06:00:00 +0000</pubDate>
<dc:creator>Adz</dc:creator>
<guid>http://sector30.wordpress.com/2009/10/18/looks-can-be-deceiving/</guid>
<description><![CDATA[Hmm. I haven&#8217;t updated for four days. Feels like forever. Normally, this would be a long post,]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Hmm. I haven&#8217;t updated for four days. Feels like forever.<br />
Normally, this would be a long post, but it&#8217;s nearly six a.m. and I&#8217;m tired so I won&#8217;t make it too long.<br />
The MDR EX-500&#8217;s are still sounding really sweet, though I&#8217;m not enjoying them as much as I did the Skullcandy Smokin&#8217; Buds. </p>
<p>Firstly, they came free because I had a Kondor voucher with my then-new phone. Secondly, I had pure unadulterated fun with those &#8211; I would blast music as loud as I wanted without a care in the world. I had great times and I had bad times, but sticking those in my ears and playing some good music always made me feel great. </p>
<p>I don&#8217;t get that with the Sony pair. I&#8217;m being careful not to break them or damage them. I&#8217;m worrying about how much slack there is on the wire and whether it&#8217;s in a position in which it could get damage. Sound leakage is pretty bad too, especially compared to the Skullcandy, so I have to consider the people around me.<br />
Is this a sign that I&#8217;m growing up?<br />
<!--more--><br />
University has been a fairly hot topic over the last few days. The way it seems is that I&#8217;ll be staying in Birmingham, still living with my parents. Exactly what I didn&#8217;t want. I want to learn to be independent &#8211; to know how to survive when I know there&#8217;s nobody around. I proposed a compromise &#8211; living in student accommodation, but stay in Birmingham. That way I&#8217;m not far away but I still have the independence I want so much. My sisters both said the obvious: <em>&#8220;It&#8217;s a complete waste of money&#8221;</em>. I mentioned it to mum and she didn&#8217;t say much, other than one sister is moving out, she&#8217;ll get the next one married off, my brother and his family will move out and she and dad will go to another country &#8211; then I&#8217;ll get my independence and experience of living alone.<br />
I&#8217;ll take that as a no then, shall I?</p>
<p>My room should start coming along soon. My sister&#8217;s new house is well under way so in a week a two, my bed will be moved into her new spare room. I&#8217;ve decided I&#8217;m not going to replace it as beds take up too much unnecessary space, and proved my point by sleeping on the floor this whole week. Dad has agreed to letting me do that. That means that all I need for my room is a wardrobe, computer desk and a soft corner. </p>
<p>College is still a bit of a joke, but it&#8217;s slowly getting better. I think most of my resentment towards the place is now just residue from the appalling first few weeks, which is occasionally added to by <a href="http://sector30.wordpress.com/2009/10/14/overkill/">something stupid</a>. I finished the website design and put it live onto my host. I hate it when free web hosts handicap the service by doing stuff like restricting .htaccess/.htpasswd, and only enable it for a fee. It means that I can&#8217;t provide basic password protection on the site. My old hosting account at <a href="http://110mb.com" target="_blank">110mb.com</a> is still active from when I used to use it to host my MySearchFunds/MyHPF cheat bot (an auto-searcher for a paid-to-search website). 110mb.com, at the moment, only offer 110mb worth of web space with 10gb of bandwidth. Yes, sounds logical, after all, the name is 110mb.com. But when I registered, it was 5gb of web space and 30gb of bandwidth. I logged in&#8230;I still have it <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  Unfortunately, that is one of the sites that cripple htaccess.<br />
I&#8217;m using Awardspace to host my assignment. Nothing special about it, but it&#8217;s really annoying that it hijacks error pages with it&#8217;s own bullshit for free users. That alone might convince me to go back to 110mb, provided that they don&#8217;t do it too. Or I could just borrow some web space from dad&#8217;s hosting account &#8211; that&#8217;s paid hosting so I get what I want. </p>
<p>Ayesha invited me to a birthday party of some sort. Her boyfriend is arranging it and she doesn&#8217;t know the details so she&#8217;s told me to ask him. Part of me doesn&#8217;t want to go. Every time I think of her, I think of how I <del datetime="2009-10-18T04:46:03+00:00">feel</del> felt about her. But she&#8217;s still a really good friend and I miss her.<br />
I don&#8217;t know whether to go or not. Depends on whether I can even make it. </p>
<p>Why is it that whenever there&#8217;s a girl I might like, there&#8217;s always a caveat? I don&#8217;t know how to play for fun so I play for keeps. Playing for keeps means I have to take a bunch of things into consideration, but so far, the only girls I&#8217;ve been interested in have all had something that&#8217;s made me pull back. Some were taken, some were too far away, some were just incompatible and some were just skin deep.<br />
It does wonders to the self-esteem when you&#8217;re nearly 18 and your greatest achievement with the opposite gender was holding hands, which took nearly two years to get to.</p>
<p>But it&#8217;s okay, this is just a passing phase. I&#8217;ll wake up in the morning to the sound of my niece whining and I&#8217;ll remember exactly why I&#8217;ll avoid getting married; to avoid having kids. Having kids puts me at risk of asking the question <em>&#8220;Why should I have to take the kids to counselling? I&#8217;m not even the one who loves them.&#8221;</em>. I am pretty heartless. She was doing my head in while I was trying to fix my brothers laptop, asking for a duck video (some sort of nursery rhyme video my brother had) and wouldn&#8217;t shut up, so I told her the duck is dead. </p>
<p>Speaking of my brothers laptop, he put the new 320gb hard drive in it. It&#8217;s a Dell Inspiron 9300 &#8211; quite old; the BIOS is dated 2005. Yeah, an old BIOS. Doesn&#8217;t make for good compatibility with new hard drives.<br />
Apparently, this BIOS isn&#8217;t 48-bit LBA compatible, so it would only see 137gb of the hard drive. I managed to get it working though. Created a 100gb partition and installed XP on it. Then tweaked the registry; adding a EnableBigLba key to it. Reboot, load up Acronis Disk Director and create a new partition on the 200gb that just showed up. </p>
<p>Alexandra Burke&#8217;s new album, Overcome, will be out on Monday. I&#8217;ve listened to it and found a few tracks I like. Bad Boyz, which is the A-side I guess, annoys the hell out of me. The song itself is okay, but there&#8217;s a line at 0:30; I think she says <em>&#8220;It feels my heart&#8217;s divided&#8221;</em>, is exactly like another song. I mean completely identical in tune &#8211; just change the lyrics to match the other song and it&#8217;ll be almost an exact copy of it.<br />
But I can&#8217;t figure out what song it is. It&#8217;s one I like, but it reminds me of bad times at school, meaning I probably deleted it when I wiped half my collection a while back. Oh, and the &#8220;Uay, uah&#8221; in the song is just a piss take. Which deaf idiot thought that was a good idea?<br />
The other songs I like are The Silence, Dumb and Gotta Go.<br />
Gotta Go and The Silence make me think of Ayesha. =/</p>
<p>Oh, I was told today that Syncrosoft&#8217;s copy protection was finally broken by AiR. It&#8217;s the copy protection used in Steinberg software like Cubase and Nuendo, and has until now, been uncrackable. I know wannabe DJ I used to be friends with at school who would have wet dreams about getting Cubase. He&#8217;s been trying to add me on facebook for a few months and I kept denying him because I still hate him for some of the stuff he said to me. I was so tempted to add him on facebook just to rub it in his nose that I can get it and he can&#8217;t.<br />
Kudos to AiR though &#8211; epic skills there. It makes me think though, imagine if the cracking teams were on the other side, creating the copy protection software. It&#8217;d actually be pretty cool to see what sort of stuff these guys can come up with. Microsoft should hire them :p</p>
<p>So much for a short post.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Canvi d'URLs (301 redirect)]]></title>
<link>http://picatecles.wordpress.com/2009/10/15/canvi-durls-301-redirect/</link>
<pubDate>Thu, 15 Oct 2009 18:44:39 +0000</pubDate>
<dc:creator>floydbrush</dc:creator>
<guid>http://picatecles.wordpress.com/2009/10/15/canvi-durls-301-redirect/</guid>
<description><![CDATA[He considerat oportú canviar les URL d&#8217;una tenda desenvolupada en Cake per una actualització r]]></description>
<content:encoded><![CDATA[He considerat oportú canviar les URL d&#8217;una tenda desenvolupada en Cake per una actualització r]]></content:encoded>
</item>
<item>
<title><![CDATA[mod_rewrite &amp; .htaccess]]></title>
<link>http://phramework.wordpress.com/2009/10/15/mod-rewrite-and-htaccess/</link>
<pubDate>Thu, 15 Oct 2009 02:15:20 +0000</pubDate>
<dc:creator>arranschlosberg</dc:creator>
<guid>http://phramework.wordpress.com/2009/10/15/mod-rewrite-and-htaccess/</guid>
<description><![CDATA[In order to achieve the centralised (it&#8217;s not a typo, I&#8217;m an Aussie) parser outlined in ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>In order to achieve the centralised (it&#8217;s not a typo, I&#8217;m an Aussie) parser outlined in the <a href="http://phramework.wordpress.com/2009/10/15/framework-architecture/" target="_self">framework architecture</a> we will need to have all relevant requests directed to <em>index.php</em> and block direct requests to any PHP page. For this, Apache&#8217;s <a href="http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html">mod_rewrite</a> is a perfect tool and I will assume that you have some knowledge of <a href="http://en.wikipedia.org/wiki/Regular_expression">regular expressions</a> (there are great cheat sheets available for both <a href="http://www.addedbytes.com/apache/mod_rewrite-cheat-sheet/">mod_rewrite</a> and <a href="http://www.addedbytes.com/cheat-sheets/regular-expressions-cheat-sheet/">regular expressions</a>).<!--more--></p>
<p>Here we will be dealing with the path of the URL (the part that tells the server what page is being requested). This is generally separated into a directory structure by forward slashes (/). The URL conventions are:</p>
<ul>
<li>Allowed characters are alpha (a-z), numeric (0-9), hyphen (-) and underscore (_)</li>
<li>A trailing slash (/) will be treated as if the directory index has been requested</li>
<li>The directory index is called <em>main</em></li>
<li>At least one page or directory is required</li>
<li>URLs have no extension</li>
</ul>
<p>This first rule matches for a URL with any number of directories (zero or more) as well as a specific file:</p>
<blockquote><p>RewriteRule ^([a-z0-9_-]+)((\/[a-z0-9_-]+)*)$ index.php?page=$1$2 [NC,L,QSA]</p></blockquote>
<p>The first set of parentheses match the mandatory page or directory. The second set is almost identical except for the fact that every remaining part will be prefixed with a slash (/). This path is then concatenated as a single string and passed to <em>index.php</em> for handling. Note that it is not case-sensitive (NC), it is a final match (L) and any query string is still passed (QSA).</p>
<p>A couple of examples:</p>
<ul>
<li><em>my-path</em> is rewritten as <em>index.php?page=my-path</em></li>
<li><em>directory/structure/to/my-path</em> is matched as <em>$1 = directory</em> while <em>$2 = /structure/to/my-path</em> and is rewritten as <em>index.php?page=directory/structure/to/my-path</em></li>
</ul>
<p>This second rule is almost identical to the first. The only difference is the inclusion of a trailing slash which, as described in the conventions, is a request for the directory index called <em>main</em>.</p>
<blockquote><p>RewriteRule ^([a-z0-9_-]+)((\/[a-z0-9_-]+)*)\/$ index.php?page=$1$2/main [nc,L,QSA]</p></blockquote>
<p>An example:</p>
<ul>
<li><em>directory/</em> is equivalent to <em>directory/main</em> and is rewritten as <em>index.php?page=directory/main</em></li>
</ul>
<p>I am by no means an expert in mod_rewrite nor regular expressions and I am quite confident that the efficiency of these two rules can be greatly improved. If you have any suggestions please post them as comments.</p>
<p><a href="http://phramework.arranschlosberg.com/htaccess.txt">Current text version of .htaccess</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Konfigurasi .htaccess untuk webserver]]></title>
<link>http://sekoteng.wordpress.com/2009/10/07/konfigurasi-htaccess-untuk-webserver/</link>
<pubDate>Wed, 07 Oct 2009 07:05:25 +0000</pubDate>
<dc:creator>sekoteng</dc:creator>
<guid>http://sekoteng.wordpress.com/2009/10/07/konfigurasi-htaccess-untuk-webserver/</guid>
<description><![CDATA[Di beberapa web server (Apache paling umum),. Htaccess (hypertext akses) adalah nama standar direkto]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Di beberapa web server (Apache paling umum),. <strong>Htaccess</strong> (hypertext akses) adalah nama standar direktori tingkat-file konfigurasi yang memungkinkan desentralisasi pengelolaan konfigurasi server web. File. Htaccess ditempatkan di dalam pohon web, dan mampu mengesampingkan subset dari server konfigurasi global; sejauh mana bagian ini didefinisikan oleh administrator server web. [1] tujuan awal. Htaccess adalah untuk memungkinkan setiap -kontrol akses direktori (misalnya memerlukan password untuk mengakses konten), maka nama itu. Saat ini. Htaccess dapat menggantikan pengaturan konfigurasi lainnya, terutama yang berkaitan dengan kontrol konten, misalnya jenis konten dan karakter set, CGI handler, dll</p>
<p>Pada server web Apache, maka format. Htaccess adalah sama dengan server file konfigurasi global; [2] server web lainnya (seperti Sun Java System Web Server dan Zeus Web Server) menerapkan sintaks yang sama, meskipun mereka file konfigurasi sangat berbeda. Petunjuk dalam file. Htaccess berlaku untuk direktori saat ini, dan untuk semua sub-direktori (kecuali secara eksplisit dinonaktifkan dalam konfigurasi server), tetapi karena alasan kinerja dan keamanan, tidak dapat mempengaruhi orangtua mereka direktori.</p>
<p>Nama file diawali dengan sebuah titik karena titik-file adalah dengan konvensi file tersembunyi di Unix-sistem operasi mirip.</p>
<p>Catatan penting untuk <strong>.Htaccess </strong></p>
<p>Sebagai file konfigurasi,. Htaccess adalah sangat kuat. Bahkan sedikit kesalahan sintaks (seperti ruang yang hilang) dapat mengakibatkan server parah kerusakan. Jadi, adalah penting untuk membuat salinan cadangan dari segala sesuatu yang berhubungan dengan situs Anda (termasuk asli. Htaccess file) sebelum bekerja dengan Anda akses Hypertext file (s). Hal ini juga penting untuk memeriksa seluruh situs anda bersih setelah melakukan perubahan apapun untuk Anda. Htaccess file. Jika ada kesalahan atau masalah lain yang dihadapi, menggunakan backup Anda segera untuk mengembalikan fungsi asli.</p>
<p>Kinerja .htaccess:</p>
<p>. htaccess arahan menyediakan tingkat direktori konfigurasi tanpa memerlukan akses ke server utama Apache cofiguration file (httpd.conf). Namun, karena kinerja dan keamanan, file konfigurasi utama yang harus selalu digunakan untuk server arahan bila memungkinkan. Sebagai contoh, ketika server dikonfigurasi untuk memproses. Htaccess arahan, Apache harus mencari setiap direktori di dalam domain dan beban setiap dan semua. Htaccess file atas setiap dokumen permintaan. Hal ini mengakibatkan meningkatnya waktu proses halaman dan dengan demikian kinerja berkurang. Seperti memukul kinerja dapat unnoticeable untuk situs dengan lalu lintas ringan, tetapi menjadi masalah yang lebih serius untuk lebih populer website. Oleh karena itu,. Htaccess file hanya boleh digunakan ketika server utama file konfigurasi tidak dapat diakses. Lihat &#8220;Kinerja Trik&#8221; bagian dari artikel ini untuk informasi lebih lanjut.</p>
<p><a href="http://perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/#gen3"><br />
Contoh sample</a><strong>.htaccess</strong>:<br />
# enable allowoverride privileges</p>
<p> AllowOverride Options</p>
<p># prevent viewing of a specific file</p>
<p> order allow,deny<br />
 deny from all</p>
<p># prevent folder listing<br />
IndexIgnore *</p>
<p># prevent display of select file types<br />
IndexIgnore *.wmv *.mp4 *.avi *.etc</p>
<p># disable directory browsing<br />
Options All -Indexes</p>
<p>order allow,deny<br />
deny from all</p>
<p>IndexIgnore */*<br />
AddHandler application/x-httpd-php5 .htm</p>
<p>sumber: (internet)</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
