Page 2 of 2

Re: Easy XAMMP question

PostPosted: 06. July 2009 18:08
by Wiedmann
and the XAMPP icon is only for the Control Panel, not Apache or MySQL?

Correct.

Re: Easy XAMMP question

PostPosted: 07. July 2009 04:51
by twidlar
1. I just got an account at no-ip.com. This give me the ability to have a fake static IP address so I can host a small website on XAMPP on GISKARD. I know I have to tighten security as the XAMPP manual says. The site won't do much but I need to have a small one separate from my other site.
2. Whenever GISKARD boots, it will send its new IP to no-ip.com and no-ip will redirect references to my xxxx.sytes.net to GISKARD. (Router port 80 already fowarded to GISKARD 192.168.1.5).
3. I want http://xxxx.sytes.net ===> K:\usr\web\xxxx . (No references to sytes.net will occur) (Eventual around 20 xxxx subdomains).
4. Googling I found I need to tell Apache something like the following

Port 80
ServerName server.sytes.net
NameVirtualHost *:80

<VirtualHost *:80>
DocumentRoot K:/usr/web
ServerName http://www.sytes.net
...
</VirtualHost>

<VirtualHost *:80>
DocumentRoot /usr/web/xxxx
ServerName http://www.xxxx.sytes.net
...
</VirtualHost>

5. In which file does this go. What mistakes have I made? I need one VirtualHost entry for each subdomain, right?

Re: Easy XAMMP question

PostPosted: 08. July 2009 00:50
by twidlar
I'm still awaiting a comment on whether my understanding on how to setup up the XAMPP website in Apache is correct.

Meanwhile, I uninstalled C:\xampp and tried to install XAMPP as K:\web (K: is an external 160GB USB drive with nothing else on it). It seem to install OK but http://localhost on GISKARD and http://giskard on GORT both gave Error 403 "Forbidden".

I look at the Properties of K:\web, it was marked ReadOnly. I removed that, still 403. So I uninsatlled that and reinstalled C:\xampp.

Did we do something wrong?