For a few hours now, I've been trying to create a working .htaccess
file that forbids access to all files with the exception of a few files and folders.
But whenever I write Allow from all in my .htaccess
file in a direct subdirectory of my root folder /srv/www/htdocs/
, it just says "Server error!" the end. In the attachment I send you my current httpd.conf
and `default-server.conf.
My system:
OS: openSUSE Tumbleweed x86_64
Host: 20XXS00100 ThinkPad X1 Carbon Gen 9
Kernel: 5.13.13-1-default
Uptime: 12 hours, 14 mins
Packages: 5771 (rpm), 8 (snap)
Shell: bash 5.1.8
Resolution: 1920x1200
DE: Plasma 5.22.4
WM: KWin
Theme: Breeze Dark [Plasma], Breeze [GTK2/3]
Icons: [Plasma], breeze-dark [GTK2/3]
Terminal: konsole
CPU: 11th Gen Intel i7-1165G7 (8) @ 4.700GHz
GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics]
Memory: 5945MiB / 31820MiB
If you can help me with this, I would be very grateful!
default-server.conf: https://www.opensuse-forum.de/wcf/attachment/15371-default-server-conf-txt/
httpd.conf: https://www.opensuse-forum.de/wcf/attachment/15372-httpd-conf-txt/