Welcome Guest, Not a member yet? Register   Sign In
.htaccess file and url. how to make in shorter?
#1

[eluser]linderox[/eluser]
i have a function1 in the controller1

www.mydomain.com/controller1/function1/parametr1, but I want to save such construction of the controller file, but I want to reach this url by shorter line (without function1 name)
www.mydomain.com/controller1/parametr1

here is my standart .htaccess file
Code:
addDefaultCharset utf8
DirectoryIndex index.php
RewriteEngine on
RewriteCond $1 !^(index\.php|public|images|css|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]


Messages In This Thread
.htaccess file and url. how to make in shorter? - by El Forum - 06-03-2009, 05:52 AM
.htaccess file and url. how to make in shorter? - by El Forum - 06-03-2009, 05:56 AM
.htaccess file and url. how to make in shorter? - by El Forum - 06-03-2009, 05:58 AM
.htaccess file and url. how to make in shorter? - by El Forum - 06-03-2009, 06:45 AM
.htaccess file and url. how to make in shorter? - by El Forum - 06-03-2009, 07:05 AM
.htaccess file and url. how to make in shorter? - by El Forum - 06-04-2009, 05:38 AM
.htaccess file and url. how to make in shorter? - by El Forum - 06-04-2009, 05:43 AM
.htaccess file and url. how to make in shorter? - by El Forum - 06-04-2009, 05:46 AM
.htaccess file and url. how to make in shorter? - by El Forum - 06-04-2009, 11:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB