Sample Header Ad - 728x90

How to configure Apache for Authentication

0 votes
0 answers
65 views
i've got a Netgear Readynas 212 and I'm trying to set up a directory isting for a share. Shares are located in /data/, where /data/share/ is the folder supposed to be listed. On the NAS initial Share on web access is the /data/share/ > /etc/apache2/sites-available/000-default.conf ServerAdmin webmaster@localhost DocumentRoot /data/share Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Require all granted ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined With a2ensite 000-default.conf I've set the conf as default Also Rewrite Engine with a2enmod rewrite > .htaccess in /data/share # Apache Autoindex Directives Options +Indexes IndexOptions ShowForbidden IndexOptions FancyIndexing HTMLTable SuppressRules ShowForbidden IndexOptions IconsAreLinks ScanHTMLTitles NameWidth=* DescriptionWidth=* # Autoindex-Strapdown Directives AddType text/plain .md HeaderName HEADER.md ReadmeName README.md # Customize by setting theme and title IndexHeadInsert "conf = {theme: 'cyborg', title: 'Mitarbeiterverzeichnis'}; \ \ " # Icons using Bootstrap's Glyphicon set DefaultIcon Image AddIcon Image ^^BLANKICON^^ AddIcon Image ^^DIRECTORY^^ AddIcon Image .. AddIconByType (TXT,https://10.0.1.222/icons/file.svg) text/* AddIconByType (IMG,https://10.0.1.222/icons/picture.svg) image/* AddIconByType (SND,https://10.0.1.222/icons/music.png) audio/* AddIconByType (VID,https://10.0.1.222/icons/film.png) video/* **I've already downloaded icons and created a folder inside the listing share for them but still get the response .gif missing while debugging with the browser even though I've nowhere set those.** enter image description here I've also tried using ramlmn's Directory Listing , no success. Maybe someone has an idea what im missing
Asked by BlackArch.py (1 rep)
Sep 14, 2022, 08:22 AM
Last activity: Sep 14, 2022, 10:14 AM