Jag har apache2 och 2 sajter vitruellt igång. för att åstadkomma det måste man väl dissable sajten default men då kan jag ej komma åt phpmyadmin webbgränssnitt.
jag måste missat nån rad i den virtuella filen:
Code: Select all
<VirtualHost *>
ServerAdmin peman@domain.nu
ServerName www.domain.nu
ServerAlias www.domain.nu
# Indexes + Directory Root.
DirectoryIndex index.php
DocumentRoot /var/www/www.domain.nu/htdocs/
# CGI Directory
ScriptAlias /cgi-bin/ /var/www/www.domain.nu/cgi-bin/
<Location /cgi-bin>
Options +ExecCGI
</Location>
# Logfiles
ErrorLog /var/www/www.domain.nu/logs/error.log
CustomLog /var/www/www.domain.nu/logs/access.log combined
</VirtualHost>