doc:syno_tools

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
doc:syno_tools [2022/06/20 11:51] admindoc:syno_tools [2023/11/01 10:44] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
 +<php>  if ($_SERVER['PHP_AUTH_USER'] != 'jeff' && $_SERVER['PHP_AUTH_USER'] != 'marina' && 
 +           $_SERVER['PHP_AUTH_USER'] != 'jflemay@hotmail.com' && $_SERVER['PHP_AUTH_USER'] != 'marina.lemay@hotmail.com'
 +    die('no rights to read this page'); }  </php>
 +
 ===== Synology ===== ===== Synology =====
  
Ligne 31: Ligne 35:
  
 <sxh  title: /opt/etc/apache2/apache2.conf> <sxh  title: /opt/etc/apache2/apache2.conf>
 +    # this file is located /opt/etc/apache2/apache2.conf
 +    #
     # jeff  php-cgi  ### trick to send php to /opt/bin/php-cgi     # jeff  php-cgi  ### trick to send php to /opt/bin/php-cgi
     # from https://openwrt.org/docs/guide-user/services/webserver/http.apache     # from https://openwrt.org/docs/guide-user/services/webserver/http.apache
Ligne 49: Ligne 55:
  
 <sxh  title: /opt/etc/php.ini> <sxh  title: /opt/etc/php.ini>
-; jeff php-cgi ---- commented doc_root = "/opt/share/www" +; this file is located /opt/etc/php.ini 
-line_endings = Off +;  
- +; jeff php-cgi ---- comment or reset doc_root = "/opt/share/www" 
-jeff php-cgi +#doc_root "/opt/share/www" 
-force_cgi_redirect 0 +doc_root "" 
-cgi.force_redirect 0 +;
-/jeff +
 </sxh> </sxh>
  
  • doc/syno_tools.1655718665.txt
  • Dernière modification : 2022/06/20 11:51
  • de admin