Changes

From SME Server
Jump to navigationJump to search
72 bytes added ,  17:22, 11 January 2014
Line 26: Line 26:     
=== Template of httpd.conf ===
 
=== Template of httpd.conf ===
{{Note box|With this configuration, It appears that the tmp folder will be set only for this web application and not for all other virtual host. It is a better matter for security, but in the example below the tmp folder is the /tmp which is used by all. You should create your own tmp/ in the application folder, see }}
+
{{Note box|With this configuration, It appears that the tmp folder will be set only for this web application and not for all other virtual host. It is a better matter for security, but in the example below the tmp folder is the /tmp which is used by all. You should create your own tmp/ in the application folder, see [[Uploadtmpdir#Specify_the_application_tmp_folder]]}}
 
You can do the same thing by adding the following in the httpd.conf template of your contrib or special apache virtual host.
 
You can do the same thing by adding the following in the httpd.conf template of your contrib or special apache virtual host.
 
  php_admin_value upload_tmp_dir /tmp
 
  php_admin_value upload_tmp_dir /tmp
Line 52: Line 52:  
  if ($pass)
 
  if ($pass)
 
  {
 
  {
   
   
 
   
 
and then do  
 
and then do  
Line 69: Line 68:  
In a near future this ability will be in the default configuration of smeserver.
 
In a near future this ability will be in the default configuration of smeserver.
 
[[Category:Howto]]
 
[[Category:Howto]]
 +
[[Category:developer]]

Navigation menu