[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: phpmyadmin install (noob)



Sorry I had to forward this to my work and have probably lost threading!

----- Original Message ----- From: "Jon Dowland" <jon-dowland@ncl.ac.uk>
To: <debian-user@lists.debian.org>
Sent: Friday, April 22, 2005 3:56 AM
Subject: Re: phpmyadmin install (noob)


John Fleming wrote:

I made a symlink from /usr/share/phpmyadmin to
/home/mydefaultvirtualhost/www, but I still
can't browse www.mydomain.com/phpmyadmin. Privileges are OK. The error is
the generic Apache "Internal Server Error" Any ideas? Tnx! - John

Do you have Options FollowSymLinks for the relevant virtual host? What does the error_log contain for the request which generated the 500 error? Can you provide the output of ls -l for the symlink in /home/mydefaultvirtualhost/www ?

I didn't have Options FollowSymLinks for /home/mydefaultvirtualhost/www, but I did have it for /var/www. I added that option for /home/mydefaultvirtualhost/www, but I get the same error page.

Here's the link info:

$ ls -l phpmyadmin
2005-04-22 10:51:25.701 lrwxrwxrwx 1 root root 21 Apr 21 21:33 phpmyadmin -> /usr/share/phpmyadmin
2005-04-22 10:51:25.873
I was actually in the dir /home/defaultvirtualhost/www when I ran the above, so it looks OK to me.

OK, here's the Apache error:

[Fri Apr 22 10:31:45 2005] [notice] Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-10 mod_ssl/2.8.22 OpenSSL/0.9.7d configured -- resuming normal operations
[Fri Apr 22 10:31:45 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Fri Apr 22 10:31:50 2005] [alert] [client 66.209.225.25] /home/wa9als/www/phpmyadmin/.htaccess: DirectoryIndex not allowed here

The file .htaccess file contains near the top:

DirectoryIndex index.php
Options +FollowSymLinks

Since it didn't like the DirectoryIndex here, I removed it, restarted Apache, but I still get the same web error! Now it doesn't like Options:

[Fri Apr 22 10:53:35 2005] [notice] Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-10 mod_ssl/2.8.22 OpenSSL/0.9.7d configured -- resuming normal operations
[Fri Apr 22 10:53:35 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Fri Apr 22 10:53:41 2005] [alert] [client 66.209.225.25] /home/wa9als/www/phpmyadmin/.htaccess: Options not allowed here [Fri Apr 22 10:53:43 2005] [alert] [client 66.209.225.25] /home/wa9als/www/phpmyadmin/.htaccess: Options not allowed here [Fri Apr 22 10:53:44 2005] [alert] [client 66.209.225.25] /home/wa9als/www/phpmyadmin/.htaccess: Options not allowed here [Fri Apr 22 10:54:09 2005] [alert] [client 66.209.225.25] /home/wa9als/www/phpmyadmin/.htaccess: Options not allowed here

So I removed both the DirectoryIndex and Options lines, and now Apache restarts without error:

[Fri Apr 22 10:58:08 2005] [notice] SIGHUP received. Attempting to restart
[Fri Apr 22 10:58:08 2005] [notice] Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-10 mod_ssl/2.8.22 OpenSSL/0.9.7d configured -- resuming normal operations

*BUT, I still get the same error page when I browse www.mydomain/phpmyadmin.

Other comments? THANKS! - John



Reply to: