PDA

View Full Version : phpmyadmin and webmail


jcombs_31
21st January 2009, 00:53
I now have everything running with ispconfig3 RC1 and all is well, almost.

Let's call my domain for the server "mydomain.com".

I was able to access phpmyadmin via mydomain.com/phpmyadmin and the same for webmail (squirrelmail).

But I now created a site for mydomain.com so if you now try to visit mydomain.com/phpmyadmin I get the 404 because obviously phpmyadmin is not in that directory tree.

Do I have to move phpmyadmin into that directory if I want to access the same way or do I have to create a new site for it?

till
21st January 2009, 07:12
You can create a symlink for phpmyadmin in the side, or you access it by IP address.

jcombs_31
22nd January 2009, 00:15
When I use a symbolic link I get an internal server error when I try to access it.

till
22nd January 2009, 11:14
Please post the exact error message that you get in the error log file.

jcombs_31
23rd January 2009, 01:38
I checked the log in /var/log/ispconfing/httpd/mysite

and found errors about the .htaccess file

.htaccess: Options not allowed here

Also, when I restart apache I get this error



Forcing reload of web server (apache2)...[Thu Jan 22 18:45:17 2009] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Thu Jan 22 18:45:17 2009] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
waiting [Thu Jan 22 18:45:19 2009] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Thu Jan 22 18:45:19 2009] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
.

falko
23rd January 2009, 15:24
I checked the log in /var/log/ispconfing/httpd/mysite

and found errors about the .htaccess file

.htaccess: Options not allowed hereAdd something like
<Directory /path/to/documentroot>
AllowOverride All
</Directory> to the Apache Directives field in ISPConfig.

Also, when I restart apache I get this errorThis has been fixed in SVN already.

jcombs_31
23rd January 2009, 19:16
Add something like
<Directory /path/to/documentroot>
AllowOverride All
</Directory> to the Apache Directives field in ISPConfig.

This has been fixed in SVN already.

Thanks for the AllowOverride, that fixed the phpmyadmin problems. I updated my trunk from svn and ran the update but I still get the apache error if I restart the service.

till
24th January 2009, 11:01
Which Linux distribution do you use?

jcombs_31
24th January 2009, 17:47
Debian Etch

falko
25th January 2009, 20:45
I think you have to update your sites in ISPConfig so that the vhost configuration gets rewritten.

jcombs_31
25th January 2009, 23:57
I think you have to update your sites in ISPConfig so that the vhost configuration gets rewritten.

When you say "update", what exactly am I supposed to do that updates them?

till
26th January 2009, 11:35
Open the settings of a website, change a value like e.g. quota and click on save.

jcombs_31
27th January 2009, 00:50
That didn't fix it. I still get the error. Apache is working, but clearly there is a config problem.

till
27th January 2009, 11:47
This error?

VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results

If yes, thats uncritical. You can either ignore it or change the apache default vhost from debian / ubuntu to listen to *:80 and not just *