View Single Post
  #1  
Old 12th November 2008, 17:25
fdsg72-lux fdsg72-lux is offline
Junior Member
 
Join Date: Oct 2006
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Unhappy RoundCube Webmail "AllowOverride Options" Location

Hi there,

Background:
I completed the following How To's to setup fresh install of Ubuntu 8.10 with ISPConfig and RoundCube WebMail:

=> Ubuntu 8.10: http://www.howtoforge.com/perfect-server-ubuntu-8.10
=> ISPConfig post-install setup: http://www.howtoforge.com/ispconfig-2.x-first-steps-p3
=> RoundCube Webmail: http://www.howtoforge.com/roundcube_webmail_ispconfig

Issue:
With RoundCube Webmail I am hitting the issue with the PHP options in the .htaccess file giving "500 Internal Server Error". After researching this issue I accordingly modified the file /etc/apache2/vhosts/Vhosts_ispconfig.conf for the appropriate <VirtualHost ...> section for my website by updating the following line inside the section:

<IfModule mod_python.c>
<Directory /var/www/web4/web>":
...
</Directory>
</IfModule>

from

=> AllowOverride Indexes AuthConfig Limit FileInfo

to

=> AllowOverride Options Indexes AuthConfig Limit FileInfo

and then restart apache2 which resolves the issue momentarily.

The problem is that if I make any change via ISPConfig e.g. update a setting of the website, then the file /etc/apache2/vhosts/Vhosts_ispconfig.conf is regenerated and I loose my edit which then again breaks the RoundCube Webmail functionality.

Question:
Where is the correct location to make the change for my website so it will not get overwritten when I make changes via ISPConfig? I also tried adding the following all by itself within the <VirtualHost ...> section, both as the first and last entry within this section:

<Directory /var/www/web4/web>
AllowOverride Options
</Directory>

but it does not make any difference, only when I update existing definitions of the like

<IfModule ...>
<Directory /var/www/web4/web>
...
</Directory>
</IfModule>

does the change work.

Help:
Please tell me what exact change I have to make exactly where to resolve this issue?

Thanks,
Faan
Reply With Quote
Sponsored Links