# Note that we use # for comments.

# To turn off register globals (for security)
php_flag register_globals 0

# To turn on magic quotes (for security; default is on)

php_flag magic_quotes_gpc on

# Prevent listing/accessing of file .htaccess
#<Files .htaccess>
#order allow,deny
#deny from all
#</Files>

# Prevent listing/accessing of file .htpasswd
#<Files .htpasswd>
#order allow,deny
#deny from all
#</Files>

# You can prevent accessing all files whose names
# begin with .ht as follows:
<Files ".ht*">
deny from all
</Files>


#The following lines are for enabling SSI (Server Side Includes) commands:
Options +Includes
AddType text/html .shtml .shtm .html
AddOutputFilter INCLUDES .shtml .html .htm .shtm

# If you want to prevent listing of files in a directory,
# include the following line:
#Options -Indexes

# The following is to specify the index file in a
# directory. They'll be used in the order they're listed.
DirectoryIndex index.shtml index.php index.html

# The following are for custom errors (note there are many
# other types of errors):

# Error 403: Forbidden.
ErrorDocument 403 http://www.cs.fredonia.edu/abu-jeib/403.html

# Error 404: not found.
ErrorDocument 404 http://www.cs.fredonia.edu/abu-jeib/404.html

