|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
SourceSafe Options Dialog Box, Web Projects Tab (Administrator)
Sets information for a Web project, which contains files meant for HTML browsers. You can use this tab to specify an existing Visual SourceSafe project as a Web project. The project must have a URL and virtual root defined, and you can set the other options on the tab. Proxy information is set globally, using the Web tab in the SourceSafe Options dialog box.
You must quit Visual SourceSafe Administrator and tell all your users to close and restart Visual SourceSafe Explorer for the changes that you make in this tab to take effect. Visual SourceSafe will then display your Web projects marked with a special icon.
Dialog Box Access
In Visual SourceSafe Administrator, on the Tools menu, click Options, then Web Projects.
Allows you to navigate to a project in the database or a deployment location.
- Deployment path
Specifies a path from which to deploy the Web project. This path can be on a hard drive on your local computer, elsewhere on a LAN, or on a remote computer (via FTP). If the location is local, specify it with a drive letter or in UNC format. You can enter several deployment paths in this box, separated by commas. You can also use the Browse button to locate a path. For more about setting deployment paths, see Remarks.
Entering a value in this field sets the Deploy_Path initialization variable in Srcsafe.ini.
- Set Another
Optionally clears the dialog box so that you can set information for another Web project. This button is not enabled unless you have specified a valid project name and URL for the first Web project.
- Site map filename
Specifies the name of the file for Visual SourceSafe to use to create a site map. The default is Sitemap.htm.
- This project represents a Web Site
Specifies the name of the Web project. You can enter the name or click Browse to locate the project in a database.
Indicates the URL for the Web project.
- Virtual Root
Indicates the virtual root for the Web project. Some Web server software supports this. If you have specified a virtual root in your server software, you should specify it here, but without an initial slash. Entering a value in this field sets the Virtual_Root initialization variable in Srcsafe.ini. Note that lookups check Srcsafe.ini for any project with the specified virtual root.
When specifying a remote location for the deployment path, use URL format. You must include the protocol specification for FTP ("ftp://") and the location. For example:
To these specifiers, you can add a user name or a user name and a password, and a folder path, if required. Use a colon (:) to separate user name and password.
Folder information for a deployment path applies to the FTP server root. When using typical FTP commands on Intel or UNIX, you log in to the FTP server and begin at a home path that is typically not the server root. For example, if you want to place a file in your Web site at Widgets Incorporated, you might perform the following steps:
Access the site using ftp://ftp.widgets-inc.com/.
Enter your user name and password.
Change the folder to temp (a subfolder).
Use the FTP "put" command to write the file.
To specify this location in the Deployment path box in this tab, type:
Many systems use a tilde (~) to specify a home folder. For our example, you might enter the following, assuming that the Web server supports this common syntax:
When using the "~" symbol for a home folder, be careful where you enter the "/". For example "cd ~/temp" is a valid FTP command, but "cd /~/temp" is not.
You can remove the Web project designation if you are setting another project. Clear the URL and Virtual Root fields, and then click OK.