Questions tagged [url]

A Uniform Resource Locator (URL) is a Uniform Resource Identifier (URI) that specifies where a particular resource is available – and the mechanism for retrieving it. They are often informally referred to as web addresses.

Filter by
Sorted by
Tagged with
0
votes
1answer
48 views

Definition of the ../../dir/index.html URL Path syntax

I've searched the net for an example of the ../../ URL path that is in some existing code that I'm troubleshooting, and have not been succesful. I need to know how to find the absolute path to where ...
1
vote
1answer
732 views

Wget - Retrieving Recursive URLs from list of URLs

I have a list of urls in a txt file. Each of these urls point to a page with another list of urls. What WGET command can I use to retrieve the urls from the pages that have been linked from the the ...
0
votes
2answers
106 views

Retain the ../../../ in wget command

../../../ is removed when i use it with the url in wget command. PLease see below: user $ wget http://n0t.meaning.anything:20000/../../../some/folder/file --2015-10-29 16:48:13-- http://n0t.meaning....
1
vote
1answer
81 views

What is wrong with URI handling on Linux Mint?

I'm using Linux Mint 17.2 XFCE. I face very strange problem on my Linux Mint 17.2 XFCE. When I open files, that are located in paths with non-latin names (for example /home/yanpas/Загрузки) I see ...
1
vote
5answers
1k views

Trying to grep url from html source in .txt file using sed

i have been able to use the code below to grep lists of urls from html source before, but for some reason it's not working for this specific example. grep: grep -1 box-download shareit1.txt|sed 's/&...
1
vote
1answer
6k views

Use curl to download list of files in csv

I have a csv of JPG url extensions. http://www.example.com/images/[url_extension] I want to use curl to loop through the CSV and download the jpg at each extension. So far I have the following, but ...
2
votes
2answers
496 views

Adding www to URL : not working

This is further to the redirect query which I posted earlier in this group . Redirect rule for Apache : Adding www to URL It is still not working for me , so re-posting the same query . The query ...
1
vote
1answer
119 views

Redirect rule for Apache : Adding www to URL

I want to add www to my URL e.g example.com.au . Right now if I type www.example.com.au in the browser it gets changed to http://example.com.au . I want it to be http://www.example.com.au . Below is ...
1
vote
2answers
346 views

How do I get size of (deb) file from download link/URL?

I use --print-uris of apt-get to get url (download-link) of debs I want to download and install on my Debian (Trisquel) GNU/Linux. --print-uris Instead of fetching the files to install ...
1
vote
1answer
456 views

Url Decoding shell script

How can I store the url-decoded string in a variable using shell script #!/bin/sh alias urldecode='python -c "import sys, urllib as ul;print ul.unquote_plus(sys.argv[1])"' str="this+is+%2F+%2B+%2C+.+...
3
votes
1answer
127 views

Download a file to a server?

After ssh to a server, I want to download two files in https://iain.cx/src/ktmux/#download to the server. So for the first file ktmux_helper, I right click to find its link on my local computer, and ...
1
vote
1answer
172 views

Apache: rewrite or redirect?

I need to redirect an URL with a variable, eg. http://www.mydomain.com/foo/55555 should go to http://www.mydomain.com/bar/55555 where 55555 is a variable number. Do I need to use redirect or rewrite?...
0
votes
1answer
658 views

Increment Numbers in URL?

I want to create a list of URLs. The URLs have two sets of identical numbers which need to be incremented by 1: http://sample.com/poilus/cwrgshs/192/192.html http://sample.com/poilus/cwrgshs/193/193....
-2
votes
2answers
405 views

extracting only the domainname, port number of first path

str1="https://111.111.111.111:2222/cpsess8993738132/scripts4/listaccts/" str2="https://111.111.111.111:2222/cpsess8993738132/" str3="https://111.111.111.111:2222/cpsess8993738132/cgi/server/xyz.cgi|...
1
vote
1answer
263 views

Getting the redirection URL of a phishing

I have received this email from a scumbag today. It is a phishing telling me to download a file at this URL: http://mes.org.my/home/tmp/comprovante/index1.php?Comprovante_Transferencia.pdf This URL ...
1
vote
0answers
261 views

