[ Index ]

PHP Cross Reference of phpwcms V1.5.0 _r431 (28.01.12)

title

Body

[close]

/ -> _.htaccess (source)

   1  # These settings are recommend
   2  # Check phpinfo() before try these
   3  #    register_globals ON
   4  #    php_flag magic_quotes_gpc Off
   5  #     php_flag magic_quotes_runtime Off
   6  #    php_flag register_globals Off
   7  
   8  #<IfModule mod_rewrite.c>
   9  
  10  # Check that you have set Options FollowSymLinks
  11  # and right Allow
  12  #    RewriteEngine On
  13  
  14  #    RewriteCond %{REQUEST_FILENAME} !-f
  15  #    RewriteCond %{REQUEST_FILENAME} !-d
  16  
  17  # maybe you need this
  18  #    DirectoryIndex index.html index.php 
  19  
  20  
  21  # Default ReWrite settings for phpwcms
  22  # ====================================
  23  
  24  #    RewriteBase /mysubdir
  25  
  26  # Ignore
  27  #    RewriteRule ^(include|img|template|picture|filearchive|content)/ - [L]
  28  
  29  # Rewrite 0.0.0.0.0.0.phtml => index.php?id=0.0.0.0.0.0
  30  #    RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.html$ index.php?id=$1,$2,$3,$4,$5,$6
  31  
  32  # Rewrite mypage.html => index.php?mypage
  33  #    RewriteRule ^(.+)\.html$ index.php?$1
  34  
  35  #</IfModule>
  36  
  37  #Sometimes neccessary to add those
  38  #
  39  #AddType application/x-javascript .js
  40  #AddType text/css .css


Generated: Sun Jan 29 16:31:14 2012 Cross-referenced by PHPXref 0.7.1