Documente online.
Zona de administrare documente. Fisierele tale
Am uitat parola x Creaza cont nou
 HomeExploreaza
upload
Upload




Create a Virtual Directory

computers


Create a Virtual Directory

In most cases, the content you publish to your Web site is located in a home directory on your computer, such as C:\Inetpub\Wwwroot\. However, there might be instances when the content is located in another di 15315j95p rectory, or even on a remote computer.

To be able to publish content from any directory not contained within your home directory, you must create a virtual directory. A virtual directory is a directory that is not contained in the home directory but appears to client browsers as though it were. You can create a virtual directory by using IIS Manager or by using Windows Explorer.



Requirements

u·     Credentials: Membership in the Administrators group on the local computer.

u·     Tools: Iis.msc.

Recommendation

As a security best practice, log on to your computer using an account that is not in the Administrators group, and then use the Run as command to run IIS Manager as an administrator. At the command prompt, type runas /user:administrative_accountname "mmc %systemroot%\system32\inetsrv\iis.msc".

To create a virtual directory by using IIS Manager

In IIS Manager, expand the Web Sites folder, and expand the Web site to which you want to add a virtual directory.

Right-click the Web site or folder within which you wish to create the virtual directory, select New, and then click Virtual Directory. The Virtual Directory Creation Wizard appears.

Click Next.

In the Alias box, type a name for the virtual directory. This is the name the user types, and should be short and easy to type.

Click Next.

In the Path box, type the name of the physical directory or click Browse to navigate to the physical directory in which the content for the virtual directory resides.

Click Next.

Under Allow the following permissions, select the check boxes for the access permissions you want to assign to your users, and then click Next.

Note

For security purposes, when selecting access permissions, consider allowing only the default Read permission. By restricting permissions in this way, you can mitigate potential attacks against your Web site by malicious users.


Click Finish. The virtual directory is created below the currently selected folder level.

To create a virtual directory by using Windows Explorer

Open Windows Explorer.

Right-click the folder you want to be a virtual directory, and select Sharing and Security.

On the Web Sharing tab, click Share this folder.

On the Edit Alias dialog box, in the Alias box, type the name for the virtual directory.

Under Access permissions, select the check boxes for the type of access you want to assign to the virtual directory.

Under Application permissions, select the check boxes for the type of application access you want to assign to the virtual directory.

Click OK, and then click OK again.


Document Info


Accesari: 1364
Apreciat: hand-up

Comenteaza documentul:

Nu esti inregistrat
Trebuie sa fii utilizator inregistrat pentru a putea comenta


Creaza cont nou

A fost util?

Daca documentul a fost util si crezi ca merita
sa adaugi un link catre el la tine in site


in pagina web a site-ului tau.




eCoduri.com - coduri postale, contabile, CAEN sau bancare

Politica de confidentialitate | Termenii si conditii de utilizare




Copyright © Contact (SCRIGROUP Int. 2024 )