Quote:
Originally Posted by robertlouwen
PS maybe you can explain "quite quickly" what to do with the field "Directives" in the Options tab ?
I liked your explanation in dummy language for redirect
|
Well, I don't think this is as easy as explaining redirect
In short: you can put everything there that is allowed in a virtual host section inside the apache config.
Examples for directives (taken from the apache config generated by ispconfig):
Code:
ErrorLog /var/log/ispconfig/httpd/test.de/error.log
ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html
Code:
<Directory /var/www/clients/client0/web1/web>
Options FollowSymLinks
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
Allow from all
<Files ~ '.php[s3-6]{0,1}$'>
Order allow,deny
Deny from all
Allow from none
</Files>
</Directory>
Code:
# suexec enabled
SuexecUserGroup web8 client1
# php as fast-cgi enabled
<Directory /var/www/xxxxxxxxxx/web>
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/php-fcgi-scripts/web8/.php-fcgi-starter .php
Options +ExecCGI
AllowOverride all
Order allow,deny
Allow from all
</Directory>
You see it's really not easy to explain everything possible there
Recent comments
7 hours 23 min ago
14 hours 4 min ago
17 hours 54 min ago
19 hours 33 min ago
1 day 3 hours ago
1 day 13 hours ago
1 day 14 hours ago
1 day 17 hours ago
1 day 22 hours ago
1 day 22 hours ago