Home arrow Applications Tips arrow Apache Tips
Apache Tips PDF
Sunday, 01 June 2008
Tip 1. Configure Apache to require password for accessing a specific location
-------------------------------------------------------------------------------------------------------

Resource about configuring Apache to require password for accessing a specific location can be found here: http://www.freebsdonline.com/content/view/39/54/


Tip 2. Activate or deactivate listing of files within a directory
-------------------------------------------------------------------------------
To activate listing of files from your browser when accessing a specific directory from an Apache server,
within your <Directory> tag for that specific path, add this:

Options Indexes FollowSymLinks

This will enable file listing for that directory.
If you have this enabled and you want to disable it change "Options" line with:

Options none

Tip 3. Howto Ignore .htaccess file for a specific directory
--------------------------------------------------------------------------
For example if you want Apache to ignore .htaccess file within a directory, between <Directory> tags for that specific directory you will need the following line:

AllowOverride none

 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?