View Single Post
Old 4th June 2009, 11:14
Croydon Croydon is offline
ISPConfig Developer
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 264 Times in 208 Posts

Originally Posted by robertlouwen View Post
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):

ErrorLog /var/log/ispconfig/httpd/

    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
<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
    # 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
You see it's really not easy to explain everything possible there
Reply With Quote