Hello Friends,
I want to execute my php program from another computer using host name not ip address. So, the following steps I have tried.
1. I have changed my host name in host file like
127.0.0.1 welcome
2. I have added virtual host and directory root in my apache's config file
3. My folder structure like this.
www/test/test1.php
4. virtual host is like this:
<VirtualHost 127.0.0.1>
DocumentRoot "c:/wamp/www/test"
ServerName test
</VirtualHost>
5. My Directory root is like this:
<Directory "c:/wamp/www/test">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
6. I restarted the server and I tried. But it is not working for me. Plz help to go further.
Thanks a lot!