tag:blogger.com,1999:blog-39492999182545763122024-02-18T22:00:21.796-08:00Aj D&DAj Design and DevelopAnonymoushttp://www.blogger.com/profile/05363009046316795979noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-3949299918254576312.post-85953586626321772302016-12-12T12:07:00.003-08:002016-12-12T12:10:52.579-08:00Rate our choices please :)<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Hey every one, we are trying to create our own logo, and we have these two instance for now, please could you help us choose ???</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9oTpPsi5kvgt3JzpQoZatydSJLnxSn2Qe_lg5cZVcVwH3qklUiv_aqi9ZoDGkyP-hxmXYKi2gB3TGACDO6nc1t2JyknCnOAmFUOFl2tfAM2ss-uibkYURziATUmUjfjcgpjC1-TLrUQMC/s1600/ajd%2526d.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="168" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9oTpPsi5kvgt3JzpQoZatydSJLnxSn2Qe_lg5cZVcVwH3qklUiv_aqi9ZoDGkyP-hxmXYKi2gB3TGACDO6nc1t2JyknCnOAmFUOFl2tfAM2ss-uibkYURziATUmUjfjcgpjC1-TLrUQMC/s320/ajd%2526d.png" width="320" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq278SvHJAGWuK1KoglXPt4RQAPe5Bdx4Qolk9Typv2WzxFKYJBZLHw5E2iR8hGgP4MoeySs-3ZWRkMRD5s7kzp7eTW8lJeXIlm8a9nFN61asRupERmjqzrUQyDQroaGH1am3ppiLZ8Xf8/s1600/AjD%2526D2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq278SvHJAGWuK1KoglXPt4RQAPe5Bdx4Qolk9Typv2WzxFKYJBZLHw5E2iR8hGgP4MoeySs-3ZWRkMRD5s7kzp7eTW8lJeXIlm8a9nFN61asRupERmjqzrUQyDQroaGH1am3ppiLZ8Xf8/s200/AjD%2526D2.png" width="200" /></a></div>
<br />
<br /></div>
Anonymoushttp://www.blogger.com/profile/05363009046316795979noreply@blogger.com0tag:blogger.com,1999:blog-3949299918254576312.post-8171937938999388132016-12-10T12:14:00.001-08:002016-12-10T12:14:03.563-08:00Removing index.php from codeigniter URI !!!<div dir="rtl" style="text-align: right;" trbidi="on">
<div dir="ltr" style="text-align: left;">
now everyone have being go trough this problem which is index.php in my url, </div>
<div class="separator" dir="ltr" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" dir="ltr" style="clear: both; text-align: left;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsGfm46N0m-na3VwFNxNtfarj3raLLE8D-UbV5mxNQO3qKOiAnmqc3rEqsLVRTG3h9wDPl98wfi6aUvJV50wgwaGCHkaWNVoPfTAVLNPC8ssdhWV2tY_l_bLJb3dxIJq1QJcAe4w4yC3H1/s1600/index+php+problem.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="21" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsGfm46N0m-na3VwFNxNtfarj3raLLE8D-UbV5mxNQO3qKOiAnmqc3rEqsLVRTG3h9wDPl98wfi6aUvJV50wgwaGCHkaWNVoPfTAVLNPC8ssdhWV2tY_l_bLJb3dxIJq1QJcAe4w4yC3H1/s400/index+php+problem.png" width="400" /></a></div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
so the question here is <b><i><u>how we can remove ?</u></i></b></div>
<div dir="ltr" style="text-align: left;">
<b><i><u><br /></u></i></b></div>
<div dir="ltr" style="text-align: left;">
<b><i><u>FIRST:</u> <u>Can i remove index.php without .htaccess?</u></i></b></div>
<div dir="ltr" style="text-align: left;">
<div>
<u style="font-style: italic; font-weight: bold;">The Answer is NO.</u><strong style="background-color: white; border: 0px; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; margin: 0px; padding: 0px;"><span style="font-size: 15px;"> it is something beyond php or codeigniter, </span><i><u><span style="font-size: large;">its a server thing</span></u></i><span style="font-size: 15px;">.</span></strong> <b><i><u>WHY ??!!</u></i></b></div>
<div>
<b><i><u><br /></u></i></b></div>
<div>
<div style="background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px;">
<div style="text-align: left;">
What happens when user try to go to <code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">localhost/mail/Users/login</code> ?</div>
</div>
<div style="background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px;">
MVC basically hide all your php files inside its folders. and present only one way for any user to interact with your code through <code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">index.php</code></div>
<div style="background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px;">
what happen is</div>
<ol style="background-color: white; border: 0px; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin: 0px 0px 1em 30px; padding: 0px;">
<li style="border: 0px; margin: 0px 0px 0.5em; padding: 0px; word-wrap: break-word;">HTTP request to your website directed to index.php</li>
<li style="border: 0px; margin: 0px 0px 0.5em; padding: 0px; word-wrap: break-word;">index.php load codeigniter bootstrap and call codeigniter router</li>
<li style="border: 0px; margin: 0px; padding: 0px; word-wrap: break-word;">router look up the url typed (welcome/index) then go fetch the file welcome from inside controller folder and call index function.</li>
</ol>
<div style="background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px;">
<strong style="border: 0px; margin: 0px; padding: 0px;">this is plain simple what all MVC frameworks do, hide your code and use a single front file to handle all requests and redirect them using a router class.</strong></div>
<div style="background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px;">
so if you want to <code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">hide</code> index.php then you need to find a way to tell your server to simply redirect any call to index.php.</div>
<div style="background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px;">
index.php is the access door for your website, and your server need to know that all requests must be sent to it. some way or another, and thats why index.php/ must exisit in ur url or use some server configuration to redirect calls to it. but it is always loaded</div>
<div style="background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px;">
<br /></div>
<div style="background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; margin-bottom: 1em; padding: 0px;">
<b><span style="font-size: large;">SO HOW WE CAN REMOVE IT ?</span></b></div>
<div style="background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px;">
I have use following method, it is working perfectly in <strong style="border: 0px; margin: 0px; padding: 0px;">UBUNTU</strong>...!!</div>
<div style="background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px;">
First of all verify that you have enabled mod_rewrite (you can verify using <strong style="border: 0px; margin: 0px; padding: 0px;"><code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">phpinfo()</code></strong>) in your index.php file.</div>
<div style="background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px;">
IF DISABLED mod_rewrite then RUN: </div>
<div style="background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px; text-align: left;">
</div>
<ul>
<li> <code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">sudo a2enmod rewrite</code> </li>
<li> <code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">sudo gedit /etc/apache2/sites-available/defaut</code> just replace "AllowOverride None" to "<code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">AllowOverride All</code>" in Tag(<'Directory /var/www/'>) </li>
<li> Then please run <code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">sudo service apache2 restart</code></li>
</ul>
<br />
<div style="background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px; text-align: left;">
Ok Good... Now in your root directory of Codeigniter -> Find <code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">.htaccess</code> file, if not found then press <strong style="border: 0px; margin: 0px; padding: 0px;">ctrl+h</strong> , still not found then create a file <code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">.htaccess</code></div>
<div style="background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px;">
In <code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">.htaccess</code> Paste following code :</div>
<pre class="default prettyprint prettyprinted" style="background-color: #eff0f1; border: 0px; color: #393318; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; width: auto; word-wrap: normal;"><code style="border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; margin: 0px; padding: 0px; white-space: inherit;"><span class="tag" style="border: 0px; color: #7d2727; margin: 0px; padding: 0px;"><IfModule</span><span class="pln" style="border: 0px; color: #303336; margin: 0px; padding: 0px;"> </span><span class="atn" style="border: 0px; color: #e64320; margin: 0px; padding: 0px;">mod_rewrite</span><span class="pln" style="border: 0px; color: #303336; margin: 0px; padding: 0px;">.</span><span class="atn" style="border: 0px; color: #e64320; margin: 0px; padding: 0px;">c</span><span class="tag" style="border: 0px; color: #7d2727; margin: 0px; padding: 0px;">></span><span class="pln" style="border: 0px; color: #303336; margin: 0px; padding: 0px;">
RewriteEngine On
RewriteBase /ROOT DIRECTORY NAME/
# Directs all EE web requests through the site index file
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</span><span class="tag" style="border: 0px; color: #7d2727; margin: 0px; padding: 0px;"></IfModule></span></code></pre>
<div style="background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px;">
Ok finally just replace <code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">ROOT DIRECTORY NAME</code> with your site name.</div>
<div style="border: 0px; clear: both; color: #242729; margin-bottom: 1em; padding: 0px;">
<span style="background-color: white; font-family: "arial" , "helvetica neue" , "helvetica" , sans-serif; font-size: 15px;">Then go to</span><span style="background-color: white; font-family: "arial" , "helvetica neue" , "helvetica" , sans-serif; font-size: 15px;"> </span><code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">application/config/config.php</code><span style="background-color: white; font-family: "arial" , "helvetica neue" , "helvetica" , sans-serif; font-size: 15px;"> </span><span style="background-color: white; font-family: "arial" , "helvetica neue" , "helvetica" , sans-serif; font-size: 15px;">file and change the following:</span></div>
<div style="border: 0px; clear: both; color: #242729; margin-bottom: 1em; padding: 0px;">
<span style="background-color: white; font-family: "arial" , "helvetica neue" , "helvetica" , sans-serif; font-size: 15px;"> </span><code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">$config['index_page'] = 'index.php';</code></div>
<div style="border: 0px; clear: both; color: #242729; margin-bottom: 1em; padding: 0px;">
<span style="background-color: white; font-family: "arial" , "helvetica neue" , "helvetica" , sans-serif; font-size: 15px;"><b>TO</b></span></div>
<div style="border: 0px; clear: both; color: #242729; margin-bottom: 1em; padding: 0px;">
<span style="background-color: white; font-family: "arial" , "helvetica neue" , "helvetica" , sans-serif; font-size: 15px;"> </span><code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">$config['index_page'] = '';</code></div>
</div>
<div>
<b>NOW lets descripe what we just wrote in our .htaccess file:</b><br />
<pre class="default prettyprint prettyprinted" style="background-color: #eff0f1; border: 0px; color: #393318; font-family: consolas, menlo, monaco, "lucida console", "liberation mono", "dejavu sans mono", "bitstream vera sans mono", "courier new", monospace, sans-serif; font-size: 13px; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; width: auto; word-wrap: normal;"><code style="border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; margin: 0px; padding: 0px; white-space: inherit;"><span class="pln" style="border: 0px; color: #303336; margin: 0px; padding: 0px;">RewriteEngine On</span></code></pre>
<span style="background-color: white; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px;">Description: Enables or disables runtime rewriting engine</span><br style="background-color: white; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px;" /><span style="background-color: white; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px;">Syntax: RewriteEngine on|off</span><br />
<span style="background-color: white; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px;"><br /></span></div>
<div>
<pre class="default prettyprint prettyprinted" style="background-color: #eff0f1; border: 0px; color: #393318; font-family: consolas, menlo, monaco, "lucida console", "liberation mono", "dejavu sans mono", "bitstream vera sans mono", "courier new", monospace, sans-serif; font-size: 13px; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; width: auto; word-wrap: normal;"><code style="border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; margin: 0px; padding: 0px; white-space: inherit;"><span class="pln" style="border: 0px; color: #303336; margin: 0px; padding: 0px;"> # Directs all EE web requests through the site index file
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d</span></code></pre>
</div>
<div>
<div style="background-color: white; color: #333333; font-family: Helvetica, Arial, sans-serif; font-size: 14px;">
<div style="border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px;">
<a href="http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#RewriteCond" style="border: 0px; color: #005999; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none;">RewriteCond</a> basically means "execute the next RewriteRule only if this is true". The <code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">!-l</code> path is the condition that the request is not for a link (<code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">!</code> means not, <code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">-l</code> means link)</div>
<div style="border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px;">
The <a href="http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#RewriteRule" style="border: 0px; color: #005999; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none;">RewriteRule</a> basically means that if the request is done that matches <code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">^(.+)$</code> (matches any URL except the server root), it will be rewritten as <code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">index.php?url=$1</code> which means a request for <code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">olle</code>will be rewritten as <code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">index.php?url=olle</code>.</div>
<div style="border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px;">
<code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">QSA</code> means that if there's a query string passed with the original URL, it will be appended to the rewrite (<code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">olle?p=1</code> will be rewritten as <code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">index.php?url=olle&p=1</code>.</div>
<div style="border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px;">
<code style="background-color: #eff0f1; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;">L</code> means if the rule matches, don't process any more RewriteRules below this one.</div>
<div style="border: 0px; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; margin-bottom: 1em; padding: 0px;">
Thanks for reading.</div>
</div>
</div>
</div>
</div>
Anonymoushttp://www.blogger.com/profile/05363009046316795979noreply@blogger.com0