Re: Centos 5.3 -> Apache - Under Attack ? Oh hell....

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



> when i run httpd -S i get these errors...>>> [Sat Jun 13 15:14:09 2009] [warn] The Alias directive in /etc/httpd/conf.d/phpmyadmin.conf at line 11 will probably never match because it overlaps an earlier Alias.> [Sat Jun 13 15:14:09 2009] [warn] The Alias directive in /etc/httpd/conf.d/phpmyadmin.conf at line 12 will probably never match because it overlaps an earlier Alias.>> the contents of /etc/httpd/conf.d/phpmyadmin.conf  are;>> #  Web application to manage MySQL> #>> <Directory "/usr/share/phpmyadmin">>  Order Deny,Allow>  Deny from all>  Allow from 127.0.0.1> </Directory>>> Alias /phpmyadmin /usr/share/phpmyadmin  <--- 1> Alias /phpMyAdmin /usr/share/phpmyadmin  < --- 2 is this normal ???> Alias /mysqladmin /usr/share/phpmyadmin>> Is it normal to have these lines?
Depending on your setup, yes it can be. The "Alias" directives arethere so that when you type in "http://www.mysite.com/phpmyadmin"Apache will redirect the request to "/usr/share/phpmyadmin".
What this does is allow you to keep scripts outside of a website'sdirectory structure. I use them with PHPMyAdmin to primarily preventtampering by my various users but it also makes it easier toupdate/patch the app(s) when needed.

-- Drew
"Nothing in life is to be feared. It is only to be understood."--Marie Curie_______________________________________________CentOS mailing listCentOS@xxxxxxxxxxxxxx://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux