Philipp_Steffek: Apache: Ändern der DocumentRoot geht nicht

Beitrag lesen

Hallo

darin liegt das hier...

<IfDefine MAILMAN>

ScriptAlias     /mailman/       /usr/lib/mailman/cgi-bin/
Alias           /mailmanicons/  /usr/lib/mailman/icons/
Alias           /pipermail/     /var/lib/mailman/archives/public/

<Directory /usr/lib/mailman/cgi-bin>
        order allow,deny
        allow from all
</Directory>

<Directory /usr/lib/mailman/icons>
        order allow,deny
        allow from all
</Directory>

<Directory /var/lib/mailman/archives/>
        Options +FollowSymLinks
        order allow,deny
        allow from all
</Directory>

</IfDefine>

<Directory "/srv/www/perl-lib">
    AllowOverride None
    Options None
    Order allow,deny
    Deny from all
</Directory>

<IfModule mod_perl.c>
    PerlRequire "/etc/apache2/mod_perl-startup.pl"

ScriptAlias /perl/ "/srv/www/cgi-bin/"
    <Location /perl/>
 # mod_perl mode
 SetHandler perl-script
 PerlResponseHandler ModPerl::Registry
 PerlOptions +ParseHeaders
 Options +ExecCGI
    </Location>

ScriptAlias /cgi-perl/ "/srv/www/cgi-bin/"
    <Location /cgi-perl>
 # perl cgi mode
 SetHandler  perl-script
 PerlResponseHandler ModPerl::PerlRun
 PerlOptions +ParseHeaders
 Options +ExecCGI
    </Location>

# The /cgi-bin/ ScriptAlias is already set up in httpd.conf

</IfModule>

vim: ft=apache

<IfModule sapi_apache2.c>
        AddType application/x-httpd-php .php
        AddType application/x-httpd-php .php3
        AddType application/x-httpd-php .php4
        AddType application/x-httpd-php-source .phps
        DirectoryIndex index.php
        DirectoryIndex index.php3
        DirectoryIndex index.php4
</IfModule>

ServerName v200000219.1blu.de
ServerAdmin root@v200000219.1blu.de

DocumentRoot srv/www/vhosts/default/htdocs

<IfModule mod_logio.c>
LogFormat "%h %l %u %t "%r" %>s %O "%{Referer}i" "%{User-Agent}i"" plesklog
</IfModule>
<IfModule !mod_logio.c>
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" plesklog
</IfModule>
<Directory "/srv/www/vhosts">
 AllowOverride All
 Options SymLinksIfOwnerMatch
 Order allow,deny
 Allow from all
 <IfModule sapi_apache2.c>
 php_admin_flag engine off
 </IfModule>
 <IfModule mod_php5.c>
 php_admin_flag engine off
 </IfModule>
</Directory>

<Directory "/usr/lib/mailman">
 AllowOverride All
 Options SymLinksIfOwnerMatch
 Order allow,deny
 Allow from all
 <IfModule sapi_apache2.c>
 php_admin_flag engine off
 </IfModule>
 <IfModule mod_php5.c>
 php_admin_flag engine off
 </IfModule>
</Directory>

<IfModule mod_userdir.c>
 UserDir disabled
</IfModule>
<IfModule mod_ssl.c>

</IfModule>

<IfModule mod_ssl.c>

</IfModule>

<IfModule mod_ssl.c>

</IfModule>

Gruß
Philipp