Tag » Apache2

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

Linux

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

Apache2

ssl 24/7

While I’ve had ssl on my website for sometime (for anything login related), I had never enabled it by default. First, I had to install the patch the Video Filter module to work with https connections to Youtube. 157 altre parole

How-to

Hosting Grumpydev Imageflair locally

Even though StackOverflow and StackExchange now have implemented their own ImageFlair, I still like the original imageFlair that Grumpydev made at Stack Overflow – Share Your Flair – Now in PNG! 503 altre parole

Development