Nginx wordpress and its wrong path

I've a Raspberry and I installed nginx and over this I put Wordpress. Wordpress installation come from an old backup of a websites that I hosted somewhere else. The URL was mydomain.com/home, now in ...
1
vote
4answers
218 views

How I can determine the latest version in URL?

I'm trying to put a "function" inside of a script to install the latest version of "TeamSpeak3" Client and make all configurations. My problem is I don't know how to make a function to test the ...
1
vote
1answer
2k views

Block a certain URL?

I want to deny access to a specific URL. It isn't a whole website, it's a specific URL. I want to do it simply so that some applications including browsers can't make requests for it. I tried this: $ ...
97
votes
13answers
87k views

Decoding URL encoding (percent encoding)

I want to decode URL encoding, is there any built-in tool for doing this or could anyone provide me with a sed code that will do this? I did search a bit through unix.stackexchange.com and on the ...
1
vote
1answer
1k views

URL Rewrite on debian not working

When trying to enable URL rewrite I just can't get it to work. I've enabled it with the command sudo a2enmod rewrite and I've restarted the service using sudo service apache2 restart. However in the ...
4
votes
2answers
142 views

Firefox discards URL when server connection times out or fails

I have two problems with Firefox: When I type a non-existent server into the address bar, such as http://xyz.example.com I get "server not found", but when I try to fix the address, Firefox forgets ...
3
votes
1answer
334 views

Escape closing parentheses from URL with firefox -remote

I have this command (for detailed info see Shortcut to google selected text): sh -c 'firefox -remote "openURL(http://www.google.com/search?q=$(xsel),new-tab)"' But when I select a text which ends ...
1
vote
1answer
1k views

How to Link File URLs?

I am currently running WordPress/Woocommerce on an Apache server. I have files for sale on the server, located outside of the public path for security. I am attempting to link the downloadable files ...
8
votes
2answers
8k views

Tell wget not to spider URL matching a pattern?

I want to test how my site would be behave when being spidered. However, I want to exclude all URLs containing the word "page". I tried: $ wget -r -R "*page*" --spider --no-check-certificate -w 1 ...
1
vote
1answer
3k views

Two HTTP servers on port 80 and 443

I use on my home server, Apache with one main application that is OwnCloud. So to access it from Internet I use URL -> https://my_host.no-ip.org/owncloud I use another HTTP application on the same ...
5
votes
2answers
4k views

Resolve filename from a remote URL without downloading a file

I am creating a script, which should download latest version of an application from repository and deploy the app. The main issue: there are several repositories and I need to check, which of them ...
1
vote
2answers
818 views

Third level domains [duplicate]

I have a linux computer accessible from the internet and I have registered a free dynamic DNS service, let's say its address on the internet is xx.yy.com. On this computer I have two processes ...
0
votes
1answer
910 views

Use curl to download from a Url

I am trying to download a file from a url using curl: $ curl -3 -v "https://atl1mmsget.msg.eng.t-mobile.com/mms/wapenc?location=XXXXXXXXXXX_14zbwk&rid=027" Where the X is a digit in the phone ...
1
vote
1answer
770 views

Strange symbols instead of normal icons and sidekiq issue in GitLab

After setting the relative url in gitlab: # Note that three settings need to be changed for this to work. # 1) In your application.rb file: config.relative_url_root = "/gitlab" # 2) In your gitlab....
8
votes
2answers
241 views

Is the “computer:///” address only something symbolic, or can it be used somewhere?

I am using Linux Mint 15 (Mate). When I double click the Computer icon on my desktop to see the available drives, the address bar of file manager (Caja 1.6.1) shows this address: computer:///. Is this ...
1
vote
2answers
17k views

Type URL and show HTTP status

I want to make a shell script where I type an url and it returns me the status code.So far I've tested wget is there any other cause it has the tendency to save whatever you run. Then I tried to some ...
3
votes
1answer
813 views

command not found handle doesn't work for url

I'm trying to setup the command_not_found_handle for URL links, %> command_not_found_handle() { echo "OK"; } %> aaaaa OK %> http://www.google.com bash: http://www.google.com: No such file or ...
1
vote
1answer
2k views

