Changes between Initial Version and Version 1 of Ticket #135, comment 3


Ignore:
Timestamp:
03/30/12 07:39:30 (12 years ago)
Author:
Bruno Macadré

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #135, comment 3

    initial v1  
    22
    33If I replace this part of my conf :
    4 ''location ~ /phpmyadmin/ {''
    5   ''try_files $uri $uri/ $uri/index.php =404;''
    64
    7   ''alias /srv/www/phpMyAdmin/;''
    8   ''index index.php;''
    9 ''}''
     5{{{
     6location ~ /phpmyadmin/ {
     7  try_files $uri $uri/ $uri/index.php =404;
     8
     9  alias /srv/www/phpMyAdmin/;
     10  index index.php;
     11}
     12
     13}}}
    1014
    1115By :
    12 ''location ~ /phpmyadmin(/.*)?$ {''
    13   ''if (!-f /srv/www/phpMyAdmin$1) {''
    14     ''rewrite ^ 404;''
    15   ''}''
    1616
    17   ''alias /srv/phpMyAdmin$1;''
    18   ''index index.php;''
    19 ''}''
     17{{{
     18location ~ /phpmyadmin(/.*)?$ {
     19  if (!-f /srv/www/phpMyAdmin$1) {
     20    rewrite ^ 404;
     21  }
     22
     23  alias /srv/phpMyAdmin$1;
     24  index index.php;
     25}
     26
     27}}}
    2028
    2129All work nice (but it is not normal that the first conf bugs) !!