[ Index ] |
PHP Cross Reference of phpwcms V1.4.3 _r380 (23.11.09) |
[Summary view] [Print] [Text view]
1 # These settings are recommend 2 # Maybe you might have problems 3 # with other scripts that needs 4 # register_globals ON 5 6 # php_flag magic_quotes_gpc Off 7 # php_flag magic_quotes_runtime Off 8 # php_flag register_globals Off 9 10 11 #<IfModule mod_rewrite.c> 12 13 # Rewrite functionality for phpwcms 14 # optimized by Jan212 15 # 18-04-2004 16 17 # Check that you have set Options FollowSymLinks 18 # and right Allow 19 # RewriteEngine On 20 21 #RewriteCond %{REQUEST_FILENAME} !-f 22 #RewriteCond %{REQUEST_FILENAME} !-d 23 24 # maybe you need this 25 #DirectoryIndex index.html index.php 26 27 28 # Default ReWrite settings for phpwcms 29 # =============================================== 30 # This will rewrite 0.0.0.0.0.0.phtml => index.php?id=0.0.0.0.0.0 31 # RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.phtml$ index.php?id=$1,$2,$3,$4,$5,$6 32 33 # This will rewrite mypage.phtml => index.php?mypage 34 # RewriteRule ^(.+)\.phtml$ index.php?$1 35 36 37 # If phpwcms is installed in a subdirectory, 38 # sample: "mysubdir" then use this (remove #) 39 # if above lines doesn't work for you 40 # =============================================== 41 #RewriteBase /mysubdir 42 #RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.phtml$ /mysubdir/index.php?id=$1,$2,$3,$4,$5,$6 43 #RewriteRule ^(.+)\.phtml$ /mysubdir/index.php?$1 44 45 46 # If you want to set rewrite logging 47 # =============================================== 48 #RewriteLog "/absolute/path/to/the/rewrite.log" 49 # 0 = Logging disabled, 9 = highest level of logging, only for debugging 50 #RewriteLogLevel 3 51 52 #</IfModule> 53 54 #Sometimes neccessary to add those 55 # 56 #AddType application/x-javascript .js 57 #AddType text/css .css
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Dec 30 05:55:15 2009 | Cross-referenced by PHPXref 0.7 |