Log in to DirectAdmin.
Go to Advanced Features > MIME Types/Apache Handlers.
Add a custom MIME type:Extension: File extension (e.g., .json).MIME Type: Corresponding type (e.g., application/json).
Extension: File extension (e.g., .json).
MIME Type: Corresponding type (e.g., application/json).
Add a custom handler if needed:Handler: Define the handler (e.g., application/x-httpd-php).Extension: File extension (e.g., .php).
Handler: Define the handler (e.g., application/x-httpd-php).
Extension: File extension (e.g., .php).
Save changes.
Managing MIME Types and Apache Handlers
Table of contents
Was this article helpful?