Browsing articles from "June, 2010"
Jun
25
2010

Print margins in Firefox Ubuntu Karmic Koala

To change print margins in Firefox in Ubuntu : 1. Open a new tab and type about:config in the Url and hit enter. 2. In filter enter margin. 3. For all terms which looks similar to print_margin_bottom , print_margin_top , print_unwritable_margin_bottom , print_extra_margin and so on, double click them and enter value of 0 or 0.0 Also change the header and footer text by filtering on header and footer and change the corresponding values.

Jun
23
2010

Url encoded forward slash in MVC or codeignitor app urls

When using PATH_INFO , the urls of codeignitor apps or your custom MVC looks like this Now if the parameters contain a forward slash then you would urlencode it as : But opening that kind of URL would give an error : Page Not Found This happens if AllowEncodedSlashes directive of Apache is not turned on. More Here. This directive should be turned on to allow those sort of Urls. And for codeignitor $config['permitted_uri_chars'] should [...]