PDA

View Full Version : Apache overrides


emkay
08-26-2004, 11:17 AM
Hello,

When ISPManager creates a new account, it enters something like the following into httpd.conf

---
<Directory /home/domain.com>
Options -Indexes +ExecCGI +Includes
</Directory>
---

If you try to allow this user to override any of the apache settings by adding:

'AllowOverride All'

even after a reboot, the changes will not stick.
I've found that you have to specify the htdocs folder or include all folders to get this working. eg.

---
<Directory /home/domain.com/htdocs>
Options -Indexes +ExecCGI +Includes
AllowOverride All
</Directory>
---
or
---
<Directory /home/feelingmusical.com/htdocs/*>
Options -Indexes +ExecCGI +Includes
AllowOverride All
</Directory>
---

Is there any reason why ISPManager does not do it this way?

Thanks
mk

alm
08-27-2004, 07:10 AM
There are you have

<Directory /home/*>
Options +Includes
AllowOverride AuthConfig Limit Indexes Options
</Directory>

Change AllowOverride here.

emkay
08-27-2004, 10:27 AM
But, I don't want to change it globally. Just for each site.