Linux Tutorials on the topic “apache”

  • .htaccess Based Authentication On Subdirectories

    Author: nayyaresTags: , Comments: 5

    .htaccess Based Authentication On Subdirectories .htaccess is used to provide facility of changing configuration per directory basis, this file can contain one or more directives that are going to be forced on the directory that contains the.htaccess file. In this howto, I will take a dummy scenario of two parallel level subdirectories and will implement password authentication on both of them. This means only those users can access these directories that have the correct username and password.

  • Install and Configure Auth Shadow on Debian/Ubuntu

    Author: ThanatosTags: , , , , Comments: 3

    Install and Configure Auth Shadow on Debian/Ubuntu Auth Shadow or mod-auth-shadow is a module for apache (and apache2, sort of) that enables authentication against /etc/shadow. The benefits being that any system user with a password can be authenticated for web_dav, subversion or simply an https server. The only other way to do this is with PAM. That method is dangerous because the apache user (www-data in my case) must be able to read /etc/shadow. Obviously, not a good idea. Auth Shadow accomplishes this safely by using a intermediate program called validate. This works because validate can be owned by root but executable by everyone. In the event that your server is compromised through apache, your password file will not be readable.

  • Setting Up A News-Voting Website With Pligg

    Author: Falko TimmeTags: , Comments: 2

    Setting Up A News-Voting Website With Pligg This article shows how to set up your own news-voting website with Pligg. Pligg is a content-management system published under the Affero General Public License, and it is written in PHP and uses a MySQL database for storing its data. With a little work you can create your own community and let users vote news to the front page.

  • How to make apache2 authenticate against MS SQL 2000 Server

    Author: spatsTags: Comments: 0

    How to make apache2 authenticate against MS SQL 2000 Server In a recent project I needed to make apache2 authenticate against MS SQL 200 Server. I did some hacks to make it happen. So to keep history log of what was done this document was made.

  • Configuring Tomcat5 and Apache2 with Virtual Hosts using mod_jk

    Author: ctroypTags: , Comments: 21

    Configuring Tomcat5 and Apache2 with Virtual Hosts using mod_jk This tutorial explains how I was able to setup a web server in order to support Java Server Pages (JSP) and Servlets using virtually hosted websites. The ultimate goal is to provide instructions on how to incorporate JSP/Servlet support on the ISPConfig web hosting software. I felt it was necessary to provide this first segment separately for those that do not wish to use the ISPConfig web hosting control panel.

  • How To Set Up A Ubuntu/Debian LAMP Server

    Author: olddocksTags: , , , , Comments: 43

    How To Set Up A Ubuntu/Debian  LAMP ServerThis tutorial shows a quick way to set up your own LAMP server (Linux + Apache + MySQL + PHP/Perl)  on a Ubuntu or Debian system.

  • Apache-mod_ssl-PHP-Howto

    Author: Falko TimmeTags: , Comments: 0

    Apache-mod_ssl-PHP-Howto This document describes how to install an Apache web server (1.3.x) with mod_ssl and PHP enabled.

  • Apache2-SSL-PHP5-Howto (+ Zend Optimizer And IonCube Loader)

    Author: Falko TimmeTags: , Comments: 6

    Apache2-SSL-PHP5-Howto (+ Zend Optimizer And IonCube Loader) This document describes how to install an Apache web server (2.0.x) with SSL and PHP5 (with Zend Optimizer and ionCube Loader) enabled.

  • Running Apache2 With PHP5 And PHP4 At The Same Time

    Author: Falko TimmeTags: , Comments: 6

    Running Apache2 With PHP5 And PHP4 At The Same Time This tutorial shows how to install and configure Apache2 with PHP5 and PHP4 enabled at the same time. Because it is not possible to run both PHP5 and PHP4 as Apache modules, we must run one of them as CGI, the other one as Apache module. In this document I will use PHP5 as Apache module and PHP4 as CGI, and I will describe the setup for the Linux distributions Debian Sarge (3.1) and Ubuntu 5.10 (Breezy Badger).

  • How do I create SSL certificates with OpenSSL on the command line?

    apache Author: Falko TimmeTags: Comments: 0

    You do it like this: openssl genrsa -des3 -passout pass:yourpassword -out /path/to/your/key_file 1024 openssl req -new -passin pass:yourpassword -passout pass:yourpassword -key /path/to/your/key_file -out /path/to/your/csr_file -days 365 openssl req -x509 -passin pass:yourpassword -passout pass:yourpassword -key /path/to/your/key_file -in /path/to/your/csr_file -out /path/to/your/crt_file -days 365 openssl rsa -passin pass:yourpassword -in /path/to/your/key_file -out /path/to/your/key_file2 chmod 400 /path/to/your/key_file2