Add 'lamp/apache/conf.sh'

This commit is contained in:
Sarimoko 2021-07-05 21:50:02 +00:00
parent 1ffc655a20
commit 7318b0fd6a
1 changed files with 14 additions and 0 deletions

14
lamp/apache/conf.sh Normal file
View File

@ -0,0 +1,14 @@
#!/bin/bash
clear
echo "# ===================================================================== #"
echo "# L A M P - S t a n d"
echo "# ===================================================================== #"
echo "# Editing config files for Apache Virtualhosts"
echo "# --------------------------------------------------------------------- #"
echo "# EXISTING FILES IN /etc/apache2/sites-available"
echo "# --------------------------------------------------------------------- #"
sudo ls /etc/apache2/sites-available
echo "# --------------------------------------------------------------------- #"
read -p "Enter filename: " apache_file
sudo nano /etc/apache2/sites-available/$apache_file.conf
sudo sudo service apache2 reload