Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
First Web responsibility question
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00178392
Message ID:
00178920
Views:
41
>The problem is that when adding a picture or any other file to an htm file, Front Page uses a relative path in the URL, when I would like for it to use an absolute path from my Inetpub\root directory. (This is so we can move pages around and not break them) Do you know of a way to do this? (is this what you were complaining about, or am I completely off subject?)

Hi Erik,
Your on the right subject alright, unfortunately though I only use FP at home and I don't have it handy here to give you an accurate step-by-step post. But I should be able to fill in some gaps atleast...

Under properties for each html file in a FP web, there is a place to specify a base url, then the relative URL feature that it sounds like you need will kick in. Now FP seems to prefer that hyperlinks are defined as relative, and it will use the base url property to create an absolute path on the fly. For the website I maintain (http://members.aol.com/topfuelhyd/TFH128main.htm) this is a real PITA, but that's because I use FP as a site management tool. But for what your doing I guess it would be useful. BTW, the only place I can find to edit the properties for an html file is from inside FP editor, on File Menu.

Some words of caution though, 3.x browsers seem to be clueless when they hit a page that doesn't use absolute urls. Once you export an HTML page you might want to manually change the url to absolute. Servers that don't support FP extensions seem none to happy with them either. Plus, when using the import a web feature that me and David were talking about, there is a user prompt when you first start the wizard that seems to be a harmless no-brainer, but is actually asking you "Do you want me to do you a favor and screw up all your hyperlinks by converting them to relative paths and setting a totally eroneous base url?" :) Also, the hyperlink view of FP Explorer does a wonderful < groan > job of converting all your urls in a web to relative if it finds a single base url specified on any page. If you haven't guessed it yet, I've battled this feature atleast 4 times before I finally got it to get off my back and leave my urls alone. HTH.
Roxanne M. Seibert
Independent Consultant, VFP MCP

Code Monkey Like Fritos
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform