Top ".htaccess" questions

Directory-level configuration file used by Apache web servers.

How to increase Maximum Upload size in cPanel?

I am using cPanel of my website to increase maximum upload file size for wordpress media uploads. I have used …

php wordpress .htaccess cpanel
How to get htaccess to work on MAMP

I am trying to get the .htaccess working in MAMP. The content of the .htaccess is a simple redirect line …

.htaccess mamp
.htaccess 301 redirect of single page

After a site redesign, I've got a couple of pages that need to be redirected. Everything is staying on the …

php .htaccess seo http-status-code-301
CodeIgniter 500 Internal Server Error

I downloaded a PHP script written using CodeIgniter. when I run it from the localhost, on going to the admin …

php .htaccess codeigniter internal-server-error
How to use a RELATIVE path with AuthUserFile in htaccess?

I have a .htaccess that uses basic authentication. It seems the path to the .htpasswd file isn't relative to the …

.htaccess .htpasswd
Leverage browser caching, how on apache or .htaccess?

What to do here? I have a huge list of files that Google Speed Page said to "Leverage Browser Caching".. …

php .htaccess browser-cache
What is .htaccess file?

I am a beginner to Zend framework and I want to know more about the .htaccess file and its uses. …

apache .htaccess webserver
rewrite a folder name using .htaccess

I am wondering wether it's possible to use .htaccess to rewrite a folder name. What I mean is this. Lets …

.htaccess rewrite
How can I use an .htaccess file in Nginx?

I am currently migrating my website from Apache to nginx, but my .htaccess file is not working. My website is …

apache .htaccess mod-rewrite nginx
Add Secure and httpOnly Flags to Every Set-Cookie Response in Apache httpd

I'm running Apache 2.2.26: Server version: Apache/2.2.26 (Unix) Server built: Jan 17 2014 12:24:49 Cpanel::Easy::Apache v3.22.30 rev9999 +cloudlinux I'm attempting to use …

.htaccess security cookies httponly mod-headers