I was building my OwnCloud file storage on Ubuntu 14.04LTS (upgrading to 16.04.1 LTS this summer), which if you haven’t heard of definitely check out it is the most amazing cloud storage program and you control it yourself. It even offers server side encryption, and tons of options to make it how you want it for you or your company. See it at www.owncloud.org
But I was coming across an .htaccess issue that kept popping up so I modified Apache so much and it still appeared. So I finally stumbled across my fix. Move the OwnCloud data directory out of the default location. So here are the steps I took
sudo service apache2 stop
Edit config file in default location
sudo nano /var/www/html/owncloud/config/config.php
Change default location to new location
(pick one, I chose /mnt/owncloud_data but put it anywhere you like)
Move the data folder to new location
sudo mv /var/www/html/owncloud/data /new/data/directory/here
if required change permissions
sudo chown -R www-data:www-data /new/data/directory/here
sudo service apache2 start
Voila .htaccess issue is GONE!
In all my years of working on computers since I was 4 years old, beginning with my father who also worked on computers. One thing has always made me smack my head harder than anything. How so many individuals, and offices of all kinds do not pay for Anti-Virus. I have walked in to so many offices, and especially doctors offices that are infected to high hell because they do not want to pay for Anti-Virus. Free Anti-Virus I have found to be at best 70% effective in catching malicious things. I have always favored deploying Eset Smart Security for home and business, as I find it to be one of the most reliable suites.
Most offices use the very poor excuse of “saving money.” Let me explain why that is a poor excuse. 90% of the time you could avoid having a person come out to clean a computer of viruses by merely being proactive. Seeing as I charge anywhere from $50-$125/hr depending on the contract, and Eset Smart Security for 6 devices costs only $84.99 for a year as of right now. It’s really easy to explain why it is completely stupid to stick with free anti-virus that doesn’t get the job done completely.
In all honesty you should have a few tools in all of your networks.
- Anti-Virus (I recommend Eset Smart Security)
- Firewall (hardware one is best for Offices)
- Malwarebytes Anti-Malware (free version is fine if you manually run once a month)
- Microsoft Enhanced Mitigation Experience Toolkit (EMET) this plugs a bunch of potential holes in Windows
If you are not paying for Anti-Virus you’re most likely infected unless you know what you are doing. I have become so familiar with computers I know the signs of an infected computer without even having to do a Virus Scan. So do yourself a favor, protect yourself.