Skip to content

A simple bash script that creates a virtual host in Apache on Windows with WAMP.

Notifications You must be signed in to change notification settings

codep0et/wamp-vhost

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WAMP - Apache VirtualHost Console (msysgit)

A simple bash script that creates a virtual host in Apache on Windows with WAMP.

How to use

sh ./vhost.sh domain path

(e.g. sh vhost.sh project.dev 'D:\project')

What it does

  • Adds a domain mapping to C:/windows/drives/etc/hosts
  • Adds VirtualHost to C:\wamp_directory\bin\apache\apache2.2.22\conf\extra\httpd-vhosts.conf
  • Restarts WampApache service

Thanks

This script is based on https://github.com/MattSkala/apache-vhost script.

About

A simple bash script that creates a virtual host in Apache on Windows with WAMP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%