Options Indexes FollowSymLinks MultiViews Includes ExecCGI
AddType text/html .shtml
AddHandler server-parsed .shtml
AddHandler cgi-script .cgi .pl
Allow from all
sckoh wrote:Okay, productive1.
I understood your explannation that using 1 domain is same and no difference between virtual and actual.
By the way, my toppage has a $REMOTE_ADDRESS source to check visitor's IP and,
When I connect my toppage(PWS) with my domain from my computor, it displayed 188.8.131.52, under non-virtual configuration.
But when I try under virtual configuration, it gives 127.0.0.1.
Why is it different?
sckoh wrote:Thank you, productive1.
My actual IP is 184.108.40.206.
I explained you that my IP's are different to each other when I load my computer into web as an actual server and virtual server.
Where do I find the httpd.conf file?productive1 wrote:This is how my virtual Host is in the httpd.conf file:
And this is how my host file in C:\WINDOWS\system32\drivers\etc is
Please remember this worked out beutiful for me in Windows Xp home service pack1. I do not know for other systems.
I am also curious as to why this needs to be made in WINDOWS. I thought this was also only supposed to be done in apache.jami wrote:Hi,
I have the same problem and found your thread which appears to be exactly what i'm looking for, thanks.
However, I have one question concerning point 5 below,
5) this gets a little tricky but you will get it:
Now go to C:\WINDOWS\system32\drivers\etc and open the host file thats in there.
I wasn't aware the the system files in WINDOWS would need to be changed. Can you send me the config changes you made to both apache and your Windows XP SP1 system, as it appears that they weren't posted on the forum correctly. This way I can see the exact path in the WINDOWS file and the exact changes you made there.
I appreciate all your help
Users browsing this forum: No registered users and 64 guests