Questions tagged [relative-url]

A URL that is relative to another URL.

For example "image/logo.gif" is a relative URL, which full path can only be resolved by taking into account its parent URL. For example if a document is located at http://example.com/test, the full URL of that image would be http://example.com/test/image/logo.gif.

132 questions
0
votes
1 answer

Azure Data Factory REST how to manage pagination as a GET url parameter retrieving a pagination id from previous call result

I have an existing data source in Azure Data Factory calling a REST API My last working config (built with the UI) without pagination uses dataset parameters to build a relative URL, it translates in the source as : "typeProperties": { …
Vincent Chalmel
  • 590
  • 1
  • 6
  • 28
0
votes
1 answer

Web development - relative URLs without duplicating files

I have a site with index.php in the root folder, images in /img , and overview.php in /content. I have a sidebar.php file that is included in both index.php and overview.php. How should I refer to /img/image.gif if I include a link in each file? The…
eshriek
  • 3
  • 2
0
votes
1 answer

What determines the prefix used when you set a relative path in javascript parent.location

I am working on a C# MVC website, and have a popup that redirects its parent with a window.parent.location=newRelativePath statement in JavaScript (and then calls a custom method to hide the popup). In one place in my application, the redirection…
user756366
  • 467
  • 6
  • 24
0
votes
0 answers

relative url for images saved in post number folders - Rails carrierwave

I would like to save my rails images in folders corresponding to the post number an url like this: www.domain.com/posts/21/pictures/1.jpg the uploader is setup correctly but I can only access the pictures with the exact url and not with a relative…
Laurence
  • 367
  • 4
  • 13
0
votes
1 answer

Is there a python function to replace absolute urls with relative url paths?

I'm crawling a website and saving selected pages for offline browsing. Of course the links between pages are broken so I'd like to do something about that. Is there a somewhat simple way in python to relativize url paths like this without…
0
votes
1 answer

Webpack: overwriting url for @font-face in SASS (Glyphicons)

I've imported "glyphicons-halflings": "1.9.0", which does not contain the actual fonts. Therefore the fonts are stored relative to my application in app/assets/fonts. I am dealing with errors such as this: ERROR in…
urbanhusky
  • 1,336
  • 13
  • 35
0
votes
1 answer

Javahelp relative URL between master helpset and subhelpsets

I am using Javahelp and dynamically merging multiple helpsets. Does anyone know what the relative URL would be if I want to create a link from a page in a subhelpset to a page in the master helpset?
Michael
  • 141
  • 2
  • 12
0
votes
0 answers

URL's in body of text being changed into relative url rather than using given url

I recently migrated old data from a news site into a new platform built using Ruby on Rails. Mostly seamless migration except for one thing that I have not been able to figure out. Inside the body of the articles there are 'a tags'. These urls do…
Aaron Wortham
  • 175
  • 1
  • 1
  • 10
0
votes
1 answer

Check if url passed is part of the application page

I need help in this. For example I have 3 pages (Page1.aspx, Page2.aspx, Page3.aspx) and I also have a modal popup where the user enters a url. Now, I want to test if the url that was entered is part of the application that I have. What I've done so…
Musikero31
  • 3,115
  • 6
  • 39
  • 60
0
votes
1 answer

Why is Sharepoint's get_current() method inconsistently available?

With this Javascript: function upsertPostTravelListItemTravelerInfo1() { var clientContext = SP.ClientContext.get_current(); . . . ...I sometimes get this err (not always, as shown by the data from this method inserting into the…
0
votes
1 answer

Get SPList and SharePoint.Client.List web relative url

I am working with sharepoint list and sharepoint client list objects. Is there any way to get web relative urls of those objects? I know about ServerRelativeUrl, DefaultViewUrl but they don't solve my problem. I want exactly web relative urls,…
0
votes
1 answer

What is the correct base for relative URLs in Spring MVC application?

I have a Spring MVC application with REST controllers, which works as a back-end for a JavaScript, Angular-based front-end application. It is sometimes necessary to return to the front-end a relative URL to a resource. The question is: what should…
pkalinow
  • 1,619
  • 1
  • 17
  • 43
0
votes
4 answers

Is a file name with its file extension (without the path) considered a URL?

I was wondering if index.html is a relative URL or not. I know that Website/Pages/index.html is a URL. But what if it was just the file name and file extension without the path? Would it still be called a URL?
tainehu
  • 15
  • 3
0
votes
1 answer

Generating relative urls with laravel

Is it possible, with laravel 4, to generate relatives url to use in forms and links ? For example I have a form where I'd like to use a relative url to /user/login and laravel build the form with the full url http: //url.com/user/login
kitensei
  • 2,510
  • 2
  • 42
  • 68
0
votes
1 answer

Why doesn't the div show when the url changes?

I'm trying to get certain
s to show up when the url has a certain hash. So far, it works when I am navigating from a different page but doesn't work when I click from the same page. Example: If I am on the page1 and click to go to /page2#hash1…
1 2 3
8 9