2010-09-08 15 views
-1

Je développe une application php avec framework Kohana qui permet la réécriture d'url par défaut.Réécriture d'url sur le serveur web sun 7

J'ai besoin de traduire ces règles définies dans le fichier htaccess mais je ne peux pas le comprendre.

# Turn on URL rewriting 
RewriteEngine On 

# Installation directory 
RewriteBase /kohana/ 

# Protect hidden files from being viewed 
<Files .*> 
Order Deny,Allow 
Deny From All 
</Files> 

# Protect application and system files from being viewed 
RewriteRule ^(?:application|modules|system)\b index.php/$0 [L] 

# Allow any files or directories that exist to be displayed directly 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 

# Rewrite all other URLs to index.php/URL 
RewriteRule .* index.php/$0 [PT] 

Merci à l'avance!

Répondre