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?
[continue reading…]
apache server
Our customer support wiki runs on an internal host (ip:192.168.1.100:300, 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/)?
How do I start / stop or restart Apache web sever via SSH (secure shell) under Linux or UNIX operating systems?
[continue reading…]
How do I start / stop / restart the Apache server under Fedora Linux using command line options?
[continue reading…]
[continue reading…]
How do I restart Apache web server under UNIX operating systems using command line or over the ssh session?
[continue reading…]
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