<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><P>Hi, phpmyadmin is installed in /usr/share/phpmyadmin and i have the following vhost configuration file. How to configure phpmyadmin so i can use: http://mydomain.com/phpmyadmin</P><P></P><P>Thank you</P><P></P><P>server {<BR>            listen   80;<BR>            server_name  www.mydomain.com;<BR>          <BR>                 #redirect www to non-www<BR>            rewrite ^/(.*) http://mydomain.com/$1 permanent;<BR>            <BR>          <BR>       }<BR><BR><BR>server {<BR>                 listen   80;<BR>                 server_name mydomain.com;<BR>            access_log /home/mydomain/log/access.log;<BR>            error_log /home/mydomain/log/error.log;<BR>          <BR>          <BR>          <BR>            location /  {<BR>                         root   /home/mydomain/public_html/;<BR>                         index  index.php index.html;      <BR>                         expires 30d;<BR>                                  <BR>                         #stop image and files hotlinking<BR>                         location ~*
 ^.+\.(gif|jpg|png|swf|flv|rar|zip|jpeg|css)$ {<BR>                         valid_referers none blocked mydomain.com www.mydomain.com *.google.com *.yahoo.com;<BR>                         if ($invalid_referer) {<BR>                         return 444;<BR>                         }<BR>                         }<BR>                                  <BR>                         #joomla sef url's<BR>                         if (!-e $request_filename) {<BR>                                 rewrite  ^(.*)$  /index.php?q=$1  last;<BR>                                 break;<BR>                                                         }<BR>                                 }<BR>                                  <BR>                         if ( $args ~ "mosConfig_[a-zA-Z_]{1,21}(=|\%3d)" ) {<BR>                         set $args "";<BR>                         rewrite ^.*$ http://$host/index.php last;<BR>                         return 403;<BR>                         }<BR><BR>                         if ( $args ~ "base64_encode.*\(.*\)" ) {<BR>                         set $args "";<BR>                         rewrite ^.*$ http://$host/index.php last;<BR>                         return 403;<BR>                         }<BR><BR>                         if ( $args ~ "(\&lt;|%3C).*script.*(\&gt;|%3E)" ) {<BR>                         set $args "";<BR>                         rewrite ^.*$ http://$host/index.php last;<BR>                         return 403;<BR>                         }<BR>          <BR>                         if ( $args ~ "GLOBALS(=|\[|\%[0-9A-Z]{0,2})" ) {<BR>                         set $args "";<BR>                 
        rewrite ^.*$ http://$host/index.php last;<BR>                         return 403;<BR>                         }<BR><BR>                         if ( $args ~ "_REQUEST(=|\[|\%[0-9A-Z]{0,2})" ) {<BR>                         set $args "";<BR>                         rewrite ^.*$ http://$host/index.php last;<BR>                         return 403;<BR>                         }<BR>                     <BR>                  <BR>          <BR>            # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000<BR>            location ~ \.php$ <BR>                                    {<BR>            fastcgi_pass 127.0.0.1:9000;<BR>            fastcgi_index index.php;<BR>            include /usr/local/nginx/conf/fastcgi_params;<BR>            fastcgi_param SCRIPT_FILENAME /home/mydomain/public_html/$fastcgi_script_name;<BR>                        }<BR>       <BR><BR>                 ## All other errors get the generic error page<BR>                 error_page 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417<BR>                 500 501 502 503 504 505 /error_page.html;<BR>                 location  $document_root/error_page.html {<BR>         
        internal;<BR>           <BR>          }<BR>          <BR>          }<BR><BR><BR></P></td></tr></table><br>