Line 120: |
Line 120: |
| # chmod 755 state | | # chmod 755 state |
| # chown www:www state | | # chown www:www state |
− |
| |
− | Make a new template fragment:
| |
− | # mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
| |
− | # pico /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/86Z-PushAlias
| |
− |
| |
− | Edit the fragment and add:
| |
− | Alias /Microsoft-Server-ActiveSync /var/www/html/z-push/index.php
| |
− | <Directory /var/www/html/z-push/>
| |
− | Options -Indexes
| |
− | AllowOverride None
| |
− | order allow,deny
| |
− | allow from all
| |
− | AddType application/x-httpd-php .php
| |
− | php_flag magic_quotes_gpc off
| |
− | php_flag register_globals off
| |
− | php_flag magic_quotes_runtime off
| |
− | php_flag short_open_tag on
| |
− | </Directory>
| |
| | | |
| Expand and restart | | Expand and restart |