Page 1 of 1

adding an upload_max_filesize value to .htaccess

Posted: Tue Sep 27, 2005 10:25 am
by Grim...
Bah. I'm stuck on this.

My .htaccess file is as follows:

Code: Select all

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.lonford.co.uk
AuthUserFile /home2/squirrel/public_html/_vti_pvt/service.pwd
AuthGroupFile /home2/squirrel/public_html/_vti_pvt/service.grp
I want to change my PHP upload_max_filesize, so all I should have to do is add

Code: Select all

php_value upload_max_filesize "40M"
at the end, right (this is what other websites say)?

But that always gives me a 500 error :(

What am I meant to do?

Posted: Tue Sep 27, 2005 10:29 am
by Grim...
Also, where should I put the .htaccess file? In the server root or the directory root?