Current time: 11-23-2024, 02:25 AM Hello There, Guest! (LoginRegister)


Post Reply 
virtual directory for htaccess
Author Message
valerossi46 Offline


Posts: 4
Joined: Oct 2007
Reputation: 0
Post: #1
virtual directory for htaccess
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>
10-01-2007 02:36 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: virtual directory for htaccess
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
10-01-2007 02:44 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)