eEcho blog

A journey of a thousand miles starts with a single step.

Archive for the ‘Apache’ Category

Ubuntu Apache-PHP-MySQL Server

After the default normal installation of Ubuntu, here are the additional steps I need to do to have a Apache-PHP-MySQL Server.
1. SSH Server (for my remote access)
      sudo apt-get install ssh
2. Database Server
sudo apt-get install mysql-server
3. Apache HTTP Server
      sudo apt-get install […]

Logging Apache Subrequests with mod_python

Tue, 02/10/2009 - 15:23 — jcscoobyrs
Recently at work, I’ve been working on writing a Python-based Subversion authorizer. Instead of using mod_authz_svn, which requires your groups and authorization rules be in a text file, we are using something that fits into our product’s needs. Anyways, as I was doing this, I really needed a good way […]

lighttpd Configuration File Options

http://redmine.lighttpd.net/wiki/1/Docs
Here you will find a list of all available configuration options for lighttpd. They are grouped by module, and a link to each module configuration will provide with more detail information about each option, as well as examples, and other guidelines.
Modules written by Lighttpd Users
* Configuration File Options
[…]

Django apache mod_python quick

Install and test mod_python
http://www.eecho.info/Echo/python/configureren-modpython-ubuntu-debian/
NameVirtualHost *
<VirtualHost *>
ServerName ose.eecho.info
    <Location "/">
       SetHandler python-program
       PythonHandler django.core.handlers.modpython
       SetEnv DJANGO_SETTINGS_MODULE ose.settings
       PythonDebug On
       PythonPath "['/home/eecho/Documenten/django/ose/src', '/home/eecho/Documenten/django-trunk'] + sys.p
    </Location>
</VirtualHost>
Configure lighttpd for media files (it is better then apache for static files transfer)
sudo vim /etc/lighttpd/lighttpd.conf

