≡ Menu

Latest in Apache

Tutorials, howtos, and general web server security & optimization tips about Apache web server under Linux and Unix like operating systems.

How to fix Httpoxy a CGI PHP/Nginx/Apache/Go application vulnerability on Linux or Unix

A serious vulnerability was discovered in how CGI scripts are used by Linux or Unix that use PHP, Go, Python, and other scripting languages. How do I fix Httpoxy a CGI application vulnerability on Linux or Unix for HAProxy, Varnish, Nginx, PHP, Go, Python, Tomcat and others?
[click to continue…]

How to Force Apache To Show a HTTP-410 Gone Status Code

I removed www.example.com/foo/file.html from my domain. But, it is still being crawled by Google/Yahoo and many other bots. How do I return a HTTP-410 gone error i.e. tell these bots that resource permanently does not exist using Apache HTTPD server on a CentOS/RHEL/Fedora/Ubuntu/Debian and Unix-like operating system?
[click to continue…]

How to install Composer on Debian / Ubuntu Linux

I‘m trying to upgrade my Mediawiki installation and I’m getting an error that read as follows:
    Error: your composer.lock file is not up to date, run “composer update” to install newer dependencies
How do I install composer command for my PHP installation on Debian or Ubuntu Linux running LAMP or LEMP stack? How do I Install and use Composer on running Ubuntu Linux server and fix this problem for mediawiki installation and/or manage and install PHP packages and dependencies for my project?
[click to continue…]

Debian 8 and Ubuntu 14.04 LTS Install Suhosin PHP Extension To Protect Your Server

Suhosin is an advanced protection system for PHP installations. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core. How can I install suhosin extension on a Debian v8.x or Ubuntu Linux 14.04 LTS server?
[click to continue…]

How To Setup a LAMP Server on Debian Linux 8 (Jessie)

How can I setup up a LAMP (Linux, Apache, MySql, PHP) stack on Debian Linux version 8 (Jessie) using command line options?
[click to continue…]

How To Install Apache, MySQL, PHP stack on FreeBSD Unix Server

I‘m a new FreeBSD Unix system users. How can I setup and install Apache, MySQL, PHP stack on a FreeBSD 10 based Unix server?
[click to continue…]

CentOS and RHEL 7: Install Linux, Apache, MariaDB, PHP (LAMP) Stack

I am new Red Hat Enterprise Linux version 7 user/sysadmin/developer. This version made the big number change for RHEL 7/CentOS 7. How can I install LAMP (Linux, Apache, MariaDB, PHP) stack on a RHEL version 7 or CentOS Linux version 7 using CLI or over ssh based session?
[click to continue…]

CentOS / RHEL: Install php-tidy Module / Extension

I am a new CentOS / RHEL / Red Hat / Fedora Linux server user. I need to provide tidy library support using php. How do I install php-tidy on RHEL or CentOS Linux for Apache server?
[click to continue…]

OS X Mountain Lion 10.8 Set Apache and PHP Web-Server

I am using Apple OS X Mountain Lion 10.8.4 on my Macbook pro. For my school project I need to write an app in PHP 5 and Apache. However, I am unable to find the Web Sharing option from the Sharing panel in System Preferences. How do I install Apache and PHP5 in OS X version 10.8.4? How do I enable HTTPD and test my web app?
[click to continue…]

CentOS / RHEL 5/6: Uninstall Apache (HTTPD) Server

I do not want to use Apache server on a CentOS / RHEL 6 server. How do I uninstall and remove Apache (HTTPD) server using command line option on Red Hat Enterprise Linux / CentOS / Fedora Linux based server?
[click to continue…]