Re: [users@httpd] Problem with Virtual Host on Apache v2.0.54

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



To try the follow?

NameVirtualHost youip:80

<VirtualHost youip:80>
    ServerAdmin abc@xxxxxxxxx
    DocumentRoot "C:/Program Files/Apache Group/Apache2/abc"
    ServerName abc.dyndns.dk
    ErrorLog logs/error.log
    CustomLog logs/access.log common
    Options Indexes FollowSymLinks ExecCGI
</VirtualHost>

<VirtualHost youip:80>
    ServerAdmin efg@xxxxxxxxx
    DocumentRoot "C:/Program Files/Apache Group/Apache2/efg"
    ServerName efg.dyndns.dk
    ErrorLog logs/efg-error.log
    CustomLog logs/efg-access.log common
    Options Indexes FollowSymLinks ExecCGI
</VirtualHost>


----- Original Message ----- 
From: "Andrey Kuznetsov" <deathowl@xxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Monday, December 12, 2005 11:12 AM
Subject: [users@httpd] Problem with Virtual Host on Apache v2.0.54


Apache v2.0.54 behind NAT and using DMZ.
I am able to access the website from outside through the NAT and else,
however I cannot set up my Virtual Host environment.

This is what I have in my config file, it works in terms it redirects
me to the first instance of priority which is ABC but I can never get
to EFG even though I type http://efg.dyndns.dk. My problem is being
able to access abc but not efg which is like the second domain hosted
on the same apache server\ip.
Thank you for helping out. Just ask if you need more info.

NameVirtualHost *

<VirtualHost abc.dyndns.dk:80>
    ServerAdmin abc@xxxxxxxxx
    DocumentRoot "C:/Program Files/Apache Group/Apache2/abc"
    ServerName abc.dyndns.dk
    ErrorLog logs/error.log
    CustomLog logs/access.log common
    Options Indexes FollowSymLinks ExecCGI
</VirtualHost>

<VirtualHost efg.dyndns.dk:80>
    ServerAdmin efg@xxxxxxxxx
    DocumentRoot "C:/Program Files/Apache Group/Apache2/efg"
    ServerName efg.dyndns.dk
    ErrorLog logs/efg-error.log
    CustomLog logs/efg-access.log common
    Options Indexes FollowSymLinks ExecCGI
</VirtualHost>

--
Live Long and Prosper,
by Andrey Kuznetsov aka "Death Owl"

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux