I created a new domain for pc-freak’s exploit collection
I faced a small issue in creating the new VirtualHost to have a proper directory
listing, cause by default directory listing on my FreeBSD running Apache 2.0.63
is disabled.
It’s quite a common problem I’ve faced over the years of administration of
Apache Servers, everyting I had to enable directory listing for some domain
I had to check in Google again and again. I have to admit this is pretty boring.
Thus I decided to post the solution on my blog just in case if I have to enable
directory listing in the future. Here is the exact configuration directives:
ServerAdmin someemail@somehost.com DocumentRoot /util/exploitworld/ ServerName someservername.com AddDefaultCharset Off Options Indexes FollowSymLinks ExecCGI AllowOverride All Order allow,deny Allow from allThat’s it directory listing for someservername.com is already enabled. Cheers 🙂
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Hey long time now see, thanks for dropping back again! 🙂
More helpful Articles
- Allow Directory Listing in Apache Webserver / Get around Directory index forbidden by Options directive
- Adding proxy to yum repository on Redhat / Fedora / CentOS and other RPM based Linux distributions, Listing and enabling new RPM repositories
- What is inode and how to find out which directory is eating up all your filesystem inodes on Linux, Increase inode count on a ext3 ext4 and ufs filesystems
- Remove \r (Carriage Return) from string with standard bash shell / sed / tr / vim or awk – Replace \r hidden messy characters from files
- All Debian Linux package repository apt sources.list file for Debian versions 6, 7, 8, 9, 10, 11 and 12
- KVM Creating LIVE and offline VM snapshot backup of Virtual Machines. Restore KVM VM from backup. Delete old KVM backups
- Analyze disk space usage in Linux / BSD with du / find and filelight /qdirstat / baobab GUI disk usage analyzers to check what takes up your disk space on Unix like OSes
- Enable zabbix agent to work with SeLinux enabled on CentOS 7 Linux
- CentOS 8 / Redhat 8 insert additional guests additions to VM to enable Fullscreen, Copy / Paste and Shared Folder from host OS
- Install and configure IBM TSM Backup Archive client on CentOS, Redhat, Fedora Linux
- How to create SD Card DATA dump image to .ISO with dd and mount it with imdisk from command line on Windows CygWin with MobaXterm
- Listing installed RPMs by vendor installed on CentOS / RedHat Linux
- Linux: Howto Disable logging for all VirtualHosts on Apache and NGINX Webservers one liner
- IBM TSM dsmc console client use for listing configured backups, checking set scheduled backups and backup and restore operations howto
Download PDF
Tags: apache, directory, enable, Listing
This entry was posted on Friday, January 15th, 2010 at 4:00 am and is filed under System Administration. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.