I must determine if there's an answer (free project or webservice) available that provides a svn or git repository along with an apache server and database. I'm trying to find this type of solution because I must get the advantages of developing having a subversion system. On the other hand I want a preview from the end result to determine exactly what the code appears like on different browsers.

Hope anyone can assist me to! regards, Markus

You can place your Git repository within the docroot of the Apache. You'll be able to edit files, commit them and hav whatsoever occasions an active preview at hands.

Have a look at git-instaweb. It begins an internet server inside your git repo, so that you can see the files, also it includes gitweb.cgi so that you can rapidly get data regarding your repo.