Tag » Apache2

Installing Apache2 Server, MySQL DB, and PHP on Ubuntu 14.04

First thing we need to do is run updates, so login as root.

sudo apt-get update

Second step is to install apache2

sudo apt-get install apache2… 529 altre parole

Ubuntu

OpenSuSE Tumbleweed: When apache breaks with "Invalid argument: AH00069: make_sock: for address [::]:443"

I had this strange break down of Apache 2 after updating to the most recent openSuSE Tumbleweed in the /var/log/apache2/error_log:

   AH01887: Init: Initializing (virtual) servers for SSL
   AH01876: mod_ssl/2.4.26 compiled against Server: Apache/2.4.26, Library: OpenSSL/1.0.2k
AH00558: httpd-prefork: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1.
717 altre parole
Power User

Installing the LAMP stack

LAMP stands Linux, Apache2, MySQL and PHP5. It is a collection of packages that create a functional web server. LAMP comes from Operating System, Web Server, Database, and Programming Language respectively. 124 altre parole

Easy

Setting up apache httpd and subversion on a redhat host to integrate with Windows AD Domain authentication

The following setup worked for me:

1 using kerberos for the auth module: mod_auth_kerb.so.

I tried to use mod_ntlm but it proved too hard to get it to work on Apache 2.2 on redhat. 168 altre parole

Redhat

INSTALL APACHE2 IN UBUNTU

1. Check Before install
apache2 -v [ Return currently installed version ]
2. Install (If not installed)
sudo apt-get install apache2
3. Check After install  6 altre parole

Ubuntu

Apache2 mod_headers練習:CORS

測試環境是Ubuntu下的Apache2,預設安裝應該不會enable mod_headers。首先,可以把/etc/apache2/mods-available/headers.load這個檔案cp到/etc/apache2/mods-enabled/目錄下。然後在/etc/apache2/mods-enabled/目錄下建立一個headers.conf檔案來設定mod_headers。

<IfModule mod_headers.c>
    # all site
    # Header set Access-Control-Allow-Origin "*"

    <Location "/test">
        Header set Access-Control-Allow-Origin "*"
    </Location>
</IfModule>

希望做出來的狀況是發給/test的request的response header都加上CORS的設定,而其他路徑則不加上這個header。這裡使用Location來做這設定。用了一個很基本的語法設定Access-Control-Allow-Origin… 310 altre parole

Cannot Install Web Server (insserv Issue)

In our lab we run Voyage Linux (3.16.7-ckt9-voyage) on our APUs and recently the installation of a web server (both nginx and apache2) failed with the line: 108 altre parole