How to run VBoxManage.exe? [closed]

It’s a pretty sure bet that running an exe file in Linux won’t work. In Windows you do run it from the command prompt. If you get a message about the command not being found then either add the path to the command to your PATH environment variable or specify the full path to the … Read more

Why do I get sqlite error, “unable to open database file”?

Aha, just stumbled across an article explaining this. Also Django have info on their NewbieMistakes page. The solution is to make sure the directory containing the database file also has write access allowed to the process. In my case, running this command fixed the problem: sudo chown www-data .

apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName

By default Ubuntu doesn’t specify a ServerName in the Apache configuration, because it doesn’t know what the name of your server is. It tries a reverse lookup on your IP address, which returns nothing, so it just has to use the IP address as the ServerName. To fix it, either add a ServerName directive outside … Read more

How to handle relative urls correctly with a reverse proxy

The Apache ProxyPassRewrite does not rewrite the response bodies received from http://test.example.com, only headers (like redirects to a 404 page and such). A number of alternatives: One) Rewrite the internal app to use relative paths instead of absolute. i.e. ../css/style.css instead of /css/style.css Two) Redeploy the internal app in a the same subdirectory /folder rather … Read more

Private IP address in public DNS

Some people will say no public DNS records should ever disclose private IP addresses….with the thinking being that you are giving potential attackers a leg up on some information that might be required to exploit private systems. Personally, I think that obfuscation is a poor form of security, especially when we are talking about IP … Read more