changing the htaccess file in php
I want to change the maximum file upload size in my website, for this i'm going to add some code lines in my .htaccess file.
i have searched in google and i got the lines of code to add in .htaccess file. But i don't know exactly were to add that lines of code .
Below is the lines of code currently in my .htaccess file
code below
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
&l开发者_如何学Pythont;/Limit>
<Limit POST PUT DELETE>
order deny,allow
deny from all`enter code here`
</Limit>
AuthName www.mysite.com
AuthUserFile /www/htdocs/domains/s11/01712/www.mysite.com/webdocs/_vti_pvt/service.pwd
AuthGroupFile /www/htdocs/domains/s11/01712/www.mysite.com/webdocs/_vti_pvt/service.grp
AddHandler php5-script .php
Here is the code to add
php_value post_max_size 50M
php_value upload_max_filesize 50M
how to add this lines of code in .htaccess file and where??
Please help me..
Thanks
Just add the lines to the end of .htaccess:
php_value upload_max_filesize 50M
php_value post_max_size 50M
精彩评论