bash scripting and apache
can someone help me on how to combine bash scripting with apache.
please me the steps.. |
apache is a package running on your machine, you can host php on it i think. where as bash script is more machine based, you can use bash to turn apache server on and off, but i am not sure what you mean by combining? can you be a bit more specific?
|
Quote:
|
search for php5-cgi package, you need cgi server enabled to get bash script working I think.
|
Quote:
example i want to display hostname like this Code:
Host=`hostname` |
Look at my blog as I have a bash script that does exactly what you want. "uname -n" works better than "echo $Host".
|
All times are GMT -5. The time now is 10:40 AM. |