Mit der installation von subdomänen habe ich neuerdings ein problem mit phpLDAPAdmin. Wenn ich ldap.mydomain.tld anpeile sehe ich statt der webseite den verzeichnis-inhalt:
- Code: Select all
Index of /
[ICO] Name Last modified Size Description
[ ] apache.conf 18-Jan-2009 14:18 1.1K
[ ] config.php 17-Jan-2009 09:45 23K
[ ] config.php.backup 09-Sep-2008 15:50 23K
[DIR] templates/ 29-Dec-2008 10:17 -
Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.4 with Suhosin-Patch proxy_html/3.0.0 Server at ldap.mydomain.tld Port 80
httpd.conf sieht so aus:
- Code: Select all
ServerName www.mydomain.tld
DocumentRoot /var/www/typo3
<VirtualHost * >
DocumentRoot /var/www/typo3
ServerName www.mydomain.tld
</VirtualHost>
<VirtualHost * >
DocumentRoot /var/www/phpldapadmin
ServerName ldap.mydomain.tld
</VirtualHost>
Der link im /var/www verzeichnis zeigt auf /etc/phpldapadmin (das verzeichnis das man im browser sieht).
Dort sieht das apache.conf so aus:
- Code: Select all
# Define /phpldapadmin alias, this is the default
<IfModule mod_alias.c>
Alias /phpldapadmin /usr/share/phpldapadmin/htdocs
</IfModule>
# You can also use phpLDAPadmin as a VirtualHost
<VirtualHost *:*>
ServerName ldap.mydomain.tld
DocumentRoot /usr/share/phpldapadmin
# ErrorLog logs/ldap.example.com-error.log
# CustomLog logs/ldap.example.com-access.log common
</VirtualHost>
<Directory /usr/share/phpldapadmin/htdocs/>
DirectoryIndex index.php
Options +FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
<IfModule mod_mime.c>
<IfModule mod_php4.c>
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals On
php_value include_path .
</IfModule>
<IfModule !mod_php4.c>
<IfModule mod_actions.c>
<IfModule mod_cgi.c>
AddType application/x-httpd-php .php
Action application/x-httpd-php /cgi-bin/php4
</IfModule>
</Directory>
Kann mir jemand helfen?