"> |
|
|
Welcome to your Web Server space!
This is a Microsoft Internet Information Server Ver 4.0
|
This server supports
Microsoft FrontPage 98 Server Extensions.
FrontPage 97 is also supported, yet the screens are different and the help displayed
here will not match exactly, yet the concept remains the same.
FTP access is also available using a FTP client.
|
Use the following instructions
as a guide only.
Always consult your applications context sensitive Help and documentation for full
application instructions.
Important Note: This document is not designed to teach you how to write HTML
only how to place it on the Web Server itself.
|
The Web Server search page
order is:
default.htm, default.html, index.htm, index.html, default.asp
So whichever document is found first based on the above list will be
used.
|
Once the Publishing
procedure is complete, your page is referenced as:
"><%= "http://" & Request.ServerVariables("HTTP_HOST") %>
|
FrontPage 98 Related Information
It is suggested that you read this whole document for a better understanding.
|
| Opening Your FrontPage 98 Content: These
instructions assume you have not checked the "Always open last web"
located on the dialog box titled "Getting Started." {{To switch off "Always
open last web" go to the "File" menu pad then, "Open
FrontPage Web..." where you will be able to uncheck that option box. This will also
bring you to the starting point referenced next.}}
Open Front Page Explorer where you will be presented with the dialog box titled
"Getting Started." There are two ways of opening your local content for
publishing to the Web Server, or moving your content from one FrontPage server to another,
or just to work on the content located on your local hard drive prior to publishing.
- Locate and select from the most recent scroll box located below the radio button
called "Open an Existing FrontPage Web," if that location exists within
the list. As you scroll and select through the most recent list, the physical location
will be displayed immediately below the scroll box allowing you to choose the correct
location to open. If you have selected from the most recent list you can now press the OK
button and proceed with one of the publishing sections below. If the desired web is not
contained in the most recent list, proceed with step 2 below.
---OR---
- The other method would be to press the "More Webs..." button. This
method will produce a dialog box titled "Open FrontPage Web" and a drop down box
labeled "Select a Web server or disk location." You can look through the
drop down list or manually type in the location to open. {{An example might be <%= "http://" & Request.ServerVariables("HTTP_HOST") %> or
C:\ProgramFiles\FrontPage\Webs\<%= Left(Mid(Request.ServerVariables("HTTP_HOST"), 5), InStr(1,Mid(Request.ServerVariables("HTTP_HOST"), 5), ".")-1) %> or whatever directory structure is correct for your
system.}} Once the location has been entered/selected press the "List
Webs" button and choose the web you want to work with. {{You can create subwebs with
FrontPage that can be referenced as different than the <Root Web> site. This might
be used, as example, for a guestbook or for some other purpose. Whatever you name the
subweb will need to be added to the URL for referencing that web.}}
This process will work to open content located on your local hard drive, from
another FrontPage Server (if copying from site to site), or the Web Server itself (if a
backup is what is desired). At some point during this opening process a dialog box will be
displayed requesting your login credentials. {{ Specify your username and password in the
displayed dialog box.}} Click one of the links below for further instructions if needed.
|
|
| Choosing a FrontPage 98 destination
location to publish/copy your content to: The first step with FrontPage
is to open the content you want to work with. This content can be located locally on your
hard drive, on another FrontPage Web Server, or the Web Server itself. If you need help
opening your content consult the section Opening Your
FP98 Content.
When you select the "Publish" button from the FrontPage Explorer
tool bar, it will bring up one of two possible dialog boxes! This process will be used
time and time again to publish to the Web Server, copy to your local hard disk, or publish
to another FrontPage Server. This dialog sequence must be fully understood in order to
correctly publish your content.
- The very first time this process is run the dialog box titled "Publish Front
Page Web" is displayed. {{This dialog box is used for specifying the destination
location. This means copy it from your local hard drive to the web server in this case.}}
The List Box, located on the right side of the screen, will allow you to type in a
location. The location that should be entered is "><%= "http://" & Request.ServerVariables("HTTP_HOST") %>. The http://
prefix must be entered so that Front Page knows it's going to copy up to the web server!
Press the OK button after you have entered the appropriate information. Once complete step
2 below can be skipped.
---OR---
- If you have previously published to another site or have entered a location for some
other reason, you will be presented with a dialog box titled "Publish." The
Publish dialog box will have the most recent entries located on the left hand side scroll
box. Immediately below the scroll box, the physical location will display what the list
actually represents. As you move to the different items within the most recent scroll box
list, the locations will continue to show the physical locations just below the scroll
box. If you do not see the location contained in the most recent scroll box list that you
wish to publish to, press the "More Webs..." button and follow the
process outlined in step 1 above to specify the Web location.
It is important to remember that if you create a directory under your <Root
Web> you must always specify that directory in the URL entered. An example would be <%= "http://" & Request.ServerVariables("HTTP_HOST") & "/copy_of_" & Left(Mid(Request.ServerVariables("HTTP_HOST"), 5), InStr(1,Mid(Request.ServerVariables("HTTP_HOST"), 5), ".")-1) %>,
you would have to enter the URL exactly to view its contents. You will typically publish
to the <Root Web> by just specifying <% Response.Write( "http://" & Request.ServerVariables("HTTP_HOST") & ". ") %>Pay careful attention to your destination
location to avoid mistakes in location. Click one of the links below for further
instructions if needed.
|
|
Web Publishing with FrontPage 98
instructions follow:
- If you need instructions on opening your existing content, consult the section titled
Opening Your FP98 Content. A typical method of
posting the content you have created, and that content resides on your local hard drive
and is open in Front Page Explorer, to the web server entails that you press the "Publish"
button located on the Front Page tool bar.
- Once the "Publish" button is selected, a destination location must
be selected. If you need help on selecting a destination location, consult the section
titled Choose a FP98 Destination. A typical
method would be to specify your <Root Web> location as <% Response.Write( "http://" & Request.ServerVariables("HTTP_HOST") & vbcrlf) %>the destination dialog box or
from the most recent scroll box list or by entering the location manually as: <% Response.Write( "http://" & Request.ServerVariables("HTTP_HOST") & vbcrlf) %>.
- The final steps necessary are based on deciding on the two check boxes of
"Publish changed pages only" and "Include child webs."
For first time publishing these settings would be irrelevant since none of your content is
actual present on the Web Server. It is better to get into the habit of selecting both
check boxes to save time in future Publishing.
- Press the OK button and Front Page will begin the actual work. The status bar,
located on the bottom left side of Front Page Explorer, will show a completion percentage
of the task being performed.
This process will work to publish content located on your local hard drive, from
another FrontPage Server (if copying from site to local hard drive), or the Web Server
itself (if a backup is what is desired). At some point during this publishing process a
dialog box will be displayed requesting your login credentials. {{ Specify your username
and password in the displayed dialog box.}} Click one of the links below for further
instructions if needed.
|
|
Moving an existing FrontPage 98 Web to this
Space:
- A typical method of moving the content located on another FrontPage Server entails
that you open the existing content with Front Page Explorer and copy it to your local hard
drive. The assumption of moving from one Hosting Company to another is the premise of this
discussion. It is further assumed that a current copy is not already on your local hard
drive. {{ If you already have a current copy of your content proceed to step 6 below.}} If
you need instructions on opening existing content, consult the section titled Opening Your FP98 Content.
- Now that you have the existing content open in Front Page Explorer, you will select
the "Publish" button. A destination location must now be selected. If you
need help on selecting a destination location, consult the section titled Choose a FP98 Destination. A typical method would be
to specify your working directory structure. As an example:
C:\ProgramFiles\FrontPage\Webs\<%= Left(Mid(Request.ServerVariables("HTTP_HOST"), 5), InStr(1,Mid(Request.ServerVariables("HTTP_HOST"), 5), ".")-1) %> or whatever directory structure is correct for your
system. FrontPage will make the directory if it does not exist if you acknowledge the
appropriate dialog box.
- The next step is to select the two check boxes of "Publish changed pages only"
and "Include child webs." By making these selections, all of the
information contained in the existing will be copied to your local hard drive.
- Press the OK button and Front Page will begin the actual work. The status bar,
located on the bottom left side of Front Page Explorer, will show a completion percentage
of the task being performed. This could be a lengthly process based on the amount and size
of content that has to be copied to the local machine.
- Now that you have your existing web content copied to the local hard drive it is time
to proceed with Publishing it to the server. Important: To clear any cached
information in FrontPage, it is a good idea to close and reopen Front Page Explorer. Once
Front Page Explorer is reopen, open the copied content. As an example:
C:\ProgramFiles\FrontPage\Webs\<%= Left(Mid(Request.ServerVariables("HTTP_HOST"), 5), InStr(1,Mid(Request.ServerVariables("HTTP_HOST"), 5), ".")-1) %> or whatever directory structure is correct for your
system. If you need instructions on opening existing content, consult the section titled Opening Your FP98 Content. Your recent list should
contain this location for easy re-selection.
- It's now time to place your content on this Web Server. Selecting the "Publish"
button will display the destination dialog box. If you need help on selecting a
destination location, consult the section titled Choose
a FP98 Destination. A typical method would be to specify your <Root Web>
location as <% Response.Write( "http://" & Request.ServerVariables("HTTP_HOST") & vbcrlf) %>the destination dialog box from the most recent scroll box list or by entering
the location manually as: <% Response.Write( "http://" & Request.ServerVariables("HTTP_HOST") & vbcrlf) %> and selecting the OK button to proceed.
- The final steps necessary are based on deciding on the two check boxes of
"Publish changed pages only" and "Include child webs."
For first time publishing these settings would be irrelevant since none of your content is
actual present on the Web Server. It is better to get into the habit of selecting both
check boxes to save time in future Publishing.
- Press the OK button and Front Page will begin the actual work. The status bar,
located on the bottom left side of Front Page Explorer, will show a completion percentage
of the task being performed.
|
|
| Backing Up your FrontPage 98 Web content to
you local hard drive:
|
|
FTP Related Information
|
FTP Access using a FTP Client:
Using a FTP client the hostname is:<% Response.Write( "ftp." & Mid(Request.ServerVariables("HTTP_HOST"), 5) & vbcrlf) %>
You must specify your alias as /<% Response.Write( Left(Mid(Request.ServerVariables("HTTP_HOST"), 5), InStr(1,Mid(Request.ServerVariables("HTTP_HOST"), 5), ".")-1) & vbcrlf) %> in the initial remote directory field.
Example:
Hostname: <% Response.Write( "ftp." & Mid(Request.ServerVariables("HTTP_HOST"), 5) & vbcrlf) %>
Remote Directory: /<% Response.Write( Left(Mid(Request.ServerVariables("HTTP_HOST"), 5), InStr(1,Mid(Request.ServerVariables("HTTP_HOST"), 5), ".")-1) & vbcrlf) %> {{ You must specify the /
prefix! }}
Enter your login credentials in the FTP client's dialog box to gain access.
When using FTP you must manually place the files in the directories you have
specified in your HTML document. If the HTML does not match the correct directory
placement, you will see some form of a broken link. A common error made is when a HTML
document contains an image link similar to "images/some-image.jpg" and the file
some-image.jpg is not located in the images directory, the Web Browser will show a missing
image icon. Since FTP is a manual process care must be taken when placing or deleting
files. ALWAYS make sure you have a working local copy of your Web Site.
|
Return to the Top of this
document.
|
Browser Quick Tip for FTP
uploads/downloads:
You can use a Netscape browser to drag files from Windows Explorer or from Netscapes' File
menu pad choice of Upload to the browser by using the following URL:
<% Response.Write( "ftp://username@" & "ftp." & Mid(Request.ServerVariables("HTTP_HOST"), 5) & "/" & Left(Mid(Request.ServerVariables("HTTP_HOST"), 5), InStr(1,Mid(Request.ServerVariables("HTTP_HOST"), 5), ".")-1)& vbcrlf) %>
You will be prompted for your password. You MUST replace the parameter of username with
your personal login credential. This method also supports entering the whole login
credential specified as username:password. Example: MyLogin:MyPassword
An example URL (Netscape Only) is:
<% Response.Write( "ftp://username:password@" & "ftp." & Mid(Request.ServerVariables("HTTP_HOST"), 5) & "/" & Left(Mid(Request.ServerVariables("HTTP_HOST"), 5), InStr(1,Mid(Request.ServerVariables("HTTP_HOST"), 5), ".")-1)& vbcrlf) %>
When you drag the files from Windows Explorer to the supported browser you are asked to
confirm the upload, answer yes. This is a quick way to update a file! This method does
have limitations, being that you cannot create directories with this process. A FTP client
must be used to make directories.Internet Explorer 4.0 will only support
entering the protected portion of a site for file downloads. This is useful when you have
your _private directory set to NO access security. You would typically set the _private
directory to NO access, due to specifying _private as a results location for forms -OR-
the location of a database file. Since you cannot obtain access from the Web, you would
gain access via FTP. Using the following URL would allow you to use Internet Explorer 4.x
to retrieve files from your restricted _private directory:
<% Response.Write( "ftp://username:password@" & "ftp." & Mid(Request.ServerVariables("HTTP_HOST"), 5) & "/" & Left(Mid(Request.ServerVariables("HTTP_HOST"), 5), InStr(1,Mid(Request.ServerVariables("HTTP_HOST"), 5), ".")-1) & "/_private" & vbcrlf) %>
|
Return to the Top of this
document.
|
Web Publishing Failure:
If the above process does not work for you with your version of Front Page or FTP client,
then follow the procedure outlined in the Front Page Help or the FTP Client for posting to
your Web space. The above listed procedures have been tested using Microsoft FrontPage 97
& 98, CuteFTP, WSFTP, Netscape 3.x & 4.x, IE 4.x with complete and total success.
This document is an Active Server Page, so if you can see it, the server is working. |
|
|