All pastes #496867 Raw Edit

platin

public text v1 · immutable
·published 2007-05-19 14:21 UTC
rendered paste body
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]            ##opti$
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
#RewriteRule ^(content/|component/) index.php
#
########## End Standard SEF Section
 
 
########## Begin 3rd Party or Core SEF Section
#
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]            ##opti$
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
#
########## End 3rd Party or Core SEF Section
 
 
                              [ Wrote 88 lines ] 
 
vadmin271:/var/www# nano .htaccess
 
Error reading /root/.nano_history: Input/output error
 
Press Enter to continue starting nano.
 
 
  GNU nano 2.0.2              File: .htaccess                                  
 
# line.  For example, if your Joomla/Mambo is in a subdirectory called '/test/$
# change this:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see$
# to this:
# RewriteCond %{REQUEST_URI} ^(/test/component/option,com) [NC,OR] ##optional $
#
#####################################################
 
 
##  Can be commented out if causes errors, see notes above.
# Options FollowSymLinks
 
#
#  mod_rewrite in use
 
RewriteEngine On
 
 
#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
                              [ Wrote 88 lines ] 
 
vadmin271:/var/www# nano .htaccess
 
Error reading /root/.nano_history: Input/output error
 
Press Enter to continue starting nano.
 
 
  GNU nano 2.0.2              File: .htaccess                                  
 
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]            ##opti$
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
#RewriteRule ^(content/|component/) index.php
#
########## End Standard SEF Section                 
 
 
########## Begin 3rd Party or Core SEF Section
#               
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]            ##opti$
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
RewriteCond %{REQUEST_FILENAME} !-f  
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule (.*) index.php 
# 
########## End 3rd Party or Core SEF Section