Top ".htaccess" questions

Directory-level configuration file used by Apache web servers.

.htaccess: How to "Specify a cache validator"?

I'm running Google PageSpeed on my site and it's tell me that I need to "Specify a cache validator." The …

performance .htaccess pagespeed
Domain doesn't work without `www`

When I type in my domain name like without the www (like http://example.com), it doesn't work and gives …

.htaccess web dns subdomain
Avoid public folder of laravel and open directly the root in web server

I was going through all possible sample on internet to solve this. Still it is an headache. I just want …

php .htaccess laravel webserver laravel-4
.htaccess Rewrite to Force Trailing Slash at the end

I have the following code in my htaccess file: # Force Trailing Slash RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^[^/]+$ %{REQUEST_URI}/ [L,…

.htaccess url mod-rewrite
htaccess exclude one url from Basic Auth

I need to exclude one Url (or even better one prefix) from normal htaccess Basic Auth protection. Something like /callbacks/…

apache .htaccess authorization
.htaccess: RewriteEngine not allowed here

I uploaded the .htaccess to the server and received an Error 500 (Internal Server Error). And in the error log I …

.htaccess mod-rewrite apache httpd.conf
Do you have to restart apache to make re-write rules in the .htaccess take effect?

I have pushed my .htaccess files to the production severs, but they don't work. Would a restart be the next …

apache .htaccess mod-rewrite restart
.htaccess issues: No input file specified

Can someone help me with this? I'm feeling like I've been hitting my head against a wall for over 2 hrs …

php apache .htaccess codeigniter
how to redirect domain according to country IP address

I made a site it with some subdomains; according to the country's IP address the user is supposed to be …

php .htaccess redirect geolocation geotargetting
symfony2 rewrite rules .htaccess app.php

I uploaded my symfony2 project to server grove. The main page loads, but all the links are broken. I tried …

.htaccess symfony mod-rewrite