Dear all!
First of all, Im extremely grateful for the enthusiasm and will to assist showed here by everyone. Thank you! Also thx to Usman for providing me with the valuable video links!
Having that said, the problem now seems to be solved. I found two options , a simple redirect in the index.htm file as Ken suggested. Works right out of the box and shame on me that I didn't thought of that...
Also found another snippet of code that also did the trick. This snippet was placed in the .htaccess file in the www folder. Also seems to work.
So, for those interested, here´s the solution:
Problem: www.myserver.com was the entrance site. That site had a link to the moodle system, www.myserver.com/moodle. Client wanted to remove the entrance site so when you pointed your browser toward www.myserver.com you should get directly into moodle.
Solution 1: An ordinary http redirect snippet placed in the index.php file directly in the root: <meta http-equiv="refresh" content="0; url=http://www.myserver/moodle/" />
Solution 2: Code snippet placed in the .htaccess file:
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^ittfeducation.com [nc]
rewriterule ^(.*)$ http://www.myserver.com/moodle [r=301,nc]
Quite possibly, these solutions have glitches. As I stated before, I was totally unaware about moodle a while ago until I stumbled upon a client who wanted me to set it up on their server. Bold as I am (stupid perhaps) I took on the challenge, and it was a challenge, being just a simple web and graphic designer. However, I sense the enormous potential of this system and I am looking forward to dive in much deeper and learn more about it, much more.
Ok, enough rambling, thx once again for all the help!
Kind regards,
Thomas