<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Agence de Développement Informatique du Nord &#187; .htaccess</title>
	<atom:link href="http://blog.adin.pro/tag/htaccess/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.adin.pro</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Thu, 26 Dec 2019 08:54:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>PHP form limited to 1000 fields</title>
		<link>http://blog.adin.pro/2013-11-15/php-form-limited-to-1000-fields/</link>
		<comments>http://blog.adin.pro/2013-11-15/php-form-limited-to-1000-fields/#comments</comments>
		<pubDate>Fri, 15 Nov 2013 11:04:56 +0000</pubDate>
		<dc:creator><![CDATA[blogadmin]]></dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[suhison]]></category>

		<guid isPermaLink="false">http://blog.adin.pro/?p=323</guid>
		<description><![CDATA[<p>Since PHP 5.3.9 form are limited to 1000 fields by default. To fix it, you can edit your php.ini file and modify this variable And don&#8217;t forget to restart apache. You can also edit it in your .htaccess file Change &#8230; <a href="http://blog.adin.pro/2013-11-15/php-form-limited-to-1000-fields/">Continue reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2013-11-15/php-form-limited-to-1000-fields/">PHP form limited to 1000 fields</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Since PHP 5.3.9 form are limited to 1000 fields by default.<br />
To fix it, you can edit your php.ini file and modify this variable</p>
<pre class="brush: bash; title: ; notranslate">
max_input_vars = 4000
</pre>
<p>And don&#8217;t forget to restart apache.</p>
<p>You can also edit it in your .htaccess file</p>
<pre class="brush: bash; title: ; notranslate">
 php_value max_input_vars 4000 
</pre>
<p>Change it directly in your php file with this</p>
<pre class="brush: bash; title: ; notranslate">
 ini_set('php_value max_input_vars', 4000); 
</pre>
<p>won&#8217;t work.</p>
<p>But change this varible may not fix your issue.<br />
If you have suhosin installed, you laso have to edit his configuration file (/etc/php5/apache2/conf.d/suhosin.ini)</p>
<pre class="brush: bash; title: ; notranslate">
suhosin.get.max_vars = 4000 
suhosin.post.max_vars = 4000 
suhosin.request.max_vars = 4000 
</pre>
<p>To check your suhison configuration, use phpinfo() or in your php script</p>
<pre class="brush: bash; title: ; notranslate">
echo ini_get('suhosin.post.max_vars');
</pre>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2013-11-15/php-form-limited-to-1000-fields/">PHP form limited to 1000 fields</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adin.pro/2013-11-15/php-form-limited-to-1000-fields/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Invalid command &#8216;Header&#8217;, perhaps misspelled or defined by a module not included in the server configuration</title>
		<link>http://blog.adin.pro/2013-09-09/invalid-command-header-perhaps-misspelled-or-defined-by-a-module-not-included-in-the-server-configuration/</link>
		<comments>http://blog.adin.pro/2013-09-09/invalid-command-header-perhaps-misspelled-or-defined-by-a-module-not-included-in-the-server-configuration/#comments</comments>
		<pubDate>Mon, 09 Sep 2013 18:32:32 +0000</pubDate>
		<dc:creator><![CDATA[blogadmin]]></dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[apache2]]></category>

		<guid isPermaLink="false">http://blog.adin.pro/?p=287</guid>
		<description><![CDATA[<p>You have this error message on your apache logs Check the .htaccess file and there is no Header command&#8230; In fact, this issue is due to the header apache&#8217;s module whose&#8217;s missing. To install it, run And don&#8217;t forget to &#8230; <a href="http://blog.adin.pro/2013-09-09/invalid-command-header-perhaps-misspelled-or-defined-by-a-module-not-included-in-the-server-configuration/">Continue reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2013-09-09/invalid-command-header-perhaps-misspelled-or-defined-by-a-module-not-included-in-the-server-configuration/">Invalid command &#8216;Header&#8217;, perhaps misspelled or defined by a module not included in the server configuration</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>You have this error message on your apache logs</p>
<pre class="brush: bash; title: ; notranslate">
/home/www/.htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
</pre>
<p>Check the .htaccess file and there is no Header command&#8230;</p>
<pre class="brush: bash; title: ; notranslate">
&lt;FilesMatch &quot;\.(xml|jpg)$&quot;&gt;
FileETag None
Header unset ETag
Header set Cache-Control &quot;max-age=0, no-cache, no-store, must-revalidate&quot;
Header set Pragma &quot;no-cache&quot;
Header set Expires &quot;Wed, 11 Jan 1984 05:00:00 GMT&quot;
&lt;/FilesMatch&gt;
</pre>
<p>In fact, this issue is due to the header apache&#8217;s module whose&#8217;s missing.<br />
To install it, run</p>
<pre class="brush: bash; title: ; notranslate">
a2enmod headers
</pre>
<p>And don&#8217;t forget to restart apache</p>
<pre class="brush: bash; title: ; notranslate">
service apache2 restart
</pre>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2013-09-09/invalid-command-header-perhaps-misspelled-or-defined-by-a-module-not-included-in-the-server-configuration/">Invalid command &#8216;Header&#8217;, perhaps misspelled or defined by a module not included in the server configuration</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adin.pro/2013-09-09/invalid-command-header-perhaps-misspelled-or-defined-by-a-module-not-included-in-the-server-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove index.php from URL .htaccess</title>
		<link>http://blog.adin.pro/2012-11-19/remove-index-php-from-url-htaccess/</link>
		<comments>http://blog.adin.pro/2012-11-19/remove-index-php-from-url-htaccess/#comments</comments>
		<pubDate>Mon, 19 Nov 2012 16:11:11 +0000</pubDate>
		<dc:creator><![CDATA[blogadmin]]></dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://blog.adin.pro/?p=31</guid>
		<description><![CDATA[<p>How to remove index.php from URL using .htaccess file ? That is this easy : Maybe you are using a magento website and you need to keep index.php for the backoffice. Then add this condition to the .htaccess file and &#8230; <a href="http://blog.adin.pro/2012-11-19/remove-index-php-from-url-htaccess/">Continue reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2012-11-19/remove-index-php-from-url-htaccess/">Remove index.php from URL .htaccess</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>How to remove index.php from URL using .htaccess file ?<br />
That is this easy :</p>
<pre class="brush: bash; title: ; notranslate">
&lt;IfModule mod_rewrite.c&gt;
RewriteEngine On
RewriteBase /
RewriteCond %{THE_REQUEST} ^[^/]*/index\.php [NC]
RewriteRule ^index\.php(.+) $1 [R=301,L]
&lt;/IfModule&gt;
</pre>
<p>Maybe you are using a magento website and you need to keep index.php for the backoffice.<br />
Then add this condition to the .htaccess file</p>
<pre class="brush: bash; title: ; notranslate">
RewriteCond %{REQUEST_URI} !^[^/]*/index\.php/admin.*
</pre>
<p>and don&#8217;t forget to enable rewrite module</p>
<pre class="brush: bash; title: ; notranslate">
a2enmod rewrite
</pre>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2012-11-19/remove-index-php-from-url-htaccess/">Remove index.php from URL .htaccess</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adin.pro/2012-11-19/remove-index-php-from-url-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
