Current time: 06-16-2024, 06:18 AM Hello There, Guest! (LoginRegister)


Post Reply 
Bei https Verbindung Error 403 in Subfoldern
Author Message
Nicao Offline


Posts: 4
Joined: Oct 2009
Reputation: 0
Post: #1
Bei https Verbindung Error 403 in Subfoldern
Hallo!

Ich habe heute abend ein SSL Zertifikat installiert.
Klappt alles super soweit, die startseite ist auch erreichbar, via http und https - ABER sobald auf einen unterordner zugegriffen werden soll, bekomme ich einen error 403 FORBIDDEN.
dummerweise finde ich in den logs nichts.
ich tippe auf einen fehler in der 01_ssl_master.conf, weil ich dort vorher schon error 500 hatte
Code:
[Fri Nov 06 20:31:49 2009] [alert] [client 78.35.xxx.xxx] /var/www/virtual/abc.com/htdocs/.htaccess: Option Indexes not allowed here

dann hab ich den schnipsel
Code:
<Directory /var/www/virtual/abc.com/htdocs>
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
geadded und schon liefs, ohne error 500, aber eben nur auf der startseite, alle anderen haben jetzt nen 403er.

Ein Verzeichnisschutz ist via htaccess derzeit aktiv, aber das scheint ja kein problem zu sein, da die startseite aufrufbar ist und das löschen des selbigen den 403er fehler nich behoben hat.
hier meine 01_ssl_master.conf mal zur durchsicht auf groben unfug:

Code:
#
# ispCP ω (OMEGA) a Virtual Hosting Control System
#
# @copyright    2001-2006 by moleSoftware GmbH
# @copyright    2006-2008 by ispCP | http://isp-control.net
# @version        SVN: $Id$
# @link            http://isp-control.net
# @author        ispCP Team
#
# @license
#   This program is free software; you can redistribute it and/or modify it under
#   the terms of the MPL General Public License as published by the Free Software
#   Foundation; either version 1.1 of the License, or (at your option) any later
#   version.
#   You should have received a copy of the MPL Mozilla Public License along with
#   this program; if not, write to the Open Source Initiative (OSI)
#   http://opensource.org | osi@opensource.org
#
################################################################################​
#
# Master Begin
#

<VirtualHost 194.xxx.xxx.xxx:443>
    SSLEngine On
    SSLCertificateFile    /etc/apache2/ssl/www.abc.com.crt
    SSLCertificateKeyFile /etc/apache2/ssl/www.abc.com.key
    
    ServerAdmin     admin@localhost
    DocumentRoot    /var/www/virtual/abc.com/htdocs

    ServerName      abcserver
  
    ErrorLog /var/log/apache2/users/abc.com.at-ssl-error.log
    TransferLog /var/log/apache2/users/abc.com-ssl-access.log
    CustomLog /var/log/apache2/abc.com-ssl-traf.log traff
    CustomLog /var/log/apache2/abc.com-ssl-combined.log combined


    Alias /errors   /var/www/ispcp/gui/errordocs/

    ErrorDocument 401 /errors/401.html
    ErrorDocument 403 /errors/403.html
    ErrorDocument 404 /errors/404.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 503 /errors/503.html

    Alias /pma      /var/www/ispcp/gui/tools/pma/
    Alias /webmail  /var/www/ispcp/gui/tools/webmail/
    Alias /ftp      /var/www/ispcp/gui/tools/filemanager/

    <IfModule suexec_module>
           SuexecUserGroup vu2000 vu2000
    </IfModule>
    
            <Directory /var/www/virtual/abc.com/htdocs>
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
    
    <Directory /var/www/ispcp/gui>
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <IfModule mod_fcgid.c>
        <Directory /var/www/ispcp/gui>
            FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_fastcgi.c>
        ScriptAlias /php5/ /var/www/fcgi/master/
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>

    <IfModule mod_php5.c>
        <Directory /var/www/ispcp/gui>
            php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/"
            php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
            php_admin_value upload_tmp_dir "/var/www/ispcp/gui/phptmp/"
        </Directory>
    </IfModule>
    


</VirtualHost>



#
# Master End
#

Jemand ne zündende Idee?

Thx,
Nicao
11-07-2009 07:12 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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