DirectoryIndex mail.cgi index.php index.html # We do not need the RewriteEngine on, # and sometimes enabling it mucks up Dada Mail functioning: RewriteEngine Off # See: http://dadamailproject.com/d/features-restful_web_services.pod.html # The below line may need to be uncommented too allow Web Services to work: # SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0 # These headers are used to stop the server from caching screens used by # Dada Mail. Uncomment and customize to taste: # # Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" # Header set Pragma "no-cache" # Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT" RedirectMatch 301 ^[[relativeurl]]/$ [[softurl]]/mail.cgi