I moved from mod_php to fcgi style hosting and got the following in Apache error log when I tried to open one of my websites: [Tue Nov 08 08:34:08.357359 2022] [core:alert] [pid 19149] [client 95.158.43.63:14405] /home/domain.com/public_html/.htaccess: Option All not allowed here [Tue Nov 08 08:35:58.058962 2022] [core:alert] [pid 14190] [client 95.158.43.63:46366] /home/domain.com/public_html/.htaccess: Option FollowSymlinks not …
Tag: htaccess
Nov 24 2021
Implementing Security Headers in Azure App Service
If you want to follow best security practices and implement Strict Transport Security and Secure Headers in your Azure App Service you will need to add Security Headers in web.config or .htaccess files in your web application’s root folder. Before you start remember that App Services run on a PaaS. This means that not everything …
Oct 15 2021
No input file specified error
When going on some link you can get “No input file specified” error in your browser. To resolve this error, check that in the file .htaccess there was no line:
1 |
RewriteRule ^(.*)$ /index.php/$1 [L,QSA] |
Copy
May 07 2016
Password Protect with .htaccess and .htpasswd
With .htaccess and .htpasswd we can protect even individual page or file on webserver. To password protect an individual file: