First guess would be there's something in configuration.php such as an extra whitespace or new line character after the closing php tag ?>.
Ah! There were some characters before the opening php tag, not sure how they got there though :| Probably added by the web host I don't know, this fixed the errors. Thank you. This is sort of annoying, all internal pages are showing 404. I am able to access the backoffice. (I've Joomfish enabled)
Exactly that... if your editor is adding blank lines after ?> you can end up with that error. Just to be safe, you can just remove the trailing ?> from your config file (or any other file you suspect). The closing PHP tag is optional and if you omit it, you can have all the trailing lines you want.
Oh, it actually sounds like you got the dreaded UTF w/ BOM. Where the characters these :  ? Which text editor are you using? Odds are you will have to download the files, change the encoding etc.
Yeah "  ? " is exactly what I've got. I edited the config file with notepad. Concerning the internal pages 404 error. I disabled the SEO settings, seems to be working fine with only SEF urls enabled. I get the 404 again when I enable Apache mod_rewrite... will have to do with "not so pretty" links I guess.
I would recommend getting notepad++, it's free and after I started using it UTF w/BOM became a problem of the past. To correct the problem with notepad, when you go to save the file there's a drop down beneath the file name. Mine's set to ANSI. Any files you have edited with notepad are likely to have had their encoding changed. I would check the files first (notepad++ will let you search in Files for specific characters, which might help) before tackling the pretty urls problem.
you need to delete rename htaccess.txt to .htaccess this should solve your problem and it is a must step for enabling mod_rewrite and using seo plugins
this file is located in your root directory where joomla is installed, in your case you can find it in /htdocs/public/www/caffeine/htaccess.txt just rename it to .htaccess (remember to put trailing ".")