bbxrider Posted October 25, 2008 Share Posted October 25, 2008 i'm using apache 2.2.4 with win xp pro hosting multiple domains with virtual host one domain is joomla with an extension docman to manage file uploading, i have configured the docman app to accept very large files i have tried to override the default php.ini upload_max_filesize for just the one domain by putting an .htaccess in the root dir with 'php_value upload_max_filesize 20000m' (yes looking to upload 20gb files for a special app) the .htaccess didn't work i also tried putting a modified php.ini the root dir, that also didn't work i have tested successfully with modifying the standard php.ini so i know everything else is working once the php limit is increased so i'm not sure if i had misread how htaccess or php.ini in the root dir works with apache for modifying php. and i'm not sure either if this more a php question than apache? but if any body can help with this please do bob Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted October 26, 2008 Share Posted October 26, 2008 Is php running as an Apache module or as a CGI application? Quote Link to comment Share on other sites More sharing options...
bbxrider Posted October 26, 2008 Author Share Posted October 26, 2008 thanks for the reply apache module my .conf: #start php5 modifications LoadModule php5_module "C:/php/php5apache2_2.dll" AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps PHPIniDir "C:/php" #end php5 modifications Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted October 26, 2008 Share Posted October 26, 2008 For Apache module, you can put php settings into the .htaccess file, provided there is an AllowOverride all statement in your httpd.conf that allows the php settings in the .htaccess file to operate. Quote Link to comment Share on other sites More sharing options...
bbxrider Posted October 26, 2008 Author Share Posted October 26, 2008 ok thanks again i have this directive which looks like it cover all dirs, <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all Satisfy all </Directory> which actually i'd like to keep except for the domains i specifically want to override, can i put in the allowOverride for just specific dirs, even perhaps below the root, so only the scripts there are affected? and does this mean that if using the cgi-bin option, then htaccess is not an option? and if not htaccess is there an alternate method to achieve the same thing for cgi-bin Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.