<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Philhosting.Net &#124; Internet Articles &#124; Updates &#124; Tips &#38; Tricks &#187; Tutorials</title>
	<atom:link href="http://philhosting.net/articles/cat/tutorials/feed" rel="self" type="application/rss+xml" />
	<link>http://philhosting.net/articles</link>
	<description>Philhosting.Net &#124; Internet Articles &#124; Updates &#124; Tips &#38; Tricks</description>
	<pubDate>Fri, 05 Dec 2008 11:54:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>URL Masking - Attainment and Prevention</title>
		<link>http://philhosting.net/articles/url-masking-attainment-and-prevention.html</link>
		<comments>http://philhosting.net/articles/url-masking-attainment-and-prevention.html#comments</comments>
		<pubDate>Fri, 04 Jul 2008 13:34:39 +0000</pubDate>
		<dc:creator>Root</dc:creator>
		
		<category><![CDATA[Featured]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[FRAME]]></category>

		<category><![CDATA[IFRAME]]></category>

		<category><![CDATA[URL Masking]]></category>

		<guid isPermaLink="false">http://philhosting.net/articles/?p=36</guid>
		<description><![CDATA[This article does two things: It tells you how to do URL masking. And, it tells you how to protect yourself if someone is masking your web pages without authorization.
URL masking is covering up a URL with a different one. It presents one URL when the actual URL is something different.
Causing the browser&#8217;s address bar [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">This article does two things: It tells you how to do URL masking. And, it tells you how to protect yourself if someone is masking your web pages without authorization.</p>
<p>URL masking is covering up a URL with a different one. It presents one URL when the actual URL is something different.</p>
<p style="text-align: justify;">Causing the browser&#8217;s address bar to show a URL different than the actual URL of the web page being viewed is one definition of URL masking. Another definition is to cause a link URL to show in the browser&#8217;s status bar different than the URL of the web page being linked to.</p>
<p style="text-align: justify;"> </p>
<p style="text-align: justify;">This article addresses the first definition of URL masking. One URL is in the browser&#8217;s address bar. The web page being displayed in the browser window is at a different URL.</p>
<p style="text-align: justify;">I will describe several ways to mask URLs. I will also show how to frustrate those who would mask your web page URLs without your consent.</p>
<p>When you know how to accomplish it and how to prevent it, you are that much more in control of your web site.</p>
<p>Here are the three methods of masking URLs addressed by this article:</p>
<ol>
<li>With frames.</li>
<li>With Apache rewrite.</li>
<li>With page retrieval software.</li>
</ol>
<p style="text-align: justify;">There are defenses from the first and third method that site owners can employ to prevent that kind of maneuvering. The second method needs no defense because only someone with access to the domain can use it.</p>
<h3>URL Masking With Frames</h3>
<p style="text-align: justify;">Two different types of frames can be used to present a web page in the browser with a URL different than the URL in the address bar.</p>
<ol>
<li>The <strong>FRAMESET</strong> tag.</li>
<li>The <strong>IFRAME</strong> tag.</li>
</ol>
<p style="text-align: justify;">In both methods, when the web page with the frame is loaded into the browser, the frame web page&#8217;s URL is in the browser&#8217;s address bar even while the browser window displays a web page located at a different URL.</p>
<p>The frames web page originally loaded into the browser and the web page retrieved from elsewhere may be on different domains.</p>
<h3>Using The FRAMESET Tag For URL Masking.</h3>
<p>This method hides all visual cues that the web page being displayed is not at the URL in the browser&#8217;s address bar (unless the web page being displayed itself contains images or wordage that provide clues).</p>
<p>What you do is create a <strong>FRAMESET</strong> web page that loads the target web page.</p>
<p>Make a web page with the following code. Change the URL in the third line of the code to the URL of the web page to be displayed in the browser.</p>
<p><strong><span style="color: #3366ff;"><br />
 </span></strong></p>
<p>Put only the above into the FRAMESET web page. Use no HTML or BODY or other normal web page tags.</p>
<p>Upload the FRAMESET web page to your server. Load the FRAMESET web page into your browser.</p>
<p>You&#8217;ll notice that the URL of the FRAMESET web page is in your browser&#8217;s address bar even while a different web page, the one you specified in the third line of the above code, is displayed in the browser window.</p>
<p>That&#8217;s the simplicity of URL masking with a FRAMESET tag.</p>
<p>
]]></content:encoded>
			<wfw:commentRss>http://philhosting.net/articles/url-masking-attainment-and-prevention.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Help with .htaccess files</title>
		<link>http://philhosting.net/articles/help-with-htaccess-files.html</link>
		<comments>http://philhosting.net/articles/help-with-htaccess-files.html#comments</comments>
		<pubDate>Thu, 03 Jul 2008 16:48:13 +0000</pubDate>
		<dc:creator>Root</dc:creator>
		
		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[.htaccess]]></category>

		<guid isPermaLink="false">http://philhosting.net/articles/?p=31</guid>
		<description><![CDATA[To create a .htaccess file in windows, use notepad to create a new document, and save it as htaccess.txt. When you have uploaded it to the server, simply rename it .htaccess

Once uploaded, the .htaccess file may disappear from view, this is because it is a hidden file, and some FTP clients do not automatically show hidden files.]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Please note that .htaccess files affect ALL subdirectories of the folder it is placed into.</p>
<p>To create a .htaccess file in windows, use notepad to create a new document, and save it as htaccess.txt. When you have uploaded it to the server, simply rename it .htaccess</p>
<p>Once uploaded, the .htaccess file may disappear from view, this is because it is a hidden file, and some FTP clients do not automatically show hidden files.</p>
<p><strong><span style="font-size: medium;">ErrorDocument</span></strong></p>
<p>To make your own custom error pages, create a new document in notepad, and enter the following line:</p>
<p>ErrorDocument XXX /path to your/errordocument.ext</p>
<p>Where<br />
 <strong>XXX </strong>- is the errordocument you want to replace i.e.<br />
 401 Not authorised<br />
 403 Forbidden<br />
 404 Page not found</p>
<p><strong>/path to your/errordocument</strong> - is the path to your error page relative to the httpdocs folder (ie /error/404.php)</p>
<p>and <strong>.ext</strong> is the extension you want the page to have, i.e.<br />
 .html<br />
 .php</p>
<p>Save the file as htaccess.txt, upload it to your httpdocs folder, and rename it to .htaccess</p>
<p>Example:<br />
 ErrorDocument 404 /error/404.php</p>
<p>Note:<br />
 You cannot call the directory where you store your error pages error_docs</p>
<p><strong><span style="font-size: medium;">Tips</span></strong></p>
<p>Other useful .htaccess tips</p>
<p>If you&#8217;ve uploaded an .htaccess file, and you can&#8217;t see it in your FTP client, then you will need to add a filter. Somewhere in the settings, there will be an option to add a remote filter, you need to add -a which will tell your FTP client to show hidden files (on linux hosting servers, files starting with a . are hidden).</p>
<p>To make a directory show a list of files, rather than auto-load an index file, put the following line into an .htaccess file in the directory you want to &#8216;index&#8217;:</p>
<p>Options +Indexes</p>
<hr style="width: 75%;" />
<p>To change the default index file for a directory, put this line:</p>
<p>DirectoryIndex somefile.ext</p>
<p>Where somefile is your filename, and ext is the file extension (php, html)</p>
<p><em>Example:</em><br />
 DirectoryIndex home.php</p>
<hr style="width: 75%;" />
<p>To run PERL scripts outside the cgi-bin, put this line into the .htaccess file for the directory where you want to run the PERL script:</p>
<p>Options +ExecCGI<br />
 AddHandler cgi-script .cgi .pl</p>
<hr style="width: 75%;" />
<p>To block a certain IP from viewing a folder (or your whole site), you need to add the following lines:</p>
<p>Order Allow,Deny<br />
 Allow from all<br />
 Deny from IP.TO.BLOCK</p>
<p>Where IP.TO.BLOCK is the IP address you wish to stop accessing your site/folder</p>
]]></content:encoded>
			<wfw:commentRss>http://philhosting.net/articles/help-with-htaccess-files.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>How To Use SSI (Server Side Includes)</title>
		<link>http://philhosting.net/articles/how-to-use-ssi-server-side-includes.html</link>
		<comments>http://philhosting.net/articles/how-to-use-ssi-server-side-includes.html#comments</comments>
		<pubDate>Thu, 03 Jul 2008 16:00:13 +0000</pubDate>
		<dc:creator>Root</dc:creator>
		
		<category><![CDATA[Featured]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[HTML]]></category>

		<category><![CDATA[Server Side Includes]]></category>

		<category><![CDATA[SSI]]></category>

		<guid isPermaLink="false">http://philhosting.net/articles/?p=30</guid>
		<description><![CDATA[SSI (Server Side Include) is a directive that is placed within HTML pages, and evaluated on the server as the server sends the page to the browser. It allows you, the Webmaster, to add dynamically generated content to an existing HTML page, without having to serve the entire page via a CGI program, or other dynamic technology...]]></description>
			<content:encoded><![CDATA[<h2>Purpose</h2>
<p>An SSI (Server Side Include) allows the webmaster to                            include content that is reused on many pages by updating                            the content one time. It&#8217;s also a way to have dynamic                            content on your pages within updating the HTML code                            or using FTP.</p>
<p class="textblack"> </p>
<h2>Users</h2>
<p>The webmaster is the primary user of the SSI.</p>
<p class="textblack"> </p>
<h2>What is an SSI?</h2>
<p class="textblack" style="text-align: justify;">SSI (Server Side Include) is a directive that is placed                            within HTML pages, and evaluated on the server as the                            server sends the page to the browser. It allows you,                            the Webmaster, to add dynamically generated content                            to an existing HTML page, without having to serve the                            entire page via a CGI program, or other dynamic technology.</p>
<p class="textblack" style="text-align: justify;">What&#8217;s that you say? As a Webmaster,                            you can divide your page into parts. For example, these                            might be: header, navigation bar, content well, text                            insert, site footer, and copyright footer. The parts                            that you want to appear on several pages on your site, like the header, navigation                            bar, and footers can be stored separately as text files                            and imported dynamically into all the pages where they                            are used. As you update the content well (that piece                            which changes frequently) or any other piece, the browser                            assembles the parts dynamically, and the page is displayed                            to the site visitor as if the page had been created                            as a single unit. In fact, when you look at the source                            code from the browser window, it&#8217;s a seamless unit.                            The &#8220;magic wand&#8221; that &#8220;glues&#8221; the pieces together                            is an SSI.</p>
<h2>Why use a server side include?</h2>
<p class="textblack" style="text-align: justify;">The advantage of using a server side include in a page                            is that the browser builds the page using the latest                            version of the included file and dynamically updates                            all the pages using that block the next time the pages                            are refreshed or loaded by the browser. Thus, blocks                            of code that are reused in many pages only have to be                            updated once. SSI use can work like frames, without                            the disadvantages of using a framed site.</p>
<p class="textblack" style="text-align: justify;">The example in <a class="bluelink" href="http://www.montgomeryschoolsmd.org/departments/web/ssi/ssihelp.pdf">Appendix                             A</a> (311K                             PDF) uses several                            server side includes to assemble designated blocks of                            code that might be used repeatedly throughout a related                            set of web pages. Using SSI&#8217;s is a good way to place                            headings, navigation elements, <a class="bluelink" href="http://www.montgomeryschoolsmd.org/departments/web/newsbox/">News                           Box Publisher</a>, <a class="bluelink" href="http://www.montgomeryschoolsmd.org/departments/web/toolcentral/">Tool                           Central NewsPublisher</a> or <a class="bluelink" href="http://www.montgomeryschoolsmd.org/departments/web/calendarbox/">Calendar                           Box Publisher</a> content, as well as local and                            site-wide footers in a web page. The text SSI (server                            side include) used in this example is processed on the                            fly by the server as the page is rendered by the browser                            for the site visitor.</p>
<p class="textblack">Note:                           MCPS servers DO NOT support                           SSI execs that execute a                           program on the server because                           they pose a high security                           risk to our servers.</p>
<h2>What                            does a server side include look like?</h2>
<p>The format of the server side include of text is one                            line of code:</p>
<p><span style="color: #0000ff;">#include file=&#8221;filename.txt&#8221;                            or <br />
 #include virtual=&#8221;/directory/filename.txt&#8221;</span></p>
<p class="textblack" style="text-align: justify;">If the browser can&#8217;t process this                            kind of statement (If browser is too old, pre-Netscape                            4.0 or IE 5), it will skip the command and try to display                            the include statement as text on the page. To avoid                            this situation, we place the command inside of HTML                            comment tags thus: <br />
 <span style="color: #0000ff;">&lt;!&#8211; #include file=&#8221;filename.txt&#8221;                            &#8211;&gt;</span></p>
<p class="textblack">That&#8217;s it. One line of code tells                            the browser &#8220;go get this file and insert it here.&#8221;</p>
<h2>Changing file extensions to .shtm or .shtml</h2>
<p class="textblack" style="text-align: justify;">It can&#8217;t be that easy, can it? Well, there are a couple                            of other little things you need to do once for each                            page. You must use the file extension .shtm or .shtml                            instead of .htm and .html. This is simply a naming convention                            that says &#8220;This html file includes Server commands -                            please parse it before delivering to the browser site&#8221;                            (hence the &#8220;s&#8221;). That way parsing can be skipped for                            all &#8220;plain&#8221; .html [or .htm] files. Shtml is the default                            extension for a page with server-side includes.</p>
<h2>Keeping                            your visitors coming to your site after changing file extensions</h2>
<p class="textblack" style="text-align: justify;">The last thing you need to do is keep your friends who                            used to view your page at the .htm or .html URL address.                            When using the SSI, you&#8217;re actually changing your home                            page name from index.html to index.shtm. If you delete                            the old index.html and put up index.shtm, your new page                            is the default. It displays in the browser when your                            directory is opened and everybody&#8217;s happy. Few will                            even notice that the page name has changed.</p>
<p class="textblack" style="text-align: justify;">But, if a visitor has bookmarked                            or linked to the page named index.html, and they use                            their bookmark or link to return to your page, it won&#8217;t                            be there anymore. The site visitor will see 404 —                            Page not found. What can you do so you don&#8217;t lose this                            site visitor? You can make a redirect page to send those                            seeking the old index.html and forward them to your                            new page now named index.shtm. An example of this code                            is included in <a class="bluelink" href="http://www.montgomeryschoolsmd.org/departments/web/redirect/">How to Make                            and Use a Redirect</a>. It&#8217;s good practice to put up                            a redirect to replace the old index.html to avoid frustrating                            your site visitors.</p>
<h2>Make                            the pieces to assemble</h2>
<p class="textblack" style="text-align: justify;">The pieces are made in the same way you make your pages.                            The pieces, though, only include their part of the page.                            You don&#8217;t need any &lt;html&gt;, &lt;head&gt; or &lt;body&gt;                            tags as you need for a complete page. You can preview                            your &#8220;piece&#8221; in your HTML editor the same way you&#8217;d                            preview an .html page. To make the piece into an includable                            file, save it as a text file. Give it an identifiable                            name with the suffix of .txt ( i.e. footer.txt) and                            save it in your school/office root directory. You&#8217;ll                            need one text file for each include command in your                            web page.</p>
<p class="textblack">Easy as pie&#8230; That&#8217;s the essentials                            of using SSI.</p>
<h2>Related links</h2>
<p class="textblack">To learn more about server side includes see the following                            sites.</p>
<ul>
<li class="textblack"> <a class="bluelink" href="http://www.w3.org/Jigsaw/Doc/User/SSI.html">SSI                              Commands</a> </li>
<li class="textblack"> <a class="bluelink" href="http://wdvl.com/Authoring/SSI/">All                              About SSI</a> </li>
<li class="textblack"> <a class="bluelink" href="http://www.hwg.org/resources/faqs/shtmlFYIFAQ.html">File                              Extensions Overview</a> </li>
<li class="textblack"> <a class="bluelink" href="http://www.activewin.com/tips/programs/frontpage/frontpage_tips_9.shtml">What                              does &#8220;.shtml&#8221; mean?</a> </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://philhosting.net/articles/how-to-use-ssi-server-side-includes.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Setting up mail accounts in Outlook</title>
		<link>http://philhosting.net/articles/setting-up-mail-accounts-in-outlook.html</link>
		<comments>http://philhosting.net/articles/setting-up-mail-accounts-in-outlook.html#comments</comments>
		<pubDate>Wed, 02 Jul 2008 09:03:36 +0000</pubDate>
		<dc:creator>Root</dc:creator>
		
		<category><![CDATA[Email]]></category>

		<category><![CDATA[email]]></category>

		<category><![CDATA[outlook]]></category>

		<category><![CDATA[setup]]></category>

		<guid isPermaLink="false">http://philhosting.net/articles/?p=29</guid>
		<description><![CDATA[The following is a simple tutorial on how to setup mail accounts in outlook. The screen shots taken are from WindowsXP but are applicable to most versions of Outlook.
 Home
Beginning
First of all you need to open the mail program and then select the &#8220;Tools&#8221; option. From this menu select the &#8220;e-mail accounts&#8221; option. This allows [...]]]></description>
			<content:encoded><![CDATA[<p>The following is a simple tutorial on how to setup mail accounts in outlook. The screen shots taken are from WindowsXP but are applicable to most versions of Outlook.<br />
 Home</p>
<p><strong>Beginning</strong></p>
<p>First of all you need to open the mail program and then select the &#8220;Tools&#8221; option. From this menu select the &#8220;e-mail accounts&#8221; option. This allows you to setup and configure your mail accounts.</p>
<p><a rel="lightbox[outlook]" href="http://support.34sp.com/userimages/outlook01.png"><img src="http://support.34sp.com/userimages/outlook01.png" alt="" width="500" height="469" /></a></p>
<p><strong>Adding a new mail account</strong></p>
<p>This menu gives you access to add a new email account, and to view/change your current email accounts already created. You need to select the &#8220;Add a new e-mail account&#8221; option, then click Next.</p>
<p><a rel="lightbox[outlook]" href="http://support.34sp.com/userimages/outlook02.png"><img src="http://support.34sp.com/userimages/outlook02.png" border="0" alt="" width="500" height="344" /></a></p>
<p><strong>Select your name</strong></p>
<p>Here you need to select the type of account you wish to create. You should select either POP3, or IMAP. With POP3, it will download all of the mail to your computer. With IMAP, it will leave the mail on the server.</p>
<p><a rel="lightbox[outlook]" href="http://support.34sp.com/userimages/outlook03.png"><img src="http://support.34sp.com/userimages/outlook03.png" border="0" alt="" width="500" height="342" /></a></p>
<p><strong>Select your reply address</strong></p>
<p>On this screen, the name you choose as &#8220;Your name&#8221;, will be the name people see the mail being sent from. The address you use in &#8220;E-mail address&#8221;, will be the email address people see the mail being sent from.<br />
 Most people choose the email address they are sending from. For example: if your email address is me@me.com, you will most likely want the reply address to be me@me.com</p>
<p>There are also two server addresses you must complete, one for incoming mail and one for outgoing mail.</p>
<p>For some Internet Server Provider (ISP), there is a restriction in using SMTP server and you need to use their ISP SMTP server for you to send an email. In the incoming mail server field, you need to enter: mail.yoursitename, so if your address is me.com you want to use mail.me.com<br />
 For the outgoing mail server (SMTP) you should consult your ISP (the company who provides your Internet connection). Most ISP&#8217;s provide an SMTP server of the form: smtp.ispname or mail.ispname If they cannot provide you with this, we can offer SMTP as an upgrade.<br />
 The logon information is the username/password you must use when collecting your mail. If you have created your own mail account via the siteadmin interface you should set the account name/password to the email address/password you chose. Otherwise you should use the email address/password provided in your welcome email.</p>
<p><a rel="lightbox[outlook]" href="http://support.34sp.com/userimages/outlook04.png"><img src="http://support.34sp.com/userimages/outlook04.png" border="0" alt="" width="500" height="345" /></a></p>
<p><strong>All done</strong></p>
<p>Simply select finish and you are now all ready to receive your email through outlook.</p>
<p><a rel="lightbox[outlook]" href="http://support.34sp.com/userimages/outlook05.png"><img src="http://support.34sp.com/userimages/outlook05.png" border="0" alt="" width="500" height="344" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://philhosting.net/articles/setting-up-mail-accounts-in-outlook.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Managing Web Directories</title>
		<link>http://philhosting.net/articles/managing-web-directories.html</link>
		<comments>http://philhosting.net/articles/managing-web-directories.html#comments</comments>
		<pubDate>Tue, 01 Jul 2008 07:59:57 +0000</pubDate>
		<dc:creator>Root</dc:creator>
		
		<category><![CDATA[Plesk Windows]]></category>

		<category><![CDATA[directories]]></category>

		<category><![CDATA[filemanage]]></category>

		<category><![CDATA[httpdocs]]></category>

		<category><![CDATA[plesk]]></category>

		<category><![CDATA[virtual directories]]></category>

		<category><![CDATA[web directory]]></category>

		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://philhosting.net/articles/?p=28</guid>
		<description><![CDATA[Plesk allows you to see the directories of your domain the way they are seen from the web and manage their protection and settings. Generally, there are two types of directories, physical and virtual ones. Physical directories are the actual directories present on the server&#8217;s hard drive while virtual ones are only abstraction, a kind [...]]]></description>
			<content:encoded><![CDATA[<p>Plesk allows you to see the directories of your domain the way they are seen from the web and manage their protection and settings. Generally, there are two types of directories, physical and virtual ones. Physical directories are the actual directories present on the server&#8217;s hard drive while virtual ones are only abstraction, a kind of links to the existing physical directories. Therefore, virtual directories are not visible in regular file manager but you can see and manage them on the Web Directories screen at the Domain Administration page.</p>
<p class="mediaobject" align="center"><a rel="lightbox" href="http://tutorials.ausweb.com.au/images/stories/PleskDomains/webdirs_1.gif"><img style="margin-left: 0px; margin-right: 0px;" title="Web Directory" src="http://tutorials.ausweb.com.au/images/stories/PleskDomains/webdirs_1.gif" alt="" width="500" height="248" /></a></p>
<p>Further, URLs for directories may be protected and unprotected. Everybody can access unprotected URLs, while only privileged users can access URLs with protection.</p>
<p>While working with the Web Directories screen, there is a notion of current directory. It is written in the title text of the page (by default, it is &#8220;Web directory /&#8221;). All the actions accessible on the screen affect the current directory. To change the directory, click on the desired name in the Web directories list. The title text will be updated to reflect the change.</p>
<p>Each entry in the directories list has three icons at the right side. First one allows you to open the corresponding directory in browser. The next one allows changing preferences of the directory. It is accessible only for virtual directories. The last one allows editing permissions.</p>
<p>If the current directory is virtual, four tabs are shown at the top of the page:</p>
<ul>
<li class="list2"><strong>General.</strong> This is the tab where you can change the current directory and change its properties.</li>
<li class="list2"><strong>MIME Types.</strong> Here you can define what types of files the web server can handle in the current directory.</li>
<li class="list2"><strong>Error documents.</strong> Allows you to change custom error documents for the web server errors. For using this feature, you should allow this on the domain setup page (the Custom Error Documents checkbox).</li>
<li class="list2"><strong>Protection.</strong> Used for managing protected URLs.</li>
</ul>
<p>If the current directory is physical, only General and Protection tabs are shown.</p>
<p>Preferences on each of them affect the current web directory. There are three available buttons on the General tab:</p>
<ul>
<li><strong>Add New Virtual Directory.</strong> Press it to add a new virtual directory in the current directory.</li>
<li><strong>Preferences.</strong> Manages the properties of the current directory. Available only for virtual directories.</li>
<li><strong>Permissions.</strong> Allows you to define what types of actions different user types can carry out with the current directory.</li>
</ul>
<div class="section">
<div class="titlepage">
<div>
<h3 class="title"><span class="title">Managing Directory Preferences</span></h3>
</div>
</div>
<p>To change properties of the current directory, press the Preferences button on the General tab. The following page will appear:</p>
<p class="mediaobject" align="center"><a rel="lightbox" href="http://tutorials.ausweb.com.au/images/stories/PleskDomains/webdirs_2.gif"><img style="margin-left: 0px; margin-right: 0px;" title="Web Directory Preferences" src="http://tutorials.ausweb.com.au/images/stories/PleskDomains/webdirs_2.gif" alt="" width="500" height="341" /></a></p>
<p>At this page you can change the properties of the given virtual directory, and add and remove nested virtual directories.</p>
<p>The Name field contains the name of the current virtual directory. You can rename the directory by entering the new name in this field.</p>
<p>In the Path drop-down list, select the path to the physical directory where the virtual directory resides.</p>
<p>Select the Script source access to allow users to access source code if either Read or Write permissions are set. Source code includes scripts in ASP applications.</p>
<p>Select the Read permission checkbox to allow users to read files or directories and their associated properties.</p>
<p>Select the Write permission checkbox to allow users to upload files and their associated properties to the current virutal directory or to change content in a write-enabled file. Write access is allowed only when a browser that supports the PUT feature of the HTTP 1.1 protocol is used.</p>
<p>Select the Directory browsing box to allow users to see a hypertext listing of the files and subdirectories in this virtual directory. Because virtual directories do not appear in directory listings, users must know a virtual directory&#8217;s alias. If Directory browsing is disabled, user does not specify a file name and the default content page (see below) is disabled, the Web server displays an &#8220;Access Forbidden&#8221; error message in the user&#8217;s Web browser.</p>
<p>Select the Log visits checkbox if you want to store the information on visiting the current directory.</p>
<p>The Create Application checkbox makes the virtual directory an IIS Application. The directory becomes logically independent from the rest of the web-site.</p>
<p>The Execute permissions option determines the program execution level allowed for this site&#8217;s resources.</p>
<p>Set permissions to None to allow access only to static files such as HTML or image files.</p>
<p>Set permissions to Scripts only to allow running scripts only, not executables.</p>
<p>Set permissions to Scripts and Executables to remove all restrictions so that all file types can be executed.</p>
<p>Select the Enable parent paths checkbox to allow using double period in the pathname when referring to a folder above the current virtual directory. This makes users able to move up the folder tree without knowing the folder name or the whereabouts in the hierarchy. If the option is selected, parent paths should not have the Execute permission so that applications do not have the ability of unauthorized running of programs in the parent paths.</p>
<p>Select the Enable to run in MTA checkbox to allow the application execution in multi-threaded apartment (MTA) mode. Otherwise, the application runs in single-threaded apartment (STA) mode. Using STA, each application pool is executed in a dedicated process. With MTA, several concurrent application pools are executed in one thread which can increase performance in some cases.</p>
<p>The Enable default content page checkbox allows use of a default document for the current virtual directory. The default document is sent when users access the directory on the Web without a specific file name (e.g. using http://www.swsoft.com as opposed to http://www.swsoft.com/index.html). If this checkbox is deselected and the Directory browsing checkbox is enabled, the Web server returns a folder listing. If it is deselected and theDirectory browsing checkbox is disabled, the Web server returns an &#8220;Access Forbidden&#8221; error message.</p>
<p>IIS searches for the default documents in the order specified in the Default documents search order field and sends user the first available file it finds. If no match is found, IIS behaves as in the cases when the default content page is disabled.</p>
<p>Select the Enable anonymous access checkbox if you want to make the directory public so that web users could access it without authentication.</p>
<p>Select the Require SSL checkbox to enable SSL-only access to the folder.</p>
<p>Click OK to submit your changes.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<h3 class="title"><span class="title">Managing Web Directory Permissions</span></h3>
</div>
</div>
<p>Plesk allows setting up permissions for a web directory; this way you control what types of actions different uses can perform with the directory. To manage permissions of the current web directory, click the Permissions button on the General tab. The following page will open:</p>
<p class="mediaobject" align="center"><a rel="lightbox" href="http://tutorials.ausweb.com.au/images/stories/PleskDomains/webdirs_3.gif"><img style="margin-left: 0px; margin-right: 0px;" title="Setting up Access Permissions" src="http://tutorials.ausweb.com.au/images/stories/PleskDomains/webdirs_3.gif" alt="" width="500" height="176" /></a></p>
<ul>
<li><strong>When setting permissions for folders:</strong> using the appropriate checkboxes, allow or disallow users to view the folder and its contents, to create files within the directory, and to traverse the directory. You can also select appropriate checkboxes in All Actions column if you want to allow or deny all operations for the given user/user group.</li>
<li><strong>When setting permissions for files:</strong> using the checkboxes, allow or disallow users to read and write to the file, and define permissions for file execution. You can also select appropriate checkboxes in All Actions column if you want to allow or deny all operations for the given user/user group.</li>
</ul>
<p>Select the Show additional users checkbox for users with non-defined access rights to be shown in the list, so that you could grant them appropriate rights.</p>
<p>Click OK to submit your changes or click Cancel to discard all changes and return to the previous page.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<h3 class="title"><span class="title">Managing MIME Types</span></h3>
</div>
</div>
<p>To set up MIME types for the current web directory, go to the MIME Types tab. The following screen will appear:</p>
<p class="mediaobject" align="center"><a rel="lightbox" href="http://tutorials.ausweb.com.au/images/stories/PleskDomains/webdirs_4.gif"><img style="margin-left: 0px; margin-right: 0px;" title="Managing MIME Types" src="http://tutorials.ausweb.com.au/images/stories/PleskDomains/webdirs_4.gif" alt="" width="500" height="166" /></a></p>
<p>Multipurpose Internet Mail Exchange (MIME) types instruct a Web browser or mail application how to handle files received from a server. For example, when a Web browser requests an item on a server, it also requests the MIME type of the object. Some MIME types, like graphics, can be displayed inside the browser. Others, such as word processing documents, require an external helper application to be displayed.</p>
<p>When a web server delivers a Web page to a client Web browser, it also sends the MIME type of the data it is sending. If there is an attached or embedded file in a specific format, IIS also tells the client application the MIME type of the embedded or attached file. The client application then knows how to process or display the data being received from IIS.</p>
<p>IIS can only operate files of registered MIME types. These types could be defined both on the global IIS level and on the domain or virtual directory level. Note that globally defined MIME types are inherited by all the domains and virtual directories while ones defined on the domain or virtual directory level are used only for the area where they are defined. Otherwise, if the web server receives request for a file with unregistered MIME type, it returns the 404.3 (Not Found) error.</p>
<p>To add a new MIME type, click on the corresponding icon. To edit an existing type, click on its name in the list at the bottom of page. The following screen will appear:</p>
<p class="mediaobject" align="center"><a rel="lightbox" href="http://tutorials.ausweb.com.au/images/stories/PleskDomains/webdirs_5.gif"><img style="margin-left: 0px; margin-right: 0px;" title="Edit MIME Type" src="http://tutorials.ausweb.com.au/images/stories/PleskDomains/webdirs_5.gif" alt="" width="500" height="95" /></a></p>
<p>In the Extension box, type the file name extension beginning with a dot (.), or use a wildcard (*) to serve all files regardless of file name extension.</p>
<p>Specify the file content type in the Content box. You can either select the appropriate value from the list or define a new content type. To do this, select Custom&#8230; and enter the content type in the input box provided.</p>
<p>Click OK to submit your choice.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<h3 class="title"><span class="title">Managing Custom Error Documents</span></h3>
</div>
</div>
<p>Plesk allows managing error documents sent to clients in cases of web server errors. The error codes are standardized in the HTTP protocol. For each error type you can either leave the default error document or replace it with the custom one.</p>
<p>To set up custom error documents, go to the Error Docs tab. The following screen appears:</p>
<p class="mediaobject" align="center"><a rel="lightbox" href="http://tutorials.ausweb.com.au/images/stories/PleskDomains/webdirs_6.gif"><img style="margin-left: 0px; margin-right: 0px;" title="Managing Custom Error Documents" src="http://tutorials.ausweb.com.au/images/stories/PleskDomains/webdirs_6.gif" alt="" width="500" height="154" /></a></p>
<p>The changes made on this screen affect only the current directory and all of its subdirectories.</p>
<p>All HTTP errors for which you can change the error page are listed in the Error docs list. To view the current settings for an error or change them, click on the error&#8217;s name or number. The Edit Error Document page will open where you can change the default error document for the chosen type of error to your own one.</p>
<p class="mediaobject" align="center"><a rel="lightbox" href="http://tutorials.ausweb.com.au/images/stories/PleskDomains/webdirs_7.gif"><img style="margin-left: 0px; margin-right: 0px;" title="Edit Error Document" src="http://tutorials.ausweb.com.au/images/stories/PleskDomains/webdirs_7.gif" alt="" width="500" height="100" /></a></p>
<p>The Error label contains the standard error number along with its description.</p>
<p>The Type drop-down list contains two items: Default and File. When it is set to Default, the default IIS documents are used and the Location field below is inactive. To force server to show your page instead of the default one for the selected error type, select the File option in the Type drop-down field and type the name of the desired HTML document in the corresponding field. The error documents should lie in the errordocs directory and the Location field should only contain the name of document, e.g. 404.html.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<h3 class="title"><span class="title">Managing Protected URLs</span></h3>
</div>
</div>
<p>Plesk allows setting protection on a URL for a web directory, which means the URL will be accessible only by users allowed to do so. You can protect both physical and virtual folders. To manage URL protection of the current directory, go to the Protection tab. The following screen will appear:</p>
<p class="mediaobject" align="center"><a rel="lightbox" href="http://tutorials.ausweb.com.au/images/stories/PleskDomains/webdirs_8.gif"><img style="margin-left: 0px; margin-right: 0px;" title="Managing Protected URLs" src="http://tutorials.ausweb.com.au/images/stories/PleskDomains/webdirs_8.gif" alt="" width="500" height="126" /></a></p>
<p>To protect the URL for the current directory, press the Protect button. Now you can start adding users which will have access to it. To do this, press the Add New User button. A new screen will open where you will have to specify new user&#8217;s name and password. When the user tries to access the protected URL via browser, a window opens where user should enter his/her name and password.</p>
<p>Click the Preferences button to set up the current protected URL&#8217;s settings.</p>
<p>The list at the bottom of page shows all users which have permission to access the URL. You can click on user&#8217;s name to change its password.</p>
<p>If you want to disable URL protection for the current directory, press the Remove protection button.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://philhosting.net/articles/managing-web-directories.html/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
