|
|
|
@ -19,6 +19,20 @@ I'd better like you to help me to improve [bot's Arena](https://botsarena.tinad.
|
|
|
|
|
* Apache/tomcat document root starts at ./html
|
|
|
|
|
* copy src/config.php.empty to src/config.php
|
|
|
|
|
|
|
|
|
|
Apache RewriteRules are given on the file html/.htaccess
|
|
|
|
|
|
|
|
|
|
For nginx in server directive:
|
|
|
|
|
|
|
|
|
|
rewrite '^/([a-zA-Z]{1,})/doc-([a-z]{2})$' /index.php?doc=$1&lang=$2 last;
|
|
|
|
|
rewrite '^/p/([a-zA-Z]{1,})/(.*)-([a-z]{2})$' /index.php?page=$1¶ms=$2&lang=$3 last;
|
|
|
|
|
rewrite '^/p/([a-zA-Z]{1,})/(.*)$' /index.php?page=$1¶ms=$2 last;
|
|
|
|
|
rewrite '^/p/(.*)-([a-z]{2})$' /index.php?page=$1&lang=$2 last;
|
|
|
|
|
rewrite '^/p/(.*)$' index.php?page=$1 last;
|
|
|
|
|
rewrite '^/([a-zA-Z]{1,})/scores$' /index.php?scores=$1 last;
|
|
|
|
|
rewrite '^/([a-zA-Z]{1,})-([a-z]{2})$' /index.php?arena=$1&lang=$2 last;
|
|
|
|
|
rewrite '^/([a-zA-Z]{1,})/doc$' /index.php?doc=$1 last;
|
|
|
|
|
rewrite '^/([a-zA-Z]{1,})$' /index.php?arena=$1 last;
|
|
|
|
|
|
|
|
|
|
# License
|
|
|
|
|
Bot's Arena , Website for Artificials intelligences duels.
|
|
|
|
|
|
|
|
|
|