Difference between revisions of "Useful Commands"

From SME Server
Jump to navigationJump to search
Line 2: Line 2:
  
 
=== Apache Related Commands ===
 
=== Apache Related Commands ===
To leave Apache reads the distributed configuration file <b>.htaccess</b> per bay:
+
To leave Apache reads the distributed configuration file <b><u>.htaccess</u></b> per ibay:
  
 
  db accounts setprop IBAYNAME AllowOverride All
 
  db accounts setprop IBAYNAME AllowOverride All
Line 8: Line 8:
  
 
===PHP Related Commands===
 
===PHP Related Commands===
Configure <b>PHP Basedir</B> Restriction per ibay:
+
Configure <b><u>PHP Basedir</u></B> Restriction per ibay:
  
 
  db accounts setprop IBAYNAME PHPBaseDir DIR1:DIR2:DIRn
 
  db accounts setprop IBAYNAME PHPBaseDir DIR1:DIR2:DIRn

Revision as of 13:59, 13 March 2007

Useful Commands

Apache Related Commands

To leave Apache reads the distributed configuration file .htaccess per ibay:

db accounts setprop IBAYNAME AllowOverride All
signal-event ibay-modify IBAYNAME

PHP Related Commands

Configure PHP Basedir Restriction per ibay:

db accounts setprop IBAYNAME PHPBaseDir DIR1:DIR2:DIRn
signal-event ibay-modify IBAYNAME

Example

db accounts setprop Primary PHPBaseDir /home/e-smith/files/ibays/Primary:/tmp
signal-event ibay-modify Primary