Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
proc
/
212
/
root
/
home
/
hosting-user
/
//proc/thread-self/root/proc/212/root/home/hosting-user/.bash_history
exit man ssh . ~. logout exit cd /lamp0/web/vhosts/www.location-appartement-vacances-corse.fr/htdocs ls cd web cd .. cd /web/vhosts/www.location-appartement-vacances-corse.fr/htdocs cd web/vhosts/www.location-appartement-vacances-corse.fr/htdocs ls php bin/console payRest cd / ls cd /srv/data/web/vhosts/www.location-appartement-vacances-corse.fr/htdocs cd .. cd .. cd .. cd /srv/data/web/vhosts/www.location-appartement-vacances-corse.fr/htdocs cd / cd /srv/data/web/vhosts/www.location-appartement-vacances-corse.fr/htdocs && php bin/console PayRest cd / nano /srv/data/web/vhosts/payrest_script.sh clear ls cd etc ls wich php which php cd / exit #1761312843 BASE=/srv/data/web/vhosts #1761312843 LINE='RedirectMatch 404 ^/.well-known/pki-validation/fileauth.txt$' #1761312843 find "$BASE" -mindepth 1 -maxdepth 1 -type d -print0 | while IFS= read -r -d '' VDIR; do HTDOCS="$VDIR/htdocs"; HTA="$HTDOCS/.htaccess"; [ -d "$HTDOCS" ] || { echo "SKIP: $(basename "$VDIR") (pas de htdocs)"; continue; }; if [ -f "$HTA" ]; then grep -Fqx "$LINE" "$HTA" && { echo "OK: $(basename "$VDIR") (deja present)"; continue; }; sed -i "1i $LINE" "$HTA" && echo "ADD: $(basename "$VDIR")"; else printf '%s\n' "$LINE" >"$HTA" && echo "CREATE: $(basename "$VDIR")"; fi; done #1761312850 BASE=/srv/data/web/vhosts #1761312850 find "$BASE" -mindepth 1 -maxdepth 1 -type d -printf '%f\n' | while read -r host; do url="https://$host/"; code=$(curl -sS -o /dev/null -w '%{http_code}' -X PURGEALL "$url" || echo ERR); [ "$code" = "000" ] || [ "$code" = "ERR" ] && code="HTTP:$(curl -sS -o /dev/null -w '%{http_code}' -X PURGEALL "http://$host/" || echo ERR)"; printf '%-35s -> %s\n' "$host" "$code"; done #1761312884 exit