nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

phpmyadmin - warning problem

This is a discussion on phpmyadmin - warning problem within the Web servers forums, part of the Mastering Servers category; Hi folks, Ubuntu 8.04 Apache2 phymyadmin On running; # apache2ctl -t Code: [Sat Apr 25 07:57:02 2009] [warn] The Alias ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 25-04-2009, 02:06 PM
Senior Member
User
 
Join Date: Sep 2007
OS: Debian
Posts: 112
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 3
satimis is on a distinguished road
Default phpmyadmin - warning problem

Hi folks,


Ubuntu 8.04
Apache2
phymyadmin


On running;

# apache2ctl -t
Code:
[Sat Apr 25 07:57:02 2009] [warn] The Alias directive in /etc/apache2/sites-enabled/400-phpmyadmin at line 3 will probably never match because it overlaps an earlier Alias.
Syntax OK
and

# /etc/init.d/apache2 reload
Code:
 * Reloading web server config apache2                                                 [Sat Apr 25 07:57:11 2009] [warn] The Alias directive in /etc/apache2/sites-enabled/400-phpmyadmin at line 3 will probably never match because it overlaps an earlier Alias.
                                                                                [ OK ]
A warning popup.


# cat /etc/apache2/sites-enabled/400-phpmyadmin
Code:
# phpMyAdmin default Apache configuration

Alias /phpmyadmin /usr/share/phpmyadmin

<Directory /usr/share/phpmyadmin>
        Options Indexes FollowSymLinks
        DirectoryIndex index.php

        # Authorize for setup
        <Files setup.php>
            # For Apache 1.3 and 2.0
            <IfModule mod_auth.c>
                AuthType Basic
                AuthName "phpMyAdmin Setup"
                AuthUserFile /etc/phpmyadmin/htpasswd.setup
            </IfModule>
            # For Apache 2.2
            <IfModule mod_authn_file.c>
                AuthType Basic
                AuthName "phpMyAdmin Setup"
                AuthUserFile /etc/phpmyadmin/htpasswd.setup
            </IfModule>
            Require valid-user
        </Files>
        <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 Off
                php_value include_path .
        </IfModule>
        <IfModule mod_php5.c>
                AddType application/x-httpd-php .php

                php_flag magic_quotes_gpc Off
                php_flag track_vars On
                php_flag register_globals Off
                php_value include_path .
        </IfModule>
</Directory>
However it doesn't affect running phymyadmin. On the web browser of a remote machine;

http://domain.com/phpmyadmin

can start the login page and login.


Please advise where shall I check? How to fix the warning? TIA


B.R.
satimis
Reply With Quote
  #2 (permalink)  
Old 12-06-2009, 12:37 PM
Junior Member
User
 
Join Date: Jun 2009
OS: Debian
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Ramanathan is on a distinguished road
Default With debian5, php5 and mysql5

hi, with debian 5 I got this error when I inculde the directive for phpmyadmin in apache2.conf.

I removed the directive because It is already enabled in the configuration file.

Now for me, the phpmyadmin works well

Ram
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
PHPMyAdmin Problems JoeDively Coding in General 0 21-09-2007 09:30 PM
phpmyadmin question paul555 Databases servers 2 13-07-2007 08:27 AM
PhpmyAdmin-Can browse/search some tables, but not others blinton25 Databases servers 1 08-06-2007 11:28 PM
Fix sprintf warning Rick Coding in General 4 03-07-2006 12:00 AM
gtk warning cannot open display gnome Linux software 1 14-03-2006 12:50 PM


All times are GMT +5.5. The time now is 01:14 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38