21 | | 1. Make any necessary changes to the Apache config |
| 21 | 1. Change the apache config file `/local/apache2/etc/httpd.conf` |
| 22 | 1. Remove the section: |
| 23 | {{{ |
| 24 | DocumentRoot "/local/www/htdocs" |
| 25 | <Directory "/local/www/htdocs"> |
| 26 | Options None |
| 27 | AllowOverride None |
| 28 | Order allow,deny |
| 29 | Allow from all |
| 30 | </Directory> |
| 31 | }}} |
| 32 | 1. And replace it with: |
| 33 | {{{ |
| 34 | DocumentRoot "/local/www/{site name}/" |
| 35 | <Directory "/local/www/{site name}"> |
| 36 | Options FollowSymLinks Indexes |
| 37 | AllowOverride None |
| 38 | Order allow,deny |
| 39 | Allow from all |
| 40 | Include /local/www/{site name}/.htaccess |
| 41 | </Directory> |
| 42 | }}} |