≡ 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…]

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