Home » Articles posted by Locutusweb

Author Archive:


formats

Work on your website before it is live

We have all been there; moving to a new webhost is the perfect time to do a great overhaul, upgrade or migration of your existing website. The problem is: you want to fool around with your new playground, but you don want to bother your vistitors (and search engines) with your mishaps. What you can

(More)…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Tip: Codecs and more in Ubuntu

You are missing codecs, fonts and other nifty stuff in Ubuntu? Open up a console and do: Code: Click to toggle codeblock 1 sudo wget http://www.medibuntu.org/sources.list.d/XXXX.list -O /etc/apt/sources.list.d/medibuntu.list sudo wget http://www.medibuntu.org/sources.list.d/XXXX.list -O /etc/apt/sources.list.d/medibuntu.list Replace the four X’s with the name of your distribution. For example 11.10 is called “Oneiric Ocelot” and in this case it

(More)…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Auto start programs in Lubuntu/LXDE

If you want applications auto started after loggin in in Lubuntu open up: Code: Click to toggle codeblock 1 sudo leafpad /etc/xdg/lxsession/Lubuntu/autostart sudo leafpad /etc/xdg/lxsession/Lubuntu/autostart and (for example) to start automatically your browser add this line at the end of the file: Code: Click to toggle codeblock 1 chromium-browser %U chromium-browser %U Note: the @

(More)…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Setting up Apache, PHP and MySQL for Ubuntu

The purpose of this little howto is to set up a LAMP box with (K,X)ubuntu desktop already installed focused on Joomla! (Linux + Apache + MySQL + PHP/Perl together commonly known as LAMP Server) This is wat * Apache 2 – Linux Web server * MySQL 5 – MySQL Database Server * PHP5 – PHP

(More)…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Create php error message via .htaccess

Debugging a new developed component or just getting blank pages? (a blank page is normally a hidden (fatal) php error) Append this code to your .htaccess and it will make the error visible Code: Click to toggle codeblock 1 2 3 4 5 6 7 php_flag display_errors on php_flag display_startup_errors on php_value error_reporting 2047 php_flag

(More)…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Tip: Change default page to open

This is not really a Joomla tip, but could be handy anyway. Say you want visitors to go page “filename.html” instead of “index.html” after entering your domain… Add this to your .htaccess: Code: Click to toggle codeblock 1 DirectoryIndex filename.html index.cgi index.pl default.htm DirectoryIndex filename.html index.cgi index.pl default.htm In this example first filename.html will be

(More)…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Howto convert joomla 1.0.x templates to 1.5.x

Published on 14 November 2010 by in Joomla

For making your “old” Joomla 1.0.x working in native mode in Joomla 1.5.x, please follow the next steps: Replace the head of your document with the code below. Replace all of the top code in your index.php code down to the tag with the following: Code: Click to toggle codeblock 1 2 3 4 5

(More)…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Custom Joomla 404; file not found page

Published on 24 October 2010 by in Joomla

In the original Joomla 1.5.x 404 page not found file, I missed a search option. So I added the search form to the original. It is possible to redirect your 404 to a article in joomla, but the downside is: you have a searchable 404. Create a file called error.php in your default template, like

(More)…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Tip: Securing images, cache and media folder

Preventing listing directory contents and executing scripts from directories such as images, media, cache, you can place an .htaccess file in them. The .htaccess file in each of those directories should contain the following code: Updated to version 1.1 Code: Click to toggle codeblock 1 2 3 4 5 6 7 8 9 10 11

(More)…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Tip: Hardening your Joomla site by .htaccess Version 2.4 and 2.6

I added some extra security stuff to my .htaccess to harden my Joomla install. Blocked some common bad bots, made some files invisible and some rules used by exploits. The list is quite long and could slow down your site, but I have never seen that. Please note, this is not a substitute for not

(More)…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
© Locutus-Web Services
credit