1 deploying a web application. 2 virtual directories web servers map urls to directories in their...
TRANSCRIPT
1
Deploying a Web Application
2
Virtual Directories
Web servers map URLs to directories in their file systems. Called virtual directories. Normally one virtual directory holds one app.
Mapping is configured by the system administrator.
When a browser requests a URL, the server maps the URL to a virtual directory and retrieves a file from the corresponding physical directory.
3
Deploying a Web Application
Each Web Apps student has a single virtual directory on scorpius.eng.usf.edu. A USF Microsoft server.
Example: wpusr40
In order to deploy a web application to your virtual directory, you must map a drive on your computer to the corresponding directory on scorpius.
4
Using a Mapped Drive
A mapped drive looks and acts like a normal disk drive on your computer. Just drag and drop files to and from the
drive’s folder. You do not use an SSH client as we did
for grad and Circe.
You can open your scorpius web site files in Visual Studio if you wish.
5
Deploying a Web Application
To deploy your application to scorpius you simply copy the files in your Visual Studio website folder into your virtual directory on scorpius.
6
Multiple Applications
You have only one virtual directory on scorpius. On your own server or a typical commercial
hosting service, you could have many virtual directories, each holding a different app.
You can put multiple applications into your one virtual directory, and access each by the file name of its starting page. All must share a single web.config file.
7
Multiple Applications
You can create subdirectories in your virtual directory and link to them from other pages on your website with relative paths.
But pages in subdirectories cannot be reached directly from outside.