set virtual host on Apache2.2 and PHP 5.3
- by Avinash
Hi
I want to set my Virtual host on Apache 2.2.
So, I can access my site using my IP address and Port number.
Like http://192.168.101.111:429 for one site, http://192.168.101.111:420 for other site and so on.
My machine OS in Windows 7.
I have tried below in my httpd.conf file.
Listen 192.168.101.83:82
#chaffoteaux
<Directory "Path to project folder">
AllowOverride All
</Directory>
<VirtualHost 192.168.101.83:82>
ServerAdmin [email protected]
DirectoryIndex index.html index.htm index.php index.html.var
DocumentRoot "Path to project folder"
#ServerName dummy-host.example.com
ErrorLog logs/Zara.log
#ErrorLog logs/dummy-host.example.com-error_log
#CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
Can you please suggest any thing missing in my configuration.
Thanks in advance
Avinash