spirit posteets tagged htaccess  [ Profile ]

Sort by: Date / Title /

  1. 9 years ago
    1. # htpasswd file is relative to nginx conf
    2. location  /  {
    3.   auth_basic            "Restricted";
    4.   auth_basic_user_file  conf/htpasswd;
    5. }
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2061"></script>
  2. 9 years ago
    it's also possibl with a .htaccess file and "deny from all " in that file
    1. if (isset($_SERVER['REMOTE_ADDR'])) die('Permission denied.');
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2039"></script>
  3. 11 years ago and saved by 3 others
    Via un fichier .htaccess, ajoutez automatiquement un fichier en fin de script. Avec cette instruction, le fichier append.php sera automatiquement inclus en fin de traitement de votre script PHP. Peut-ĂȘtre utile pour ajouter un script de stat en fin de tous les scripts php.
    php_value auto_append_file /chemin_vers_ficher_a_inclure/append.php
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/455"></script>
  4. sponsorised links

First / Previous / Next / Last / Page 1 of 1 (3 posteets)