By default you need to add index.php to call a Controller and action method. This becomes painful. The solution is to:
Create .htaccess file with the following content and place it in the root folder of Kohana project
RewriteEngine On
RewriteRule ^(application|modules|system) - [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* /gppprocess/index.php/$0 [PT,L]
Create .htaccess file with the following content and place it in the root folder of Kohana project
RewriteEngine On
RewriteRule ^(application|modules|system) - [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* /gppprocess/index.php/$0 [PT,L]
No comments:
Post a Comment