/admin/sql is now /sql + transform /admin into a R=301 redirect
This commit is contained in:
parent
582f3762f9
commit
29d38f167c
|
@ -2,9 +2,9 @@
|
||||||
DocumentRoot /var/alternc/bureau/admin
|
DocumentRoot /var/alternc/bureau/admin
|
||||||
ServerName %%fqdn%%
|
ServerName %%fqdn%%
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
RewriteRule ^/admin/(.*) /$1
|
RewriteRule ^/admin/(.*) /$1 [R=301,L]
|
||||||
|
|
||||||
alias /admin/sql /usr/share/phpmyadmin
|
alias /sql /usr/share/phpmyadmin
|
||||||
alias /webmail /usr/share/squirrelmail
|
alias /webmail /usr/share/squirrelmail
|
||||||
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
Loading…
Reference in New Issue