server.port               = 81
$HTTP["host"] == "ose.eecho.info" {
    alias.url += […]

Apache MPM prefork

http://httpd.apache.org/docs/2.2/mod/prefork.html
his Multi-Processing Module (MPM) implements a non-threaded, pre-forking web server that handles requests in a manner similar to Apache 1.3. It is appropriate for sites that need to avoid threading for compatibility with non-thread-safe libraries. It is also the best MPM for isolating each request, so that a problem with a single request will not […]

Choosing an MPM Apache

http://httpd.apache.org/docs/2.2/mpm.html
MPMs must be chosen during configuration, and compiled into the server. Compilers are capable of optimizing a lot of functions if threads are used, but only if they know that threads are being used.
To actually choose the desired MPM, use the argument –with-mpm=NAME with the configure script. NAME is the name of the desired MPM.
Once […]

URL Rewriting Guide

This document supplements the mod_rewrite reference documentation.
It describes how one can use Apache’s mod_rewrite to solve
typical URL-based problems with which webmasters are often
confronted. We give detailed descriptions on how to
solve each […]

W3C The World Wide Web Security FAQ w3

http://www.w3.org/Security/Faq/
The World Wide Web Security FAQ
Lincoln D. Stein & John N. Stewart
Version 3.1.2, February 4, 2002
DISCLAIMER
This information is provided by Lincoln Stein (lstein@cshl.org) and John Stewart (jns@digitalisland.net). The World Wide Web Consortium (W3C) hosts this document as a service to the Web Community; however, it does not endorse its contents. For further […]

fast web server log analyzer

visitors
fast web server log analyzer
Visitors is a very fast web server log analyzer designed to be run from
the command line, with support for text or html output and real-time
statistics generation. It can handle most web server logs including
Apache access logs and is very easy to use: no configuration file and
no database are required. […]

AWStats apache statistics

http://www.eecho.info/Echo/apache/fast-web-server-log-analyzer/
powerful and featureful web server log analyzer
Advanced Web Statistics (AWStats) is a powerful web server logfile
analyzer written in perl that shows you all your web statistics including
visits, unique visitors, pages, hits, rush hours, search engines, keywords
used to find your site, robots, broken links and more. Gives more detailed
information and better graphical charts than webalizer, and […]

AMP Installers

You undoubtedly know where to find these by now, but just in case, the Web sites associated with each
of our three components have incredibly detailed information to help you work out any issues, or report
any bugs you may find in the programs:
❑ For Apache questions and information: www.apache.org
[…]

Installation Configuration LAMP

You can choose to install one, two, or all three components of the AMP package based on your
specific needs. For example, if you are responsible for providing a company-wide intranet and/or
hosting your own Web site, you should probably install all three. If your site is hosted by a third-
party Web hosting company, however, you do […]

Dynamic Paths with mod_rewrite

You can avoid at least the hassle of manually encoding the session ID with a clever
trick.What if the URL looked like this?
http://server.com/<session-id>/page.php3
The browser would automatically send the session ID on every request, treating it as
part of the directory. Of course, if you try to use this format as is, you’ll only get a File
Not […]

Virtual Host Apache

Eenvoudige naam gebaseerde vhosting
Setup: De server machine heeft een primaire naam server.domain.tld. Er zijn twee aliassen (CNAMES) www.domain.tld en www.sub.domain.tld voor het adres server.domain.tld.

Port 80    ServerName server.domain.tld    NameVirtualHost *:80    <VirtualHost *:80>    DocumentRoot /www/domain    ServerName www.domain.tld    …    </VirtualHost>        <VirtualHost *:80>    DocumentRoot /www/subdomain    ServerName www.sub.domain.tld    …    </VirtualHost>
De sterretjes overeenkomen met alle ip adressen. Vanwege het […]

Basic authentication

http://www.berenddeboer.net/rest/authentication.html
REST based authentication
* Summary
* Authentication is hard
* Common authentication issues
* Optional authentication
* User should be able to log off
* Required authentication
* Automatic log out after a period […]

XAMPP Apache

http://www.apachefriends.org/en/xampp.html
Many people know from their own experience that it’s not easy to install an Apache web server and it gets harder if you want to add MySQL, PHP and Perl.
XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use - just download, […]

Multimedia (stap 2)

http://computertip.googlepages.com/multimediainubuntulinux
U hebt al 99 % multimedia-ondersteuning bewerkstelligd via de makkelijke methode: Multimedia (stap 1) , maar u wil de resterende 1 % ook nog toevoegen. Het gaat om het codecpakket w32codecs (voor het afspelen van enkele soorten multimediabestanden) en om het pakket libdvdcss2, waarmee u DVD’s kunt afspelen die zijn beveiligd met CSS. Bij speelfilms […]

Multimedia Ubuntu

http://computertip.googlepages.com/multimediainubuntulinux
Betere multimedia ondersteuning voor ubuntu linux. Hier vind u tips voor configuratie van uw ubuntu systeem. (codecs en spelers)
* Gstreamer extra plugins
* Gstreamer ffmpeg video plugin
* Ubuntu restricted extras (metapakket, bevat zeer veel ontbrekende zaken, waaronder Adobe Flash en Microsoft True Type lettertypes)
* VLC media player
* […]

MultiviewsMatch Handlers

Om apache te laten zoeken naar bestanden die in extensie van Handler vermeld zijn mag MultivieuwsMatch Handlers gebruikt worden.

<Directory "C:/inetpub/archiver/src/com/eEcho/server">       Options Indexes FollowSymLinks MultiViews MultiviewsMatch Handlers       AllowOverride None       Order allow,deny       allow from all       AddHandler mod_python .py       PythonHandler mod_python.publisher       PythonDebug On    </Directory>

Installatie mod_python op Windows

Installatie mod_python op Windows :
* installeer Apache (Windows MSI Binary 2.0.X) http://httpd.apache.org/download.cgi
* installeer Python; controleer versies (Windows MSI 2.4.X) http://www.python.org/download/
* installeer mod_python van http://apache.mirror.rafal.ca/httpd/modpython/win/3.3.1/
Op Windows mag u alle opties standaard laten, dan volg stappen om apache te configureren
* […]