Improve contact form styling with dedicated CSS file Move contact form styles from base.css to separate file Add security measures to custom directory with .htaccess Update honeypot field styling and implementation
10 lines
255 B
ApacheConf
10 lines
255 B
ApacheConf
# Deny access to all files in custom directory
|
|
# Only allow access through PHP includes
|
|
<Files "*">
|
|
Require all denied
|
|
</Files>
|
|
|
|
# Allow access to CSS and font files
|
|
<FilesMatch "\.(css|woff|woff2|ttf|eot|svg)$">
|
|
Require all granted
|
|
</FilesMatch>
|