This parameter defines how many simultaneous request can be served. Any connection request from browsers that come in after that will be queued. Apache prefork, StartServers, MaxSpareServers and MinSpareServers In the most common case, you will be using Apache in the prefork mode, meaning one process per connection, with a pool of processes pre-forked to [...]
This is an exclusive! and free! add-on product for cPanel/WHM. The product provides you with an interface to the cPanel mod_security implementation from within WHM. With ConfigServer ModSecurity Control you can: Disable mod_security rules that have unique ID numbers on a global, per cPanel user or per hosted domain level Disable mod_security entirely, also on [...]
Edit conf file: /etc/lighttpd/lighttpd.conf Enable mod_expire and mod_compress. Expire static files set for 3 days: $HTTP["url"] =~ “\.(js|css|gif|jpg|png|ico|txt|swf|html|htm)$” { expire.url = ( “” => “access 3 days” ) } Compress mime types: compress.cache-dir = “/var/cache/lighttpd/compress/” compress.filetype = (“text/plain”, “text/html”, “text/css”, “text/xml”, “text/javascript”) Cleanup the compressed cache via daily cron script: #!/bin/bash # lighttpd_cache_clean # Clean [...]
April 26th, 2013 |
admin |
Some one posted about, “What is Modules in Linux and how to add it in apache,” on our forum. Therefore, I decided to create a small howto for adding new modules under Apache. The Apache HTTP Server is a modular program. So as a UNNIX/Linux administrator you can choose the functionality to include in the [...]
April 23rd, 2013 |
admin |
Mapping john.webserver.com to http://www.webserver.com/user.php?name=john is just by changing a few parameters in http.conf file In httpd.conf file, <VirtualHost se.rv.er.ip.ad.re.ss> ServerAdmin info@servername.com DocumentRoot /var/www ErrorLog /var/log/apache/apache-error.log TransferLog /var/log/apache/apache.log ServerName www.servername.com ServerAlias *.servername.com RewriteEngine on RewriteCond %{HTTP_HOST} !^www.* [NC] RewriteCond %{HTTP_HOST} ^([^\.]+)\.servername\.com RewriteRule ^/$ http://www.servername.com/user.php?user=%1 </VirtualHost> The lines for this feature, RewriteEngine on activating rewrite option RewriteCond [...]
April 11th, 2013 |
admin |
ou can redirect browser to use SSL secure port using .htaccess file with Rewrite Rules. Create a .htaccess file with the below Rewrite rule. Options +FollowSymLinks RewriteEngine On RewriteCond %{SERVER_PORT} !=443 RewriteRule ^ https://secure.yourdomain.com%{REQUEST_URI} [NS,R,L]
April 7th, 2013 |
admin |
I’m trying to install the latest version of Lighttpd v1.4.29 web server under RHEL 6.1 AMD64 and getting the following error: network.c: In function ‘network_init’: network.c:483: error: ‘EC_KEY’ undeclared (first use in this function) network.c:483: error: (Each undeclared identifier is reported only once network.c:483: error: for each function it appears in.) network.c:483: error: ‘ecdh’ undeclared [...]
March 31st, 2013 |
admin |
Apache has public_html directory support. With this you specify the name of the directory which is appended onto a user’s home directory if a ~user request is received. For example http://domain.com/~rocky/file.html will be rocky’s home directory /home/rocky/public_html/file.html. Recently I took small part time job to setup web server for university. I want to give every [...]
March 28th, 2013 |
admin |
If you are running chrooted lighttpd web server, upgrade procedure is a bit tricky. You need to upgrade webserver, as well as php and related extensions. Following is common sequence you need to follow. I am just going to write down all steps, followed by actual Linux commands. If you need detailed instructions, please see [...]
March 18th, 2013 |
admin |
If you ever lost with Apache modules or if you find it difficult to download and configure all needed modules then ApacheToolbox is the answer to all your question. It is use to configures Apache with a variety of options and modules. It provides a means to compile Apache with 63 3rd party killer modules [...]