Hi Terry,
Thanks a lot for your advice! I followed it like this.
1. I opened the file C:\WINDOWS\system32\drivers\etc\hosts in a text
editor and changed the only instruction from
127.0.0.1 localhost
to
127.0.0.1 localhost calendar
2. I opened the file ...\xampp\apache\conf\httpd.conf in a text editor
and added these instructions.
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "E:\programming\php programs\dx"
ServerName calendar
</VirtualHost>
3. I copied all the files in my dx project to the folder
E:\programming\php programs\dx.
4. I restarted apache.
5. I typed this url in my web browser:
http://calendar/dx_login.php.
Vuaw! The file was found and did its job as when it was in its original
folder. In short: it worked!
I gave the steps a bit detailed in case others would like to do the
same and need a bit more details. Also, if I did something
inappropriate when it comes to security, or what have you, please tell
me.
Thanks again for your !
Regards,
Jan Nordgreen