# Define /phpldapadmin alias Alias /phpldapadmin /var/www/html/phpldapadmin-0.9.8.4 DirectoryIndex index.php Options +FollowSymLinks AllowOverride None Order allow,deny Allow from all AddType application/x-httpd-php .php php_flag magic_quotes_gpc Off php_flag track_vars On php_flag register_globals On php_value include_path . AddType application/x-httpd-php .php Action application/x-httpd-php /cgi-bin/php4 # redirect to https when available (thanks omen@descolada.dartmouth.edu) RewriteEngine on RewriteCond %{HTTPS} !=on RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [L] # Redirect /phpldapadmin https://vpdc/phpldapadmin