adding an upload_max_filesize value to .htaccess

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

adding an upload_max_filesize value to .htaccess

Post 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?
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post by Grim... »

Also, where should I put the .htaccess file? In the server root or the directory root?
Post Reply