Line 3: |
Line 3: |
| ==Apache Related Commands== | | ==Apache Related Commands== |
| ===Apache options to ibay=== | | ===Apache options to ibay=== |
− | *Expand <b>httpd.conf</b> template:
| + | ====Expand <b>httpd.conf</b> template:==== |
| | | |
| 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 |
Line 15: |
Line 15: |
| | | |
| | | |
− | *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:==== |
| | | |
| db accounts setprop IBAYNAME AllowOverride All | | db accounts setprop IBAYNAME AllowOverride All |
Line 23: |
Line 23: |
| signal-event ibay-modify IBAYNAME | | signal-event ibay-modify IBAYNAME |
| | | |
− | *enable Symlinks in that iBay
| + | ====enable Symlinks in that iBay==== |
| db accounts setprop IBAYNAME FollowSymLinks enabled | | db accounts setprop IBAYNAME FollowSymLinks enabled |
| signal-event ibay-modify IBAYNAME | | signal-event ibay-modify IBAYNAME |
Line 30: |
Line 30: |
| signal-event ibay-modify IBAYNAME | | signal-event ibay-modify IBAYNAME |
| | | |
− | *disable apache directory indexes per ibay:
| + | ====disable apache directory indexes per ibay:==== |
| db accounts setprop IBAYNAME Indexes disabled | | db accounts setprop IBAYNAME Indexes disabled |
| signal-event ibay-modify IBAYNAME | | signal-event ibay-modify IBAYNAME |
Line 37: |
Line 37: |
| signal-event ibay-modify IBAYNAME | | signal-event ibay-modify IBAYNAME |
| | | |
− | *PHPBaseDir per ibay:
| + | ====PHPBaseDir per ibay:==== |
| db accounts setprop IBAYNAME PHPBaseDir /home/e-smith/files/ibays/IBAYNAME/:/tmp/ | | db accounts setprop IBAYNAME PHPBaseDir /home/e-smith/files/ibays/IBAYNAME/:/tmp/ |
| signal-event ibay-modify IBAYNAME | | signal-event ibay-modify IBAYNAME |
| | | |
− | *Allow PHP URL File Open per ibay:
| + | ====Allow PHP URL File Open per ibay:==== |
| | | |
| Make custom httpd directory if not exist | | Make custom httpd directory if not exist |