apache server


Using Apache Server Variables for Environment Settings

…ict corporate policies will directly affect their creativity. Luckily with Apache and PHP it is possible to create unique profiles for each …conf to be part of our projects. In this folder, we can add the production server's Apache configurations. Each user that checks out the pro…

http://idiallo.com/blog/apache-server-environment-settings

Published on | Views: 1134

Changing Apache Server Signature

…sending you this information anyway with each web request. Actually I use Apache and I said it many times on this blog. Giving up this info…A quick question. Do you need to know what Web Server I am running? Your answer is yes? I know, your answer is "I don't really care." Yes, I…

http://idiallo.com/blog/changing-apache-server-signature

Published on | Views: 199

Apache or Nginx prints gibberish at the end of static file

…If you struggled for a while trying to figure out why apache or nginx crops the content of your CSS files or it adds a bunch of gibberish at…inx/ or /usr/local/etc/nginx/conf/ and set the directive sendfile to off. server { ... sendfile off; } The value is most probably…

http://idiallo.com/blog/apache-nginx-prints-gibberish-on-static-files

Published on | Views: 314

Making PHP as fast as a Web server to send files

…ocate 122880 bytes) in /var/www/website.com on line 42 How can Nginx and Apache serve files that are bigger then the maximum memory availa…Web servers are very good at streaming files and currently Nginx holds the throne when it comes to serving static files. My blog used to go …

http://idiallo.com/blog/making-php-as-fast-as-nginx-or-apache

Published on | Views: 4035

How to set up a firewall properly on your web server

…website, I'd have to create an HTTP request and carefully simulate the way Apache handles it. But with the loop back interface, I don't nee…One of the things that get usually ignored on a server is the firewall. A firewall is a security measure to block all unwanted connections. …

http://idiallo.com/blog/firewall-setup

Published on | Views: 1398

Getting started with your first website: Part 2 - WordPress

…lected a hosting company and a operating system to run our server. We used Apache as a web server, MySQL as a database, and PHP as a program…orial we have selected a hosting company and a operating system to run our server. We used Apache as a web server, MySQL as a database, and …

http://idiallo.com/blog/creating-your-first-website-part-2

Published on | Views: 3042

Sharing files and directories in Ubuntu Server

…out creating your own CDN you must have wondered how to share files across servers. I use one server to host my code and another to host my …

http://idiallo.com/blog/file-sharing-on-ubuntu-web-server

Published on | Views: 10425

Security by denying everything

…ve the user the option to set up some rules. For example, when I set up an apache webserver, there are rules to determine which files are ac…r the option to set up some rules. For example, when I set up an apache webserver, there are rules to determine which files are accessible t…

http://idiallo.com/blog/deny-all

Published on | Views: 693

CSS minifier in PHP

…hat are the options to serve it very fast to the user? Using Nginx I use Apache as a web server. Nginx is better predisposed to serve stat…ons to serve it very fast to the user? Using Nginx I use Apache as a web server. Nginx is better predisposed to serve static files. All th…

http://idiallo.com/blog/css-minifier-in-php

Published on | Views: 5227

Poor man's way of handling 1.3 million web request

… with 512MB of RAM and a 20GB SSD. Oh! it only cost and $5 a month. I run Apache and MySQL with my own PHP framework which is very lightwei… 1700 people at a time reading my blog and that was plenty to overwhelm my server. The article in question is title: …

http://idiallo.com/blog/handling-1-million-web-request

Published on | Views: 9018

Ajax without jQuery

… we have an active XMLHttpRequest object we can use to fetch data from our server. The method we need to set all our options is .open(). It …

http://idiallo.com/javascript/ajax-without-jquery

Published on

Using a progress bar to load assets

…think that the website has crashed. The images source are coming from the server, either through an ajax request, or directly printed on th…

http://idiallo.com/javascript/assets-progress-bar

Published on