mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2025-12-23 21:47:44 -05:00
Déplacement de ./actualize_script.php sous ./app/
Pour une meilleure protection par défaut
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
* Déplacement de “./public/data/Configuration.array.php” vers “./data/*_user.php”
|
||||
* Déplacement de “./public/index.php” vers “./p/i/index.php” (voir cookie ci-dessous)
|
||||
* Déplacement de “./public/” vers “./p/”
|
||||
* Déplacement de “./actualize_script.php” vers “./app/actualize_script.php”
|
||||
* Divers :
|
||||
* Nouvelle politique de cookie de session (témoin de connexion)
|
||||
* Utilise un nom poli “FreshRSS”
|
||||
|
||||
@@ -45,7 +45,7 @@ Il est recommandé de limiter l’accès à votre FreshRSS, soit :
|
||||
# Rafraîchissement automatique des flux
|
||||
* Vous pouvez ajouter une tâche CRON sur le script d’actualisation des flux. Par exemple, pour exécuter le script toutes les heures :
|
||||
```
|
||||
7 * * * * php /chemin/vers/freshrss/actualize_script.php >/dev/null 2>&1
|
||||
7 * * * * php /chemin/vers/FreshRSS/app/actualize_script.php >/dev/null 2>&1
|
||||
```
|
||||
|
||||
# Conseils
|
||||
|
||||
3
app/.htaccess
Normal file
3
app/.htaccess
Normal file
@@ -0,0 +1,3 @@
|
||||
Order Allow,Deny
|
||||
Deny from all
|
||||
Satisfy all
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require('constants.php');
|
||||
require(dirname(__FILE__) . '/../constants.php');
|
||||
|
||||
$_GET['c'] = 'feed';
|
||||
$_GET['a'] = 'actualize';
|
||||
13
app/index.html
Normal file
13
app/index.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-GB" lang="en-GB">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="Refresh" content="0; url=/" />
|
||||
<title>Redirection</title>
|
||||
<meta name="robots" content="noindex" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><a href="/">Redirection</a></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="Refresh" content="0; url=/" />
|
||||
<title>Redirection</title>
|
||||
<meta name="robots" content="noindex,follow" />
|
||||
<meta name="robots" content="noindex" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="Refresh" content="0; url=p/i/" />
|
||||
<title>Redirection</title>
|
||||
<meta name="robots" content="noindex" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
3
lib/.htaccess
Normal file
3
lib/.htaccess
Normal file
@@ -0,0 +1,3 @@
|
||||
Order Allow,Deny
|
||||
Deny from all
|
||||
Satisfy all
|
||||
Reference in New Issue
Block a user