Apache is not sending 304 response (if mod_deflate and AddOutputFilterByType is enabled)

This is a known bug in Apache. See Apache bug #45023, and summary of Apache 304 etags and mod_deflate. Rebuilding from svn will fix the issue. The resolution was to revert the change that appended “-gzip” to the etag. However, there are associated HTTP compliance problems. If you can’t rebuild Apache, there is a suggested … Read more

WAMP 403 Forbidden message on Windows 7

The access to your Apache server is forbidden from addresses other than 127.0.0.1 in httpd.conf (Apache’s config file) : <Directory “c:/wamp/www/”> Options Indexes FollowSymLinks AllowOverride all Order Deny,Allow Deny from all Allow from 127.0.0.1 </Directory> The same goes for your PHPMyAdmin access, the config file is phpmyadmin.conf : <Directory “c:/wamp/apps/phpmyadmin3.4.5/”> Options Indexes FollowSymLinks MultiViews AllowOverride … Read more

How to automatically redirect HTTP to HTTPS on Apache servers?

I have actually followed this example and it worked for me 🙂 NameVirtualHost *:80 <VirtualHost *:80> ServerName mysite.example.com Redirect permanent / https://mysite.example.com/ </VirtualHost> <VirtualHost _default_:443> ServerName mysite.example.com DocumentRoot /usr/local/apache2/htdocs SSLEngine On # etc… </VirtualHost> Then do: /etc/init.d/httpd restart

Accessing localhost (xampp) from another computer over LAN network – how to?

Localhost is just a name given for the loopback, eg its like referring to yourself as “me” .. To view it from other computers, chances are you need only do http://192.168.1.56 or http://myPcsName if that doesnt work, there is a chance that there is a firewall running on your computer, or the httpd.conf is only … Read more