Colin Jack escreveu:
> We have a client site on a BQ server who needs the PHP post_max_size increasing from the default for the server.
>
> I want to limit the change to just this vsite but not sure the easiest way to do it.
>
> I tried putting
>
> Php_flag post_max_size 80M
>
> into the vsitexx.include and restarting apache but this broke PHP for the site (running Moogle).
>
> Anybody able to give me a better way? Would an .htaccess file work?
>
> Of course it would be easy with BlueOnyx - could do it from the CCE :)
>
> Thanks
>
> Colin
>
>
>
> Mainline company details are available at http://www.mainline.co.uk/disclosure.html
>
>
>
Colin,
On your vsitexx.include file add this:
# /etc/httpd/conf/vhosts/sitexx.include
# user customizations can be added here.
<Directory "/home/.sites/xxx/sitexx/web">
AllowOverride All
Options All
</Directory>
This will enable .htaccess files for that site.
Then you can put a .htaccess on the root of that site with:
php_flag post_max_size 80M
Hope this helps!
Cheers