• adding user to compiler group
    $ sudo /usr/sbin/usermod -a -G compiler vinod

  • Step 1.
  • Edit hosts file to map virtual host name to ip address.
    add 127.0.0.1 xxxxx.localhost
    i have used vinod.localhost
    Location:C:\Windows\System32\drivers\etc\hosts
  • 2
  • In vista, run the notepad in administrator mode to edit hosts file.1
  • Step 2.
  • Edit Apache configuration file httpd.conf  to add server name and document location for virtual hosts.
    after DocumentRoot “c:/wamp/www/” in httpd.conf, add
  • NameVirtualHost 127.0.0.1
    <VirtualHost 127.0.0.1>
    ServerName localhost
    DocumentRoot "c:/wamp/www"
    </VirtualHost>
    <VirtualHost 127.0.0.1>
    ServerName vinod.localhost
    DocumentRoot "c:/wamp/www/vinod/"
    </VirtualHost>
  • 3
  • Step 3.
  • create your project folder at the destination folder specified.
  • Step 4.
  • Restart Apache server for changes to take effect.
  • Step 5.
  • Nothing here :) . http://vinod.localhost/ should serve the files in c:/wamp/www/vinod/ now.
  • 4

After over 2 years, I finally decided to start writing this blog. The incident that fired the idea to buy this domain name is quite interesting. I was egosurfing some years ago and at that time the first link was

vinod

That was pretty much scary.

I have many other selfish reasons to blog here :) . Most of the time i am learning new things or researching on things i am working on. I needed a place to document my work so that i can refer to it when i need to.

If readers find this information useful, they are welcome to comment and suggest.
duty_calls

« Newer Posts