Welcome! Log In Create A New Profile

Advanced

Re: Configuring phpmyadmin

May 24, 2011 07:16PM
Post your /etc/nginx/sites-enabled/ files and also, keeping phpmyadmin
on a public directory is bad since bots / scripts automatically scan
for that in URLs. Restrict it with .htaccess if you want to keep
phpmyadmin as the directory name or change it to something like
"fuzzykittens" to hide it.

On 5/24/11, Trazzt <nginx-forum@nginx.us> wrote:
> Hi,
>
> I recently installed Debian 6.0.1a Squeeze with Nginx and phpmyadmin
> When I go to 'http://localhost' phpmyadmin pops up.
> What I want is that phpmyadmin is located at
> 'http://localhost/phpmyadmin/'
>
> I already tried to add this in nginx.conf. It didn't work
>
> location /phpmyadmin {
> alias /usr/share/phpmyadmin/;
> }
>
> This is what my nginx.conf looks like:
>
> _____________________________________
> user www-data;
> worker_processes 1;
>
> error_log /var/log/nginx/error.log;
> pid /var/run/nginx.pid;
>
> events {
> worker_connections 1024;
> # multi_accept on;
> }
>
> http {
> include /etc/nginx/mime.types;
>
> access_log /var/log/nginx/access.log;
>
> sendfile on;
> #tcp_nopush on;
>
> #keepalive_timeout 0;
> keepalive_timeout 65;
> tcp_nodelay on;
>
> gzip on;
> gzip_disable "MSIE [1-6]\.(?!.*SV1)";
>
> include /etc/nginx/conf.d/*.conf;
> include /etc/nginx/sites-enabled/*;
> }
> _____________________________________
>
> Can anybody help me configuring this the right way?
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,200488,200488#msg-200488
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>


--
--C

"The dumber people think you are, the more surprised they're going to
be when you kill them." - Sir William Clayton

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Configuring phpmyadmin

Trazzt May 24, 2011 03:25PM

Re: Configuring phpmyadmin

fbhosted May 24, 2011 07:16PM

Re: Configuring phpmyadmin

Trazzt May 25, 2011 05:41AM

Re: Configuring phpmyadmin

Igor Sysoev May 25, 2011 05:46AM

Re: Configuring phpmyadmin

Trazzt May 25, 2011 06:13AM

Re: Configuring phpmyadmin

Igor Sysoev May 25, 2011 06:26AM

Re: Configuring phpmyadmin

Trazzt May 25, 2011 07:58AM

Re: Configuring phpmyadmin

Dick Middleton May 25, 2011 08:06AM

Re: Configuring phpmyadmin

Igor Sysoev May 25, 2011 08:50AM

Re: Configuring phpmyadmin

Igor Sysoev May 25, 2011 08:52AM

Re: Configuring phpmyadmin

Trazzt May 25, 2011 09:07AM

Re: Configuring phpmyadmin

Igor Sysoev May 25, 2011 09:18AM

Re: Configuring phpmyadmin

Trazzt May 25, 2011 09:34AM

Re: Configuring phpmyadmin

Igor Sysoev May 25, 2011 09:38AM

Re: Configuring phpmyadmin

Dick Middleton May 25, 2011 09:58AM

Re: Configuring phpmyadmin

Igor Sysoev May 25, 2011 10:02AM

Re: Configuring phpmyadmin

Trazzt May 25, 2011 10:38AM

Re: Configuring phpmyadmin

Igor Sysoev May 25, 2011 10:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 125
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready