Skip to main content

Posts

Showing posts from February, 2007

How do you password protect a Linux/Apache folder?

To password protect a Linux/Apache folder, please perform the following steps: Create the subdirectory you wish to password protect. Confirm that the subdirectory you created is CHMOD 711 or 755. Create a file called .htaccess Add these lines into your .htaccess file: AuthType Basic AuthName "Password Required" AuthUserFile /home/subdirectory/.htpasswd require valid-user Note: Change the path for .htpasswd to the path of your home directory.  If you do not know your path, you can run the phpinfo command from within an HTML document. FTP .htaccess to the subdirectory created in Step 1. Using your FTP client, CHMOD .htaccess to 644. Now create your .htpasswd file. To add users to this file, you can visit PowWeb's Password Encryptor . Now simply copy and paste the line of text containing the username and encrypted password to your .htpasswd file. FTP .htpasswd to the subdirectory created in Step 1. CH...

An error occurred getting the status of the last synchronization. The RPC server is unavailable.

When attempting to use Windows Time Service, you may encounter the error message: "An error occurred getting the status of the last synchronization. The RPC server is unavailable." To resolve this problem, you most likely need to start the Windows Time Service: Click Start - Settings - Control Panel - Administrative Tools - Services. Double-click Windows Time and change the Startup Type to Automatic if it is not already set. Now start the service by clicking Start and click OK. Now reattempt the time sycnhronization. If the service was started or the problem still persists, I have found that changing the available Time Servers resolves the issue and allows the synchronization to run successfully: Click Start - Run. Type: regedit Click OK. Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers Double-click Volume Name 1 and change the Value Data from time.windows.com to clock.redhat.com Click OK. Close RegEdit. Now reattempt the time sy...