fix apache persmissions again

This commit is contained in:
Miraty 2024-04-09 18:23:40 +02:00
parent de3fd449e6
commit d21a838d70

View file

@ -20,7 +20,8 @@ if [[ $OS = "arch" ]]; then
cp -r /install/apache/* /etc/httpd/
mv /etc/httpd/httpd.conf /etc/httpd/conf/httpd.conf
mkdir -m 0755 -p /srv/servnest/ht/usr/lib
mkdir -m 0755 /srv/servnest/ht/usr
mkdir -m 0755 /srv/servnest/ht/usr/lib
ln /usr/lib/libc.so.6 /srv/servnest/ht/usr/lib/libc.so.6
fi
@ -34,7 +35,8 @@ if [[ $OS = "debian" ]]; then
sed -i 's/LoadModule log_config_module/#LoadModule log_config_module/' /etc/apache2/apache2.conf
sed -i 's#/var/log/httpd/#/var/log/apache2/#g' /etc/apache2/apache2.conf
mkdir -m 0755 -p /srv/servnest/ht/lib/x86_64-linux-gnu
mkdir -m 0755 /srv/servnest/ht/lib
mkdir -m 0755 /srv/servnest/ht/lib/x86_64-linux-gnu
ln /lib/x86_64-linux-gnu/libgcc_s.so.1 /srv/servnest/ht/lib/x86_64-linux-gnu/libgcc_s.so.1
ln /lib/x86_64-linux-gnu/libc.so.6 /srv/servnest/ht/lib/x86_64-linux-gnu/libc.so.6
fi