ispCP - Board - Support
virtual directory for htaccess - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: virtual directory for htaccess (/thread-1432.html)



virtual directory for htaccess - valerossi46 - 10-01-2007 02:36 AM

I need help with default settings virtual directories.
Description:

I need virtual directory options parameter like this
(this is code from /etc/apache2/sites-available/ispcp.conf)
<Directory /var/www/virtual/jeseniky-dovolena.cz/htdocs>
Options -Indexes Includes FollowSymLinks -MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>

OK, I can in /etc/apache2/sites-available/ispcp.conf edit the options parameter from MultiViews to -MultiViews

but when I add new user (domain) in ispcp websystem, than is my changed parameter returnet to MultiViews (for jeseniky-dovolena.cz,..all)

After each adding new domain I must changed my /etc/apache2/sites-available/ispcp.conf

This is crazy....where is default setting for virtual directories?

this is default setting for each domains
<Directory /var/www/virtual/xxx/htdocs>
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>

but I need for some domain

<Directory /var/www/virtual/jeseniky-dovolena.cz/htdocs>
Options -Indexes Includes FollowSymLinks -MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>


RE: virtual directory for htaccess - joximu - 10-01-2007 02:44 AM

Hi

Default Settings:
/etc/ispcp/apache/parts, theese 3 files (for with/without php)
als_entry.tpl: Options -Indexes Includes FollowSymLinks MultiViews
als_php2_entry.tpl: Options +ExecCGI -MultiViews -Indexes
dmn_entry.tpl: Options -Indexes Includes FollowSymLinks MultiViews
dmn_php2_entry.tpl: Options +ExecCGI -MultiViews -Indexes
sub_entry.tpl: Options -Indexes Includes FollowSymLinks MultiViews
sub_php2_entry.tpl: Options +ExecCGI -MultiViews -Indexes

The already set configuration is copied to /etc/ispcp/apache/working/ispcp.conf and when making changes in ispcp it takes this file for further updates.
so if you manually change the configuraton make a copy to the "working" folder...
(also in postfix, bind etc)

Greets
Joximu