Difference between revisions of "Useful Commands"
From SME Server
Jump to navigationJump to searchLine 1: | Line 1: | ||
== Useful Commands == | == Useful Commands == | ||
− | === Related | + | === Apache Related Commands === |
To leave Apache reads the distributed configuration file .htaccess per bay:<br> | To leave Apache reads the distributed configuration file .htaccess per bay:<br> | ||
db accounts setprop IBAYNAME AllowOverride All<br> | db accounts setprop IBAYNAME AllowOverride All<br> | ||
signal-event ibay-modify IBAYNAME | signal-event ibay-modify IBAYNAME | ||
+ | |||
+ | |||
+ | ===PHP Related Commands=== | ||
+ | Configure PHP Basedir Restriction per ibay:<br> | ||
+ | |||
+ | 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 |
Revision as of 13:51, 13 March 2007
Useful Commands
Apache Related Commands
To leave Apache reads the distributed configuration file .htaccess per bay:
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