Skip to content

Simple bash script to create or local vhost on Apache on Debian based systems.

Notifications You must be signed in to change notification settings

cvetan/apache-vhost-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

apache-vhost-script

Simple bash script to create or delete, local vhost on Apache web server on Debian based systems.

This script (for now) presummes default apache settings, in terms of document root locations, ownership on files, and privileges.

Document root: /var/www/html/example.com

Owner: www-data:www-data

Privileges: 775

It will create and enable .local vhost.

Clone script into /usr/local/bin for global access system wide. It will need root privileges.

About

Simple bash script to create or local vhost on Apache on Debian based systems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages