Line 5: |
Line 5: |
| | | |
| expand-template /etc/httpd/conf/httpd.conf | | expand-template /etc/httpd/conf/httpd.conf |
| + | |
| | | |
| *Restart <b>httpd:</b> | | *Restart <b>httpd:</b> |
| | | |
| /etc/init.d/httpd-e-smith restart | | /etc/init.d/httpd-e-smith restart |
| + | |
| | | |
| *To leave Apache reads the distributed configuration file <b><u>.htaccess</u></b> per ibay: | | *To leave Apache reads the distributed configuration file <b><u>.htaccess</u></b> per ibay: |
Line 14: |
Line 16: |
| db accounts setprop IBAYNAME AllowOverride All | | db accounts setprop IBAYNAME AllowOverride All |
| signal-event ibay-modify IBAYNAME | | signal-event ibay-modify IBAYNAME |
| + | |
| | | |
| *Allow PHP URL File Open per ibay: | | *Allow PHP URL File Open per ibay: |
Line 32: |
Line 35: |
| /etc/init.d/httpd-e-smith restart | | /etc/init.d/httpd-e-smith restart |
| | | |
| + | |
| | | |
| ===PHP Related Commands=== | | ===PHP Related Commands=== |
Line 37: |
Line 41: |
| | | |
| expand-template /etc/php.ini | | expand-template /etc/php.ini |
| + | |
| | | |
| *Configure <b><u>PHP Basedir</u></B> Restriction per ibay: | | *Configure <b><u>PHP Basedir</u></B> Restriction per ibay: |
Line 47: |
Line 52: |
| db accounts setprop Primary PHPBaseDir /home/e-smith/files/ibays/Primary:/tmp | | db accounts setprop Primary PHPBaseDir /home/e-smith/files/ibays/Primary:/tmp |
| signal-event ibay-modify Primary | | signal-event ibay-modify Primary |
| + | |
| | | |
| *Execution Time: | | *Execution Time: |
Line 70: |
Line 76: |
| /etc/init.d/httpd-e-smith restart | | /etc/init.d/httpd-e-smith restart |
| where <b><u>WW</u></b> is the file size in Mb. | | where <b><u>WW</u></b> is the file size in Mb. |
| + | |
| | | |
| *Allow URL FOpen: | | *Allow URL FOpen: |
| | | |
| Not secure. Instead use per ibay or directory. | | Not secure. Instead use per ibay or directory. |