How can I force the IP address & hostname to only be exposed as example.com on a Tomcat Server?

I have a web server which is running on CentOS 6 on top of Tomcat7. Everything works fine, however, there are many ways that users can access the server. For instance: IP Address example.com www....
0
votes
1answer
1k views

How to find the url of the saved web page? [closed]

I am facing this issue since long. I open a web page and save on my hard drive. Later I open the saved file. But suppose I want to know the url of the same page, how to know that. As I have no idea of ...
103
votes
2answers
151k views

Any way to encode the url in curl command?

I have some url which has space in it's query param. I want to use this in curl, e.g. curl -G "http://localhost:30001/data?zip=47401&utc_begin=2013-8-1 00:00:00&utc_end=2013-8-2 00:00:00&...
1
vote
1answer
485 views

How to get a click-able link for a shared file, when sending an e-mail with the file-name in it

I've got a local network with a shared drive mounted to it, all machines running Fedora (and some Windows). When we want to share a file, there is no easy way of just getting a link for the file like ...
3
votes
1answer
2k views

Open url and fill form automatically

I'd like to create a script to open an url and fill some forms. I don't want to save the form data on the browser, so I think that this script would be a good solution for me. Any help? I know how ...
1
vote
0answers
697 views

Is there a graphic tool to add new url schemes like XX://?

I would like to add a few url scheme, e.g magnet://, and add a simple mimetype for it. So that I would be able to handle these links within my browser. Is there any graphic tool I could utilize ?
6
votes
1answer
3k views

How can I enable URL rewriting on a DD-WRT router?

I would like to be able to add a parameter to certain URL requests that go through my DD-WRT router. Specifically, I'm trying to figure out how to force safe search in Google, which means I have to ...
23
votes
5answers
46k views

Get URL's redirect target with curl

I would like to check where a single URL redirects. An example of that could be a link from Google's search result page (where a click always goes through Google server). Can I do that with curl?
5
votes
1answer
2k views

Is there any way to access a hostname containing an underscore?

I have this weird problem. I need to access a website that contains an underscore from Linux. The hostname is invalid and Linux does treat it as such. The problem is that access from Windows seems to ...
3
votes
2answers
478 views

Any CLI to validate URL? [closed]

I got a bunch of URLs (more than 1,000) and I am wondering if there is any CLI script to validate URL for http schema?
2
votes
1answer
2k views

How to checkout Tomcat by SVN?

I try: svn co http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk/ But received error: svn: E170000: Unrecognized URL scheme for 'http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk' Is it ...
3
votes
2answers
9k views

What are the URIs starting with file:// or application://?

Using Linux, I have more than once seen URIs of files and applications starting with file:// and application://. What are those URIs and how to use them?
7
votes
1answer
381 views

How do I launch Pidgin when I click on an irc:// link?

Is there a way that when you click an IRC url (such as irc://##linux) that it will open Pidgin? I believe it has something to do with gconf-editor, but I do not know the terminal command to start an ...
0
votes
1answer
972 views

Retrieve URL content and follow redirects

I want to visit an URL in CentOS and then automatically follow the redirects. So, for example: Visit http://domain.com This will redirect my by a `header()` to another webpage, so automatically ...
3
votes
1answer
804 views

can't view images stored on mounted network drive on linux webserver

I have a network drive mounted at /home/lv_admin/uslonsnas001 where I have stored images. The mount point and all sub folders have rwx mod 775 privileges. My PHP script moves the images to this ...
1
vote
1answer
134 views

Reroute one URL

I am looking to reroute one particular URL to another, for example : http://website.com/page1.html to http://website.com/page2.html on a third party server only on my machine. But I still want it to ...
4
votes
1answer
1k views

Using URLs with parenthesis with Lynx

I often use Lynx on a remote computer to look at websites (faster than port-forwarding). Sometimes the URLs I want to go to have un-escaped characters (for example brackets) that Lynx seems to need ...
3
votes
4answers
3k views

How do I route web requests into my private network depending on the domain in the url?

Scenario: Due to limited number of IPs, several domains are resolved into the same IP address. However, these domains may not all run on the same webserver, VM, or even dedicated machine. Therefore, ...