Hey,
nundenn dann will ich mal doch etws mehr dazu erzählen. Hoff ich geb ned aus versehen zu viel Preis. Bin ein eher VORSICHTIGER "admin". Admin bewusst in Anführungszeichen und klein geschrieben ;-)
die default-error.log des apache2
Quote:[Sat Apr 02 02:58:34 2011] [error] [client 209.190.38.14] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind
[Sat Apr 02 08:24:14 2011] [error] [client 184.154.77.226] File does not exist: /var/www/ispcp/gui/webdav
[Sat Apr 02 10:07:43 2011] [error] [client 87.230.91.130] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.test0
[Sat Apr 02 12:58:51 2011] [error] [client 67.205.76.172] File does not exist: /var/www/ispcp/gui/w00tw00t.at.blackhats.romanian.anti-sec
[Sat Apr 02 12:58:52 2011] [error] [client 67.205.76.172] File does not exist: /var/www/ispcp/gui/phpMyAdmin
[Sat Apr 02 12:58:52 2011] [error] [client 67.205.76.172] File does not exist: /var/www/ispcp/gui/phpmyadmin
[Sat Apr 02 12:58:52 2011] [error] [client 67.205.76.172] File does not exist: /var/www/ispcp/gui/tools/pma/scripts/setup.php
[Sat Apr 02 12:58:52 2011] [error] [client 67.205.76.172] File does not exist: /var/www/ispcp/gui/myadmin
[Sat Apr 02 12:58:52 2011] [error] [client 67.205.76.172] File does not exist: /var/www/ispcp/gui/MyAdmin
[Sat Apr 02 14:16:22 2011] [error] [client 206.126.46.42] File does not exist: /var/www/ispcp/gui/thisdoesnotexistahaha.php
[Sat Apr 02 19:09:02 2011] [error] [client 69.46.23.47] File does not exist: /var/www/ispcp/gui/proxychecker, referer: http://www.google.com/search?hl=ru&q=fre...f&ie=UTF-8
[Sun Apr 03 01:39:10 2011] [error] [client 178.33.202.187] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind
[Sun Apr 03 01:53:13 2011] [error] [client 85.14.217.19] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind
[Sun Apr 03 02:26:05 2011] [error] [client 87.230.91.130] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.test0
[Sun Apr 03 07:22:17 2011] [error] [client 178.33.202.187] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind
[Sun Apr 03 07:35:34 2011] [error] [client 174.133.188.74] File does not exist: /var/www/ispcp/gui/webdav
[Sun Apr 03 09:51:16 2011] [error] [client 95.211.9.164] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind
[Sun Apr 03 13:18:26 2011] [error] [client 178.33.202.187] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind
[Sun Apr 03 13:58:46 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/phpmyadmin
[Sun Apr 03 13:58:46 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/phpmyadmin0
[Sun Apr 03 13:58:47 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/phpmyadmin1
[Sun Apr 03 13:58:47 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/phpMyAdmin
[Sun Apr 03 13:58:47 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/phpmyadmin2
[Sun Apr 03 13:58:48 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/mysql
[Sun Apr 03 13:58:48 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/sql
[Sun Apr 03 13:58:48 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/php
[Sun Apr 03 13:58:48 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/help
[Sun Apr 03 13:58:49 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/utilities
[Sun Apr 03 13:58:49 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/cms
[Sun Apr 03 13:58:49 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/mysql
[Sun Apr 03 13:58:49 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/xampp
[Sun Apr 03 13:58:50 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/typo3
[Sun Apr 03 13:58:50 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/phpmyadmin-old
[Sun Apr 03 13:58:50 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/pma-old
[Sun Apr 03 13:58:57 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/catalog
[Sun Apr 03 13:58:57 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/shop
[Sun Apr 03 13:59:00 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/phpadmin
[Sun Apr 03 13:59:01 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/myadmin
[Sun Apr 03 13:59:01 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/mysqlAdmin
[Sun Apr 03 13:59:01 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/mysqladmin
[Sun Apr 03 13:59:01 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/admin/server_export.php
[Sun Apr 03 13:59:02 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/admin/pma
[Sun Apr 03 13:59:02 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/admin/phpmyadmin
[Sun Apr 03 13:59:02 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/dbadmin
[Sun Apr 03 13:59:02 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/db
[Sun Apr 03 13:59:03 2011] [error] [client 74.52.158.98] File does not exist: /var/www/ispcp/gui/database
Hier ein Auszug von dem VHOST DUMP:
Quote:xxx.xxx.xxx.xxx:443 is a NameVirtualHost
default server xxx.xxx.xxx (/etc/apache2/sites-enabled/02_ssl_xxx.conf:117)
port 443 namevhost xxx.xxx.xxx (/etc/apache2/sites-enabled/02_ssl_xxx.conf:117)
port 443 namevhost xxx.xxx.xxx (/etc/apache2/sites-enabled/02_ssl_xxx.conf:218)
port 443 namevhost xxx.xxx.xxx (/etc/apache2/sites-enabled/02_ssl_xxx.conf:305)
port 443 namevhost xxx.xxx.xxx (/etc/apache2/sites-enabled/02_ssl_xxx.conf:392)
port 443 namevhost xxx.xxx.xxx (/etc/apache2/sites-enabled/02_ssl_xxx.conf:479)
port 443 namevhost xxx.aaa.xxx (/etc/apache2/sites-enabled/ispcp.conf:184)
port 443 namevhost xxx.aaa.xxx (/etc/apache2/sites-enabled/ispcp.conf:374)
Syntax OK
Kleine Erläuterung. Die letzten beiden haben aaa als Domain, da diese eine andere Domain haben und ein anderes Zertifikat
Und hier die vHost der ispcp.conf für diese Domain bzw. Subdomain.
Als erster die Weiterleitung von Port 80 auf 443:
Quote:<VirtualHost xxx.xxx.xxx.xxx:80>
ServerAdmin xxx@xxx.de
DocumentRoot /var/www/virtual/aaa.de/xxx/htdocs
ServerName xxx.aaa.de
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://xxx.aaa.de$1 [R,L]
ErrorLog /var/log/apache2/users/xxx.aaa.de-error.log
TransferLog /var/log/apache2/users/xxx.aaa.de-access.log
CustomLog /var/log/apache2/xxx.aaa.de-traf.log traff
CustomLog /var/log/apache2/xxx.aaa.de-combined.log combined
</VirtualHost>
# httpd [xxx.aaa.de] sub entry BEGIN.
<VirtualHost xxx.xxx.xxx.xxx:443>
#
#User xxx
#Group xxx
#
<IfModule suexec_module>
SuexecUserGroup xxx xxx
</IfModule>
#
# GnuTLS Start
#
GnuTLSEnable on
GnuTLSPriorities SECURE:!MD5
GnuTLSCertificateFile /etc/apache2/ssl-aaa/aaa-gnutls.crt
GnuTLSKeyFile /etc/apache2/ssl-aaa/aaa.key
#
# GnuTLS End
#
ServerAdmin xxx@xxx.de
DocumentRoot /var/www/virtual/xxx.de/aaa/htdocs
ServerName xxx.aaa.de
ServerAlias http://www.xxx.aaa.de xxx.aaa.de
Alias /errors /var/www/virtual/aaa.de/errors/
RedirectMatch permanent ^/ftp[\/]?$ http://xxx.xxx.xx/ftp/
RedirectMatch permanent ^/pma[\/]?$ http://xxx.xxx.xx/pma/
RedirectMatch permanent ^/webmail[\/]?$ http://xxx.xxx.xx/webmail/
RedirectMatch permanent ^/ispcp[\/]?$ http://xxx.xxx.xx.net/
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
<IfModule mod_cband.c>
CBandUser aaa.de
</IfModule>
# httpd sub entry cgi support BEGIN.
# httpd sub entry cgi support END.
<Directory /var/www/virtual/aaa.de/xxx/htdocs>
# httpd sub entry PHP support BEGIN.
# httpd sub entry PHP support END.
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# httpd sub entry PHP2 support BEGIN.
<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/virtual/aaa.de/xxx/:/var/www/virtual/aaa.de/xxx/phptmp/:/usr/share/php/"
php_admin_value upload_tmp_dir "/var/www/virtual/aaa.de/xxx/phptmp/"
php_admin_value session.save_path "/var/www/virtual/aaa.de/xxx/phptmp/"
php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2021 -t -i'
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/aaa.de/
<Directory "/var/www/fcgi/aaa.de">
AllowOverride None
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fcgid.c>
<Directory /var/www/virtual/aaa.de/xxx/htdocs>
FCGIWrapper /var/www/fcgi/aaa.de/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/aaa.de">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
# httpd sub entry PHP2 support END.
Include /etc/apache2/ispcp/xxx.aaa.de.conf
</VirtualHost>
# httpd [xxx.aaa.de] sub entry END.
Ich hoff ich hab nix vergessen und ihr könnt so was anfangen.
Und vielen vielen Dank vorab schonmal
MfG
5ky