請幫幫我 htaccess文件問題 # Prevent .htaccess and .htpasswd files from being viewed by web clients <Files "^\.ht"> Order allow,deny Deny from all </Files>
# Protect files <Files ~ "^(.*)\.(inc|inc\.php|tpl|sql)$"> Order deny,allow Deny from all </Files>
# Protect directories <Files ~ "^(backup|files|images|include|lang|libs(/.+)?|temp(/.+)?|templates(/.+)?|javascripts(/.+)?)$"> Order deny,allow Deny from all </Files>
# Disable directory browsing Options -Indexes
# Follow symbolic links in this directory Options +FollowSymLinks
# Override PHP settings that cannot be changed at runtime # (If your server supports PHP settings via htaccess you can comment following two lines off) # php_value register_globals 0 # php_value session.auto_start 0
# Customized error messages # ( If you are running in a subfolder please add it, example: "directory/index.php?httpstatus=404" ) ErrorDocument 404 index.php?httpstatus=404
# Set the default handler DirectoryIndex index.php
# URL rewrite rules <IfModule mod_rewrite.c> RewriteEngine On
#Make sure RewriteBase points to the directory where you installed phpLD. #Example: "/phpld" if your installation is in a "phpld" subdirectory.
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.