cejebuto/orfeounity/master/.htaccess - Htaccess File

cejebuto/orfeounity/master/.htaccess

# Use PHP5 Single php.ini as default
#AddHandler application/x-httpd-php5s .php

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f

 
############################### ORFEO UNITY V1.0###############################

#===================LOGIN==================
#RewriteRule ^user_login$ /orfeounity/form/for_login/for_login.php [L]
 

#===================DOCUMENTACION MODULO ==================
#url_module -> Nombre del Modulo.
#option -> Opción del modulo. listar, editar, eliminar.
#param1 -> parametro usado para un identificador unico , radicado , cedula , id .
#page - > pagina actual.
#size - > Tamaño de la pagina
#order - > 1 - ASC 2 - DESC
#by - > por donde se debe ordenar 

#==================MODULES==================
RewriteRule ^([^/]*)$ /orfeounity/index.php?url_module=$1 [L] 
RewriteRule ^([^/]*)/sgd/([^/]*)$ /orfeounity/index.php?url_module=$1&option=$2 [L]
RewriteRule ^([^/]*)/sgd/([^/]*)/([^/]*)$ /orfeounity/index.php?url_module=$1&option=$2&param1=$3 [L]

#USADO PARA UNA TABLA
RewriteRule ^([^/]*)/sgd/([^/]*)/lst/([0-9]*)/([0-9]*)/([1-2])/([0-9]*)$ /orfeounity/index.php?url_module=$1&option=$2&page=$3&size=$4&order=$5&by=$6 [L]

#==================LOGOUT==================
RewriteRule ^control/logout$ /orfeounity/process/pro_logout/pro_logout.php [L]

</IfModule>

On Github License

Files

Download PDF of Htaccess file
SCRIPT_FILENAME

Comments

Apache