mirror of
https://github.com/DeNNiiInc/Connect-5.git
synced 2026-10-13 09:21:28 +11:00
Add Apache config finder script
This commit is contained in:
1 parent
bd5f35f15d
commit
9194961fff
1 file changed
+25
@@ -0,0 +1,25 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Quick script to find and list Apache config files
|
||||||
|
|
||||||
|
echo "🔍 Finding Apache configuration files..."
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
echo "SSL-enabled sites:"
|
||||||
|
ls -lh /etc/apache2/sites-enabled/ 2>/dev/null | grep -v "^total" | grep -v "^d"
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "Available sites:"
|
||||||
|
ls -lh /etc/apache2/sites-available/ 2>/dev/null | grep -v "^total" | grep -v "^d"
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "Checking for connect5 or beyondcloud in configs:"
|
||||||
|
grep -l "connect5\|beyondcloud" /etc/apache2/sites-available/* 2>/dev/null
|
||||||
|
grep -l "connect5\|beyondcloud" /etc/apache2/sites-enabled/* 2>/dev/null
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "Checking main Apache config:"
|
||||||
|
grep -n "Include" /etc/apache2/apache2.conf | grep sites
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "Current VirtualHosts:"
|
||||||
|
apache2ctl -S 2>/dev/null | grep -A 2 "443\|beyondcloud\|connect5"
|
||||||
Reference in new issue
Block a user