Showing posts with label directory. Show all posts
Showing posts with label directory. Show all posts

Monday, August 31, 2015

How to Detect Mobile Browsers (11 Steps)

Download the 'Detect Mobile User Agents & Browsers' PHP script by clicking on the link located in the 'Resources' section below. The downloaded file is compressed. Double-click on it to open your default extraction program and extract the files to your desktop.
Open an FTP (File Transfer Protocol) program and log in to your website's hosting account by typing in your FTP address, username, and password. Once you have connected to your hosting server, use the FTP program to upload the 'mobile_device_detect.php' file that you extracted in step 1. Upload it to the root directory of your website where your 'index.html' or 'index.php' file resides.
Use the FTP program to download the 'index.html' or 'index.php' file from your website and save it on your desktop. Open the file in a text editor such as Notepad or Wordpad.
Open a web browser and type '" into the address bar, then press the ENTER key. Alternately, you can click the 'Detect Mobile Browsers Website' link in the 'Resources' section below.
Scroll down to the 'Function Generator' heading. Here we will generate a PHP function code that will define how the PHP code file we uploaded in step 2 will behave. Choose an option from the respective drop-down menus for 'Detect iPhones,' 'Detect iPads,' 'Detect Android Devices,' 'Detect Opera Browsers,' 'Detect Blackberry Devices,' 'Detect Palm Mobiles' and 'Detect Windows Mobile Devices'. Each drop-down menu will allow you to specify whether to treat the device browser like a mobile browser or a standard desktop browser. You may also choose to redirect a device type to a custom URL, which must be typed into the text field that appears below the drop-down menu when you choose the 'Redirect (device) to a specific URL' option.
Choose an option from the 'Redirect Mobile Browsers' drop-down menu. Any devices that were set in the above options to be treated like a mobile browser will be affected by this option. You can redirect mobile users to a custom URL where there is a mobile browser-optimized version of your website or choose not to redirect them, which will allow them to access the standard website. Type the mobile-optimized website URL into the provided text box.
Set the 'Redirect Desktop Browsers' drop-down menu to 'No - Do not redirect desktop visitors - function will return false' to allow desktop browser users to access the standard website. Any devices that were set in the above options to be treated like desktop browsers will be affected by this option.
Click the 'Generate Code' button. Highlight the text that appears in the 'PHP Code' box and press CTRL+C on your keyboard to copy the text to your clipboard. Minimize your web browser so you can see the 'index.html' or 'index.php' file you opened in the text editor in step 3.
Create a blank line at the beginning of the text document by clicking your mouse at the top of the document and pressing the ENTER key. Place your cursor on the blank line and type '
' and press ENTER again.
Click on the 'File' menu at the top of the text editor and choose 'Save'. In the FTP program window, copy the edited 'index.html' or 'index.php' file back to the root directory of your website, overwriting the original file.
Access your website from a mobile device browser. You should be redirected to you mobile-optimized website. Access your website from a standard browser to make sure that you are directed to the standard website.
VPS Hosting

Sunday, August 30, 2015

How to Embed Audio in HTML

Choose an audio file. You can use an mp3 or .wav file. If you do not have an audio file, make one using any one of the freeware or shareware programs available on the Web.
Upload the audio file to your webserver. Select the file to play on your website and make sure it is in the same directory as your website. To play an audio file on a blog that is hosted on a different server, upload the audio file to a free Web hosting company.
Embed the audio file. Copy and paste the following code onto your website:
Replace the 'myaudio.mp3' with the name of your audio file. Keep the quotation marks. This not only embeds the audio, but also creates a player that allows you to turn the audio on and off.
Embed the audio file onto your blog. Change the file name in the code to the complete URL where the audio file is located. For example, using the following:
Change the name of 'myaudio.mp3' to the full URL address where your mp3 is located. The embed code will create a music player.
Adjust volume, height and width settings to match your blog or website. A width setting of '144' is recommended.
VPS Hosting

Friday, August 28, 2015

How to Create a Login Web Page (13 Steps)

Navigate with your web browser to your web hosting account and log in to access your control panel. The example shown here is the cPanel X web site management tool.
Click the icon for 'Password Protect Directories.'
Locate the folder (directory) you want to password protect. Click on a 'folder ICON ' to go into that folder, click on folder 'NAME' to select it as the one to protect.
Click the 'check box' at the top to turn protection on, then enter a username and password on the set password screen, and click add/modify authorized user. You can also use this screen to change the password of an existing user or delete a user. Existing users are listed in the order they were added. The list is not alphabetical.
Exit your web host account and navigate to a web page in the directory with the password protection. A login box will prompt you for a username and password.
Enter the appropriate username and password combination, then click 'OK.' If the login is correct you will have access to the page. If the login is wrong, you will receive an Authorization Required error page.
VPS Hosting

How to Create a Joomla Web Site (12 Steps)

