6,518 reputation
919
bio website taz.net.au/blog
location Australia
age 47
visits member for 3 years, 7 months
seen Dec 17 '13 at 2:57

Craig Sanders

http://taz.net.au/~cas/


Sep
5
comment Ubuntu 10.04 LAMP Virtual Host seems to ignore active sites
For the 'permission to access' error, please add a log extract from your error log (/var/log/apache/error.log) to your question above...but it's probably because you haven't allowed access to /home/selah/public_html in your default server. either copy the <Directory /home/selah/public_html/>...</Directory> stanza to the default server config or undo the DocumentRoot change and go back to fixing the virtualhost config - you were almost there.
Sep
5
comment Ubuntu 10.04 LAMP Virtual Host seems to ignore active sites
the reverse DNS issue isn't that important, it's only a warning. but i'm getting totally confused now. The apache warning mentions 69.16.143.110 but you say your static IP is 71.40.149.6 (and a hostname lookup on selahsanctuary.org confirms that). which IP does your ubuntu server have?
Sep
5
comment Ubuntu 10.04 LAMP Virtual Host seems to ignore active sites
It looks like you don't have reverse DNS, maybe you're on a dynamic IP from an ISP or something. In that case, you probably should have an entry for your hostname in /etc/hosts - but use 127.0.1.1 or similar if your IP is dynamic and likely to change. That should solve the first warning. If you have a static IP, get whoever is providing you with the IP address to configure the reverse DNS entry for it...it should be something like 110 IN PTR selahsanctuary.org. if they can't/won't do that, then you'll have to put it in /etc/hosts - but that's the least preferred alternative.
Sep
5
comment Ubuntu 10.04 LAMP Virtual Host seems to ignore active sites
the second warning means that you have a NameVirtualHosts *:80 but you don't have any <VirtualHost *:80> vhosts - you probably forgot to change it at the same time. do that and reload apache again.
Sep
5
comment How to improve Windows perfomance when running inside KVM
not really, they're windows drivers. not my area of expertise. i'd guess you install them in the usual way that windows drivers are installed. i did install them a few times on some windows VMs a year or two ago. IIRC it was something clumsy like mount the CD image and hunt for the installer program in one of the subdirectories and click on it.
Sep
5
comment Why isn't cron running automatically?
yep, either that or JZ should add it to the user's own crontab. and for completeness, crontab files in /etc/cron.d/ have the same format as /etc/crontab.
Sep
5
answered Ubuntu 10.04 LAMP Virtual Host seems to ignore active sites
Sep
4
revised How to make diff print a full file diff when a file does not exist?
added 54 characters in body
Sep
4
comment How to make diff print a full file diff when a file does not exist?
the man page for GNU diff 3.2 says only: -N, --new-file treat absent files as empty
Sep
4
awarded  Cleanup
Sep
4
revised How to make diff print a full file diff when a file does not exist?
added 54 characters in body
Sep
4
revised How to make diff print a full file diff when a file does not exist?
rolled back to a previous revision
Sep
4
comment How to make diff print a full file diff when a file does not exist?
thanks for the accept but i think Mat's answer is better. diff -N seems to do exactly what you want without stuffing around with tempfiles or /dev/null, and it gives you the recursive two-directory diff that i edited out of my answer because it doesn't work properly without -N
Sep
4
revised How to make diff print a full file diff when a file does not exist?
deleted 148 characters in body
Sep
4
answered How to make diff print a full file diff when a file does not exist?
Sep
4
answered How to improve Windows perfomance when running inside KVM
Sep
3
comment Debian-based distros that have a regular release cycle
+1 for pinning explanation.
Sep
3
comment How to rename files using sed?
btw, if you liked my original answer and it worked for you, then please Accept it - there should be a tick under the up and down vote buttons.
Sep
3
answered How to rename files using sed?
Sep
3
comment Shell variables not working?
@Chris, there's no need to be scared of spaces in filenames, but there are plenty of reasons to be annoyed by them.