Ok i followed
this tutorial.
I followed most of it exactly but my document roots are in /home/[username]/public_html
Everything worked fine until i try to go to phpmyadmin via domain.com/phpmyadmin, which then shows whats in pic1.png. If i do domain.com/phpmyadmin/index.php it works fine.
the vhosts file looks like so:
<VirtualHost 192.168.0.60:80>
ServerName domain.com
ServerAlias
www.domain.com
ServerAdmin
admin@domain.com
DocumentRoot /home/adhocrac/public_html/
<IfModule mod_fcgid.c>
SuexecUserGroup adhocrac adhocrac
PHP_Fix_Pathinfo_Enable 1
<Directory /home/adhocrac/public_html/>
Options +ExecCGI
AllowOverride All
AddHandler fcgid-script .php
FCGIWrapper /var/www/fcgi/adhocrac/fcgi-starter .php
Order allow,deny
Allow from all
</Directory>
</IfModule>
# ErrorLog /var/log/apache2/error.log
# CustomLog /var/log/apache2/access.log combined
ServerSignature Off
Alias /explorer /home/adhocrac/explorer
<IfModule mod_fcgid.c>
SuexecUserGroup adhocrac adhocrac
PHP_Fix_Pathinfo_Enable 1
<Directory /home/adhocrac/explorer>
Options +ExecCGI
AllowOverride All
AddHandler fcgid-script .php
FCGIWrapper /var/www/fcgi/adhocrac/fcgi-starter .php
Order allow,deny
Allow from all
</Directory>
</IfModule>
</VirtualHost>
The hostname of the server is host.foo.com and if i go to host.foo.com/phpmyadmin, it works fine. The vhosts file for host.foo.com looks like:
<VirtualHost 192.168.0.60:80>
ServerName host.foo.com
ServerAdmin
admin@foo.com
DocumentRoot /home/rackelas/public_html/
<IfModule mod_fcgid.c>
SuexecUserGroup rackelas rackelas
PHP_Fix_Pathinfo_Enable 1
<Directory /home/rackelas/public_html/>
Options +ExecCGI
AllowOverride All
AddHandler fcgid-script .php
FCGIWrapper /var/www/fcgi/rackelas/fcgi-starter .php
Order allow,deny
Allow from all
</Directory>
</IfModule>
# ErrorLog /var/log/apache2/error.log
# CustomLog /var/log/apache2/access.log combined
ServerSignature Off
</VirtualHost>
I can't figure out why this is happening, any help is appreciated.