Log in to your website's administrative panel and locate the Fantastico icon, which is usually a smiley face. Click this icon to begin the Joomla installation process.
From the main Fantastico Web page, locate and click on the Joomla 1.5 hot link and select the new Joomla installation option.
By default, a new installation will assume that you will be installing Joomla into the root directory of your website (, which is usually the case. If your requirements dictate a different directory, the process does allow you to do so easily.
Assign an administrator user name and password. These credentials will be used to log in to the back end of the website, where most of the work will take place (
Assign the administrator email address, administrator full name and the name of your website. This information can all be changed later if needed.
Lastly, you are presented an option to install sample data. If you lack Joomla experience, the sample data will be invaluable to help you learn where everything is, what it does, and how it was configured. Then, click the Install button.
VPS Hosting

Wednesday, August 26, 2015

How to configure IIS to use specific ports for Passive FTP

Login to the machine using remote desktop.
Go to the Inetpub\AdminScripts directory. This is typically on the same drive you installed windows, so c:\Inetpub\AdminScripts
Run the command
adsutil.vbs set /MSFTPSVC/PassivePortRange 'xxxx-yyyy'And replace xxxx with the starting port and yyyy with the ending port range.
VPS Hosting

How to Change Apache 2 Index.html

Log in to the remote server through SSH, or open a terminal window if you are located with the server.
Type 'cd /etc/apache2' at the terminal prompt to change to the Apache 2 directory where the configuration files are stored.
Open 'apache2.conf' in a text editor such as vi, pico or nano. Search for the 'DirectoryIndex' line, which will look similar to the following:DirectoryIndex index.html index.cgi
Edit the line to include new filenames, or remove existing pages. For example, you could change the directive to:DirectoryIndex index.php index.htmFiles are searched in the order which they appear, so the first file matching a name in the list will be displayed to the visitor. Save the file and close the text editor.
Restart Apache by typing '/etc/init.d/apache2 restart' at the terminal prompt.
VPS Hosting

Tuesday, August 25, 2015

How to Solve 'Permission Denied' in HostMonster

Login to your HostMonster control panel. Click 'File Manager,' select the Web Root 'public_html' directory and click 'Go.' Highlight the '._private' directory and select 'Edit' at the top of the menu.
Click 'Change Permissions' at the top of the file manager menu. Place check marks in the 'Read,' 'Write' and 'Execute' boxes and click the 'Change Permissions' button to save.
Click the 'Home' button on the sub-menu and highlight 'access-logs.' Click 'Change Permissions' and insert check marks in the 'Read,' 'Write' and 'Execute' boxes. Click the 'Change Permissions' button to save.
VPS Hosting

Monday, August 24, 2015

How to Create an IWAM User Account (7 Steps)

Click the Windows 'Start' button and select 'Run.' In the textbox, enter 'regedit' and press 'Enter.' This opens the Windows registry.
Navigate to the registry folder at 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp.'
Right-click the 'InetStp' directory and select 'New DWORD Value' from the menu.
Type 'DisableUserAccountRestore' in the key textbox and leave the default value. Press 'OK.'
Close the Windows registry window.
Click the Windows 'Start' button and select 'Run.' In the textbox, type 'cmd' and press 'Enter.'
Type 'iisreset' in the command prompt and press 'Enter.' This command resets the IIS server and automatically reestablishes the 'IWAM' and 'IUSR' accounts.
VPS Hosting

Sunday, August 23, 2015

How to Recover Deleted Web Pages

Gather all of the information pertaining to your website, such as your domain name, as well as the information for the administrative contact person who is over the administration of the website.
Contact the company that is hosting your website. Provide it with your domain name and administrative contact information.
Advise the company you deleted a Web page and would like to recover the deleted file. Most Web hosting companies back up all of their website pages. The company will be able to look up the file you deleted on the backup server and restore it into your file directory. It is best to contact your Web hosting company as soon as possible after deleting the Web page to increase your chances of getting the page restored.
Use the Internet Archive Wayback Machine to look up your deleted Web page if you do not want to go through your Web hosting company. By going to Internet Archive Wayback Machine, you can type in the domain name for your website. The Internet Archive Wayback Machine will then pull up all website pages that have been associated with the website, no matter how old they are. This is great if you would like to go back and see a Web page that was deleted many years or months ago.
Click on the page of your website that you would like to recover through the Internet Archive Wayback Machine. Click on the 'View' option from the menu bar of your Internet browser. Select the 'Page Source' option. Copy all of the HTML coding associated with your deleted Web page from the page source.
Paste the copied HTML code from the page source into the HTML editor of your website. Save your work. You should now be able to view your Web page. Some of the graphics might not be in place anymore, but all of the textual aspects of the Web page should still be in tact. You will have to upload new graphics.
VPS Hosting

Saturday, August 22, 2015

How to Move CMS Made Simple to a New Server (7 Steps)

Open a browser window, navigate to the Admin Console of your CMS Made Simple website and log in with an Administrator password. The path to your Admin console is “,” where “yourwebsite” is the domain name of your site and “cms_location” is the directory where CMS Made Simple is installed. For example, if your website is and CMS Made Simple is installed in a directory called “simple,” you would type “” to open the Admin console.
Click “Site Admin,” “Global Settings,” “Clear Cache” and “OK.”
Navigate to your Web-hosting management console and download your CMS Made Simple database. If you use cPanel or DirectAdmin, click 'phpMyAdmin' in the Databases panel, log in to the database, if necessary, and click “Export.” Click the “Quick” export method, click “SQL” from the 'Format' drop-down menu and click “Go.” Save the SQL file on your desktop.
Open an FTP client like Filezilla, log in to your Web server and download the directory that contains the CMS Made Simple files. Save the files in a directory on your computer.
Log in to your new Web server with your FTP client and upload the saved Content Made Simple directory on your computer. Ensure that the “tmp,” “uploads” and “modules” directories and subdirectories are writeable.
Log in to the Web-hosting management console on your new server, open 'phpMyAdmin' and click “Import.” Click “Browse” and navigate to the saved SQL file on your computer. Click “SQL” from the 'Format' drop-down menu and click “Go.”
Log in to your new CMS Made Simple site and ensure that all files have been moved and that your data is intact.
VPS Hosting

How to Set Up OpenCart in Go Daddy (10 Steps)

Download OpenCart from its Google Code site.
Extract the Install folder from the downloaded ZIP file using WinRAR or WinZip.
Upload the unzipped Install folder to your Go Daddy host directory using an FTP application such as FileZilla or CyberDuck.
Select 'Web Hosting' from the Products section of your Go Daddy Account Manager. Under Databases, select the MySQL database icon, and click 'Create Database.' Enter the desired database name, and press 'Create.'
Assign a user to the newly created database. Make sure that the username and password are different from your root username and password.
VPS Hosting

Thursday, August 20, 2015

How to Disable Sites in Apache 2

Verify that the site is still enabled. From the Ubuntu Linux command line, issue the following commands:cd \etc\apache2\sites-enabledlsThe first command switches the working directory to the 'sites-enabled' sub-directory. The second command lists the files in the directory. If there is a file for the site you want to disable, continue with Step 2. If not, the site already is disabled.
Issue the following commands at the Ubuntu command prompt:cd (changes to your home directory)sudo a2dissite sitename (where 'sitename' is the name of the site you want to disable) This command removes 'sitename' from the /etc/apache2/sites-available sub-directory.
Verify that the site has been removed from the list of enabled sites with the following command:ls /etc/apache2/sites-enabledYour site should not appear in the sub-directory listing.
Restart the Apache 2 Web server with the following command:sudo /etc/init.d/apache2 restartThis causes Apache 2 to stop listening for requests for the disabled site.
Start a browser session and attempt to navigate to the site. If your site is disabled, you should get a 'Not Found' message on a default error page.
VPS Hosting

How to Put an E

Download a free PDF converter software program to help turn your document into a PDF e-book format. Programs that contain this conversion feature include CutePDF Writer by Acro Software, doPDF by Softland or PrimoPDF by Nitro PDF (see Resources). Install the software on your hard drive.
Open the word processing document that you need converted to a PDF e-book format. Click the 'Print' option from the 'File' menu. Select your PDF converter software program from the 'Printer Name' drop-down box. Click 'OK' in the Print dialog box. Select a folder or computer directory location from the 'Save As' drop-down menu. Click 'Save' to have your e-book saved as a PDF document on your hard drive.
Open your Internet browser and go to your website hosting's administration page or control panel. Enter the appropriate username and password to log in.
Click on the File Manager or FTP section of your web hosting control panel. Highlight the appropriate 'index.html' folder or location to which you want your e-book uploaded by clicking once on its name.
Click on 'Upload' or the particular button used to add new files from your computer. Click the 'Browse' button to search for files on your computer. Find your e-book document file and double-click it to add it to the list of files to be uploaded to your website. Click the 'Finish' or 'Upload' button in your web hosting's file manager or FTP utility to have your e-book file sent to your web host's server.
Copy the full directory filename of the e-book you uploaded to your site. Click on the 'View' option for your e-book file in your site's control panel. Highlight and copy the full URL of the e-book. The e-book file's location, when uploaded to your site correctly, begins with 'http://' and end with '.pdf.'
Go to the main HTML portion of the website page to which you add text and images because this is the place where you want to add your e-book file. Paste the e-book URL into the appropriate spot in your web page. Save your changes when finished.
Test the uploaded e-book file on your website. Log out of your website control panel. Type in your site's URL into the Internet browser's address bar and press 'Enter.' Find the spot where you uploaded your e-book and click the PDF file. If uploaded correctly, and assuming your browser contains a PDF reader, a browser window opens and your e-book appears.
VPS Hosting