Q. When accessing a directory in apache, I would like to set up a way to ask for a password from a user if he is not listed on the allowed IP list.
A. This one is a bit of a pain to figure out, so here it is:
<Location />
Order Deny,Allow
Deny from all
AuthType Basic
AuthName "Access Restricted"
AuthUserFile "/var/www/.htpass" #your password file
Require valid-user
Allow from 192.168.5.10
Allow from 192.168.10.10
Allow from 10.10.10.3
Satisfy Any
</Location>
Q. I've installed the new version of Ubuntu 10.10 (Maverick) and Alt+PrtScn doesn't work anymore.
A. This will be fixed in the future releases (hopefully), for now there are various ways around it:
1. In terminal window, type in the following as root:
sysctl -w kernel.sysrq=0
A. The answer is not as intuitive as apt-get install php5-mysql, but pretty close:
This command will install generic support for MSSQL (based on sybase):
aptitude install php5-sybase
There has been a rise of backscatter spam (incorrect automated bounce messages sent by mail servers, typically as a side effect of incoming spam.). Recipients of such messages see them as a form of unsolicited bulk e-mail since they were not solicited by the recipients, are very similar to each other and are delivered in bulk quantities. Systems that generate e-mail backscatter can end up being listed on various DNSBLs and block lists. This creates a lot of headaches for Exchange admins. One way to battle it, is to disable Non-Delivery reports, generated by the server.
In MS Exchange 2000/2003
1. Click Start → Programs → Microsoft Exchange, and then click System Manager.
For reasons unknown, Windows 7 Remote Desktop Connection prevents connections to localhost, as a result you cannot tunnel to the RDP machine directly. (ie. 3389:remotesystem:3389) Trying to use hostnames and point to 127.0.0.1 doesn't work either - the system recognizes that it is connected to localhost and gives an error. (This was removed on XP with Service Pack 2, but then brought back)
Q. How do I find out what version of ubuntu I have?
A. If you are running a desktop edition, do the following:
1. Go to the Main Menu.
2. Click System, mouseover Administration and select System Monitor.
3. Select the System tab.
One of the first lines will be Ubuntu version:
Q. How do I join a google group with a Google apps account? The login page does not let me in.
A. This is a problem on Google's side, so hopefully they will fix it. For ow, here's how to access it:
Use this url and replace "groupname" and "myid" with your email address:
https://groups.google.com/group/groupname/boxsubscribe?email=myid