Category Archives: Uncategorized

Install virtualbox guest additions in opensuse 12.2

By | February 24, 2013

Opensuse 12.2 by default has the virtualbox guest additions inbuilt. But if you want to reinstall then follow the steps. First install the C compiler and make utilities required to compile the guest additions. sudo zypper in gcc make Now install the kernel development packages for the current distro version Find the kernel type ~>… Read More »

Url encoded forward slash in MVC or codeignitor app urls

By | June 23, 2010

When using PATH_INFO , the urls of codeignitor apps or your custom MVC looks like this index.php/controlller/method/param1/param2 or /controlller/method/param1/param2 Now if the parameters contain a forward slash then you would urlencode it as : index.php/controlller/method/par%2Fam1/param2 But opening that kind of URL would give an error : Page Not Found This happens if AllowEncodedSlashes directive of… Read More »

PATH_INFO, ORIG_PATH_INFO, APACHE and PHP

By | October 4, 2009

AcceptPathInfo Directive The AcceptPathInfo directive is a useful feature of apache. It detects any path information in a url following the actual script name and passes it to php as an environment variable in $_SERVER superglobal. Php mvc based frameworks often use such urls that have additional path information after a script name. This is… Read More »