I have a quick question about Apache DocumentRoot sniffing using a BASH script. I have created a script that seems to work fine on my Ubuntu system. I have loosely tested the file on OS X and that ...
While trying to determine the differences between .bashrc and .bash_profile I notice that .bashrc is never read, and that .bash_profile is only read from SSH, but not from PHP. This seems to ...
this is what I want to be able to script with a password in variable $pass. htdigest -c /etc/apache2/pw/$user $user $user At the moment it asks me to manually enter a password, this is not going to ...
This is currently deleting the whole contents of the file in question: #!/bin/bash rpc_port="9201"; dir="/etc/apache2/ports.conf" cat $dir | grep -v "Listen $rpc_port" > $dir The file contents: ...
I have some users on my machine that I allow to run small Mumble voice servers. I would like for them to be able to start/stop their voice server from a website (being ran by Apache). With the current ...