Questions tagged [url]

Uniform Resource Locators are a generic scheme for specifying the location of resources. They are most commonly used for identifying locations on the Internet (such as webpages and email addresses) but can be used to reference almost anything.

519 questions
-2
votes
1 answer

Apache not finding file from URL request

I'm trying to access a file from my localhost via http://localhost/profile-pics/default.jpg however apache keeps saying that the url doesn't exists 404. How can I configure apache to find my file? My directory is as follows…
Dr.Knowitall
  • 219
  • 2
  • 10
-2
votes
2 answers

How to hide query string in url?

The below is the .htaccess code which is causing the rewrite in URL, RewriteRule ^24-(.+)~(.+)\.html$ gallery_catagory.php?gallnm=$1&GalleryID=$2&%{QUERY_STRING} [nc] but still I can see the query string appended after .html? for each page. How…
user151172
-2
votes
1 answer

cpanel cron job not working

I have created a cron job in cpanel. The result is this: * * * * * /usr/local/bin/wget http://example.com/facturi-restante/cron The problem is that is not working. Can anyone give me a hint why please?
zozo
  • 783
  • 3
  • 11
  • 22
-3
votes
1 answer

What's behind a URL?

What are the parts that make up a url? I'm kinda confused about how a "url" works. I understand it's a "path" to a location on the internet, but what do they mean? For example: serverfault.com serverfault is in relation I assume the name of the page…
yuritsuki
  • 95
  • 5
-3
votes
2 answers

Which DNS record type points at the directory where the website resides?

A server can host multiple websites. For example let the server'S IP be 111.222.333.444 Then one website could reside at 11.222.333.444/example1 and another at 11.222.333.444/example2 directory If you dig the a DNS record of those two, you will…
HelloWorld
  • 137
  • 4
-4
votes
2 answers

An optimal way of nginx rewrite rule building for pretty URL

The webpage is accessed in the following way: `example.com/` or `example.com/?site=website` In this example, I'm accessing the websites located on example.com domain. Could anyone suggest an optimal way of rewriting rules, so the above would be…
-4
votes
1 answer

How can I access a URL through it's IP address?

http://example.com has the IP address 93.184.216.34. From what I've read about IP addreses and ports, this leads me to believe that appending the port 80 to the end of it (93.184.216.34:80) should also load the same page. However instead it gives me…
James Donnelly
  • 103
  • 1
  • 7
-4
votes
1 answer

url forwarding in nginx

First time using nginx. I want to forward any incoming request which looks like this: https://www.example.com/elasticsearch to http://localhost:9200 with nginx. I wrote following in my nginx config in the http tag. server { listen 3333; …
-9
votes
1 answer

Can you identify the hostname of machine where a webpage is hosted?

At my company, there is an internal cgi script that I regularly use. Is there any way I can identify the hostname of that machine by just the url? Unfortunately, the hostname is not within the url. What I want to do after is to access that machine…
serverFaulter
  • 385
  • 2
  • 4
  • 9
1 2 3
34
35