RE: Urgent : Configure multiple websites

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

 



This side will not help! Because the httpd.conf in the Apache 2.2.4 work different.
Kranti, please do following steps:
 
Please configure httpd.conf as below:
 
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
 
Then please open in the folder
C:\Program Files\Apache Software Foundation\Apache2.2\conf\extra
 
the file httpd-vhosts.conf and change only the temporary information with your informations.
 
Here an example:
 
NameVirtualHost *:80
 
<VirtualHost *:80>
    ServerAdmin webmaster@xxxxxxxxxxxxx 
    DocumentRoot "C:/wwwroot"
    ServerName testing.local
    ServerAlias www.testing.local
    ErrorLog C:/wwwroot/logs/error_apache.txt
    CustomLog C:/wwwroot/logs/access_apache.txt common
    <Directory "C:/wwwroot">
    AllowOverride All
    Options Indexes FollowSymLinks
    Order allow,deny
    Allow from all
    </Directory>
</VirtualHost>
 
Okay?
 
And you have to put also under virtual host the Servername and Serveralias in the Windows host
C:\WINDOWS\system32\drivers\etc
Open the file hosts
 
And write
127.0.0.1 testing.local
 
 
Then open the internet explorer and write http://testing.local
 
Kind regards,
Ch
 


From: Craig Huffstetler [mailto:craig.huffstetler@xxxxxxxxx]
Sent: 13 August 2007 23:35
To: users@xxxxxxxxxxxxxxxx
Subject: Re: Urgent : Configure multiple websites

Then see:
 
http://apptools.com/phptools/virtualhost.php
 
For a guide based on Windows files/folders.
 
The syntax is still the same, however.
 
Cheers,
 
Craig

 
On 8/13/07, Kranti K K Parisa [GetSet-India] <kranti.parisa@xxxxxxxxx> wrote:
Hi,

I am using apache_2.2.4-win32-x86-no_ssl.msi on windows 2003 server.

Thanks, Kranti


On 8/14/07, Chakan < chakan@xxxxxx> wrote:
Hello Kranti,
which version of Apache do you use and with which operation system?
Kind regards,
Ch


From: Kranti K K Parisa [GetSet-India] [mailto:kranti.parisa@xxxxxxxxx ]
Sent: 13 August 2007 23:23
To: users@xxxxxxxxxxxxxxxx
Subject: [users@httpd ] Urgent : Configure multiple websites

 
Hi,

I am pretty much new to Apache. Earlier was working on IIS where creating websites thru UI is a bit easy.

Please help me to create multiple websites, which are hosted on same computer (means with same IP address but different domain names) each domain should point to different folders so that content from website to website can be varied.

Thanks in advance


Regards, Kranti



--
------------------
Best Regards
Kranti Kiran Kumar Parisa
Mobile: +91 - 9849 ...
            +91 - 9391 - 438 - 738



--
Craig Huffstetler
[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