<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Amit Verma (amitoverflow)</title>
    <description>The latest articles on DEV Community by Amit Verma (amitoverflow) (@amitoverflow).</description>
    <link>https://dev.to/amitoverflow</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F673030%2Fd91afe1b-f603-4df1-bd3d-bcb9983b27a6.jpeg</url>
      <title>DEV Community: Amit Verma (amitoverflow)</title>
      <link>https://dev.to/amitoverflow</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/amitoverflow"/>
    <language>en</language>
    <item>
      <title>Increase php upload_max_filesize with htaccess</title>
      <dc:creator>Amit Verma (amitoverflow)</dc:creator>
      <pubDate>Fri, 12 Nov 2021 09:07:21 +0000</pubDate>
      <link>https://dev.to/amitoverflow/increase-php-uploadmaxfilesize-with-htaccess-56m1</link>
      <guid>https://dev.to/amitoverflow/increase-php-uploadmaxfilesize-with-htaccess-56m1</guid>
      <description>&lt;p&gt;In PHP the default upload_max_filesize is 2 MB but you can increase this filesize limit using your htaccess file. To increase the limit via htaccess , add the following line to your htaccess&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
php_value upload_max_filesize 100MB

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will increase the default limit to 100MB.&lt;br&gt;
Read more on this article here &lt;a href="https://helponnet.com/2021/11/09/php-post-max-filezize-htaccess/"&gt;https://helponnet.com/2021/11/09/php-post-max-filezize-htaccess/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>php</category>
      <category>htaccess</category>
    </item>
    <item>
      <title>Disable directory listing on Apache server</title>
      <dc:creator>Amit Verma (amitoverflow)</dc:creator>
      <pubDate>Fri, 30 Jul 2021 02:21:42 +0000</pubDate>
      <link>https://dev.to/amitoverflow/disable-directory-listing-on-apache-server-1p3c</link>
      <guid>https://dev.to/amitoverflow/disable-directory-listing-on-apache-server-1p3c</guid>
      <description>&lt;p&gt;While requesting a web directory , the listing of files and folders is called directory listing and it exposes your directory structure to clients. In this short article I will show you how we can disable directory browsing. To disable the listing of files and folders you can just use the following code in your htaccess&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
Options -Indexes

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will return a 403 error when your directory is direct accessed.&lt;br&gt;
Read the full tutorial here &lt;br&gt;
&lt;a href="https://helponnet.com/2021/07/29/apache-disable-directory-listing/"&gt;https://helponnet.com/2021/07/29/apache-disable-directory-listing/&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>301 reditect a domain with exception</title>
      <dc:creator>Amit Verma (amitoverflow)</dc:creator>
      <pubDate>Wed, 28 Jul 2021 18:03:14 +0000</pubDate>
      <link>https://dev.to/amitoverflow/301-reditect-a-domain-with-exception-2j1f</link>
      <guid>https://dev.to/amitoverflow/301-reditect-a-domain-with-exception-2j1f</guid>
      <description>&lt;p&gt;Here is the simple mod_rewrite rule that will help you redirect your site URL to another domain with exception. Assuming we have a domain named "foo.example.com" and we want to redirect all our site traffic to an external domain "bar.example.com" with an exception that our /admin/ directory should not redirect, we can use the following in htaccess :&lt;/p&gt;

&lt;pre&gt;
RewriteEngine on

RewriteRule !admin https://bar.example.com [L,R=301]
&lt;/pre&gt;

&lt;p&gt;See the full article on this page : &lt;a href="https://helponnet.com/2021/05/01/redirect-domain-with-exception/"&gt;https://helponnet.com/2021/05/01/redirect-domain-with-exception/&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Htaccess tutorial for beginners </title>
      <dc:creator>Amit Verma (amitoverflow)</dc:creator>
      <pubDate>Sat, 24 Jul 2021 06:33:47 +0000</pubDate>
      <link>https://dev.to/amitoverflow/htaccess-tutorial-for-beginners-2kc6</link>
      <guid>https://dev.to/amitoverflow/htaccess-tutorial-for-beginners-2kc6</guid>
      <description>&lt;p&gt;A few days ago I wrote an htaccess tutorial for beginners . If you want to learn how to create an htaccess file and rewrite URLs , the tutorial might be helpful to you. You will learn all the basics of htaccess plus mod_rewrite. &lt;br&gt;
&lt;a href="https://helponnet.com/2021/04/15/htaccess-tutorial-for-beginers/"&gt;https://helponnet.com/2021/04/15/htaccess-tutorial-for-beginers/&lt;/a&gt; .&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Hello dev.to !</title>
      <dc:creator>Amit Verma (amitoverflow)</dc:creator>
      <pubDate>Sat, 24 Jul 2021 06:22:58 +0000</pubDate>
      <link>https://dev.to/amitoverflow/hello-dev-to-3l80</link>
      <guid>https://dev.to/amitoverflow/hello-dev-to-3l80</guid>
      <description>&lt;p&gt;Just setting up my account. I am Amit a freelance web developer designer and blogger based in Shimla, India. I am so excited to join this Dev community. &lt;br&gt;
Here is my blog if anyone is interested &lt;a href="https://helponnet.com/"&gt;https://helponnet.com/&lt;/a&gt; and my StackOverflow profile &lt;a href="https://StackOverflow.com/users/3160747"&gt;https://StackOverflow.com/users/3160747&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
