From 699b60c3d68b1f83f811d0091db1e765d72f1809 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Tue, 6 Oct 2009 09:26:55 -0700 Subject: [PATCH] Example .htaccess file --- htdocs/.htaccess | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 htdocs/.htaccess diff --git a/htdocs/.htaccess b/htdocs/.htaccess new file mode 100644 index 00000000..a9bffef9 --- /dev/null +++ b/htdocs/.htaccess @@ -0,0 +1,33 @@ + +# SetHandler php-script + +# +# Order allow,deny +# Allow from all +# +# +# +# Order deny,allow +# Deny from all +# + +# RewriteEngine On + +# # Not if it's the root URL. You might want to comment this out if you +# # want to use an explicit /index.php for getting to the admin pages. +# RewriteCond %{REQUEST_URI} !^/$ +# RewriteCond %{REQUEST_URI} !^/davical/$ + +# # Not if it explicitly specifies a .php program, stylesheet or image +# RewriteCond %{REQUEST_URI} !\.(php|css|js|png|gif|jpg) + +# # Everything else gets rewritten to /caldav.php/... +# RewriteRule ^(.*)$ /caldav.php$1 [NC,L] + +# # php_value include_path /usr/share/awl/inc +# php_value magic_quotes_gpc 0 +# php_value register_globals 0 +# php_value open_basedir 1 +# php_value error_reporting "E_ALL & ~E_NOTICE" +# php_value default_charset "utf-8" +