Avviato nuovo sistema statistiche

This commit is contained in:
2022-08-30 17:22:08 +02:00
parent 531b780645
commit a09bd0bca5
22 changed files with 704 additions and 169 deletions
+14 -9
View File
@@ -9,17 +9,22 @@
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}.php -f
RewriteRule "^(.*)$" "$1.php" [NC,L,QSA]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d
RewriteRule ^ - [L]
RewriteRule "^(api/.*)$" "api/index.php" [NC,L,QSA]
RewriteRule "sitemap.xml" "sitemap.php" [L,QSA]
RewriteRule "^(.*)articolo_(.*)$" "$1articolo.php?id=$2" [QSA]
RewriteRule "^art_(.*).html$" "articolo.php?short=$1" [QSA]
RewriteRule "^mobile/art_(.*).html$" "mobile/articolo.php?short=$1" [QSA]
RewriteRule "^(.*)categorySummary_(.*)$" "$1categorySummary.php?category=$2" [QSA]
RewriteRule "^(.*)dynImg/(.*)/(.*)$" "$1getImage.php?id=$3&size=$2" [QSA]
RewriteRule "giornale/all/.*" "oldArticleRedirect.php" [L,QSA]
RewriteRule "Giornale/all/.*" "oldArticleRedirect.php" [L,QSA]
</Directory>
<IfModule xsendfile_module>
XSendFile on
XSendFilePath "/tmp/xsend"
</IfModule>
</VirtualHost>