[ Index ]
 

Code source de b2evolution 2.1.0-beta

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/blogs/ -> sample.htaccess (source)

   1  # Apache configuration for the blog folder

   2  # Lines starting with # are considered as comments.

   3  
   4  # PHP SECURITY:

   5  # this will make register globals off in the evo directory

   6  <IfModule mod_php4.c>
   7      php_flag register_globals off
   8  </IfModule>
   9  <IfModule mod_php5.c>
  10      php_flag register_globals off
  11  </IfModule>
  12  
  13  # PHP5

  14  # This may need to be in each folder:

  15  # AddHandler application/x-httpd-php5 .php

  16  
  17  # CLEAN URLS:

  18  # If you're using Apache 2, you may wish to try this if clean URLs don't work:

  19  # AcceptPathInfo    On

  20  
  21  
  22  # DEFAULT DOCUMENT TO DISPLAY:

  23  # this will select the default blog template to be displayed

  24  # if the URL is just .../blogs/

  25  <IfModule mod_dir.c>
  26      DirectoryIndex index.php index.html
  27  </IfModule>
  28  
  29  
  30  # CATCH EVERYTHING INTO B2EVO:

  31  # The following will allow you to have URL right off the site root,

  32  # using index.php as a stub but not showing it.

  33  # This will add support for URLs like:  http://example.com/2006/08/29/post-title

  34  # Redirect anything that's not an existing directory or file to index.php

  35  #

  36  # RewriteEngine On

  37  # RewriteCond %{REQUEST_FILENAME} !-d

  38  # RewriteCond %{REQUEST_FILENAME} !-f

  39  # RewriteRule ^  index.php



Généré le : Thu Nov 29 23:58:50 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics