≡ Menu

apache server

Linux / Unix: curl Command Pass Host Headers

How do I send a header to my Web server (such as Nginx / Lighttpd / Apache / ISS) on a Apple OS X or Unix or Linux based system using a curl command line option for testing and debugging my web apps or server nodes behind a load balancer?
[click to continue…]

Mediawiki Fix Internal Server Host Names / Redirection In shared Hosting or Proxy Setup

Our customer support wiki runs on an internal host (ip:, hostname a-node100.:300) and it is behind the nginx reverse proxy server. However, our Apache server end up displaying internal server name http://a-node100.:300/, which results into an unexpected redirection and timeouts as http://a-node100.:300/ is not accessible over the Internet. How do I force nginx or apache to use the base URL of our server (http://support.example.com/wiki/)?

[click to continue…]

Start / Stop / Restart Apache Web Server Via SSH

How do I start / stop or restart Apache web sever via SSH (secure shell) under Linux or UNIX operating systems?
[click to continue…]

Fedora Linux: Start / Stop / Restart Apache Server

How do I start / stop / restart the Apache server under Fedora Linux using command line options?
[click to continue…]

Linux: Find Out Apache User Name

How do I find out my apache username under Linux operating system or CentOS Linux server?
[click to continue…]

HowTo: UNIX Restart Apache Server

How do I restart Apache web server under UNIX operating systems using command line or over the ssh session?
[click to continue…]

FreeBSD: Restart Apache Server

How can I restart Apache web server under FreeBSD operating systems?

To restart the Apache version 2.2 under FreeBSD, run the following as root user:
# /usr/local/etc/rc.d/apache22 restart
To stop Apache, run:
# /usr/local/etc/rc.d/apache22 stop
To start Apache, run:
# /usr/local/etc/rc.d/apache22 start

Apache: Make Changes In a Config File Take Effect Without Restarting Server

Q. How do I make changes in a Apache server config file to take effect without restarting the Apache server itself w/o interrupting users' current session?
[click to continue…]

Find out Apache Version

I have a rented dedicated LAMP solution stack server. I need to know what version of Apache I am running. How do I find out my Apache server version? How do I find out what modules loaded using command line option on Linux or Unix like operating systems?
[click to continue…]

Apache Log Files

Q. How do I find out Apache http server log files location? How do I change the location of Apache log file under Linux / UNIX operating system?
[click to continue…]