redirect http page to https page
If you want to redirect your page to use https or ssl then you can use the code below by editing your .htaccess file or your virtual host file in apache. [code] RewriteCond %{SERVER_PORT} 80 RewriteCond %{REQUEST_URI} /folder/apply-now RewriteRule ^(.*)$ https://www.site.com/study-english-usa/apply-now [R=301,L] [/code]
Cognos Service Stops after reboot
I was converting a Windows 2008 machine to Vmware Virtual Machine after the conversion everything started up fine but I was later told that the Cognos website was not running. I looked in the services area and it was off. I then started it up and it started and then would just shut off. It [...]
Redirect all directories to new site
If your using Apache web server you can edit your .htaccess file or your In your virtual host file add the line RewriteEngine On RewriteRule ^/(.*)$ http://www.site.com/wherever [R=301,L]
Show Open Ports Linux
netstat -lnptu | grep LISTEN
Import vmware vmdk file into vshpere
I will go over the steps on how to import a vmware vmdk file into a vsphere cluster. What you’ll want to do is click on the hosts where you want to store the new virtual machine on. Click on the Summary Tab Under datastores find the one you want to upload your file to. [...]
User can’t ssh to linux server – Permission Denied
Lets say you create an account and the user can’t ssh to the linux server. They get permission denied when they try to putty on in. I’ll go over the motions real quick on setting up a user via command line. /usr/sbin/useradd -m username -m creates the home directory. then type passwd username and set [...]
Show Directory Size in Linux
I get asked this question all the time, how do you show the size of a directory in linux? From the command line you can type du -h -s /directory/* that will show you all the subdirectories and their sizes in human readable format, ie in MB and GB etc.
Find Logged in Users IP address on a domain
I do a lot of Remote desktop sessions and so I have to be very quick to find the people that I’m working with’s IP address or computer name. I don’t like to walk them through asking them what their system name is because as a tech guru I should already know that. What I [...]
American Contractor – User can’t login
I got a call from a user that her American Contractor login was failing. When I tried to login as her I get an error message cannot update cursor ACLog, read only. I looked on the server and there are 3 ACLog files. I gave Maxwell tech support a quick call and they suggested that [...]
ssl not working apache2 install
If you just installed apache2 or setup a cloud server that has LAMP installed then ssl or https might now work. make sure openssl is installed by doing a sudo apt-get install openssl This will either install or update it You can check your conf files by going into /etc/apache2/sites-enabled directory. By default you’ll see [...]
Windows Update not working?
A customer gave me a Windows XP machine that they said was not working properly. When I tried to access a webpage, each site was not coming up. I could ping the hosts but web pages would not come up by name or IP in any browser. I checked Internet Explorers settings and it was set to [...]
Websites being redirected to spam sites
Sometimes you might find that your favorite search engine google.com has been replaced with fanoogle.com or Yahoo redirects somewhere else. You check your browser settings and everything seems good. What hackers like to do is overwrite your hosts file on your computer. What this simple text file does is tells your computer what IP address [...]
Users cannot log back into Terminal Server
I get a call at 5PM friday that when this companies users try to log into their Terminal Server they get an RDC error. The RPC Service is unavailable. You may also get this message “Your interactive logon privilege has been disabled. Please contact your system administrator.” I try to log in and get the [...]
Secure Your Linux Systems
Hackers these days are so smart at getting into systems. They get in through ports on your computer that usually the operating system has a flaw. That is why these systems are patched up every few weeks to fix little bugs like that. So how do you know if your system has been compromised? Say [...]
Removing viruses without anti virus
When viruses first hit the scene they would usually infect every executable file, so you would have to use an anti-virus program to fix them. Now a days people computers usually just get hit with something very annoying when their computer starts up or when windows loads. I can usually fix these pretty quick. Here [...]
Windows Shell Commands
When I work in Windows I like to do a lot run commands to get the job done faster. This is mostly for my reference but feel free to try some on your own. The complete list of Vista shell commands is below: Note: Some of these shell commands will only work on the 64 [...]
Scan IP Range via command line
Someone asked me if there is a way to scan an IP range via the command line. Sure we can use ping to do the job. We’ll set it to ping once and then go to the next one. Here is the code for /L %a IN (1,1,254) do ping -n 1 192.168.1.%a
Forward Outlook Web Access users to use https
So I setup an SSL cert on an exchange server. Now the users can securely get their email over the web using https://exchange.somedomain.com/exchange rather than http://exchange.somedomain.com/exchange. So how do we get them to start using that url? Of course we can mass email them or you can just do this. On your exchange server, edit [...]
Turn directories into web subdomains using .htaccess
Have you ever wanted to turn your directories into subdomains? Ie http://www.test.com/ryans to http://ryans.test.com . You can create a .htaccess file and put this code in there. Put it in the website home directory. Options +FollowSymLinks Options +Indexes RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} !www.domain.com$ [NC] RewriteCond %{HTTP_HOST} ^(www.)?([a-z0-9-]+).domain.com [NC] RewriteRule (.*) %2/$1 [L]
How Do you change firewall setting in Redhat?
You’ve setup your server, got dns for it, it’s own IP address and now you can’t access it online because the firewall is on? How do you change or turn off the firewall in Redhat? The answer is simple. Login as root and at the prompt type setup. That’s it, Setup. You’ll see an ascii [...]
Internet Explorer 8 Corrupted Search Provider
It seems that IE8 has a small bug in it. Sometimes when the user opens up Internet Explorer 8 you get a message that your default search provider is corrupted. No matter what you do it will come back. This is the fix. 1. Click Start. 2. Click Run. 3. Type in regedit and press [...]
Mysql Command Line Basics
I often find myself having to do something with mysql. Yes, I could just download and install phpmyAdmin but command line is so much quicker. Creating Databases first you need to login to the database mysql – username -p database That will prompt you for a password. I usually just use the root username and password Once [...]
Internet is slow when user is on VPN
When a user connects to his works VPN they may not notice that they are using their works servers to serve up their webpages. This can be bad since the workplace can log all the places you’ve been. It also might be very slow to load pages because you are using your workplace serve your [...]
Turn directories into web subdomains using .htaccess
Have you ever wanted to turn your directories into subdomains? Ie http://www.test.com/ryans to http://ryans.test.com . You can create a .htaccess file and put this code in there. Put it in the website home directory. Options +FollowSymLinks Options +Indexes RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} !www.domain.com$ [NC] RewriteCond %{HTTP_HOST} ^(www.)?([a-z0-9-]+).domain.com [NC] RewriteRule (.*) %2/$1 [L]
Dial A Fix
Dial-a-fix is a collection of ‘known fixes’ that have been compiled over the past year that really knock out some serious Windows problems, all with one or two clicks. “When in doubt, check ‘em all”. Dial-a-fix tackles issues with SSL/Cryptography, Windows Update, Microsoft Installer, and many miscellaneous shell problems. Example: If you get a blank [...]

Read Our Reviews

