2022 Developer Survey is open! Take survey.

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

NGINX should not change the URL in the Browser Address Bar

I hope you can help me on the following matter. I have NGINX Running and want to forward to .html (virtual pages) to index.php?view=$args without changing the URL, which is shown in the Browser ...
user avatar
1 vote
0 answers
23 views

IIS accepting requests with zero-width characters

We're running an API behind a pair of load-balanced IIS v10 servers that route the request to a pair of Tomcat servers (historical reasons for this architecture). A couple of instances have come up ...
user avatar
1 vote
1 answer
23 views

Nginx + jirafeau - deny acces to admin.php

Hello i try to deny access for externe IP to my URL admin.php of my website with nginx. I have a jirafeau server with a example.com/admin.php I try to deny acces for this page but dont work. I am new ...
user avatar
0 votes
1 answer
59 views

DNS redirect to a static IP?

I want to implement a URL shortener using a DNS modification. Is this possible? It would do things like convert a domain name to a static IP: https://fubar/keyword -> https://192.168.0.200/keyword ...
user avatar
2 votes
1 answer
274 views

403 in nginx when accessing a directory

I made a very simple server to test how a URL with folder behaves in nginx. Nginx is running in docker (nginx:latest image). Nginx runs user nginx (default set in /etc/nginx/nginx.conf). server { ...
user avatar
0 votes
0 answers
40 views

Can I hide domain.tld for a specific subfolder and show IP:PORT instead (Caddy webserver)?

I use my personal website when testing web applications before they are mature enough to go in production on a dedicated server/website (distinct from my own). I am not a professional though, these ...
user avatar
  • 1
0 votes
0 answers
12 views

Permanent redirect URL in uppercase to lowercase using htaccess [duplicate]

I have the URLs in large letters and I need a permanent redirect to small letters. http://localhost/test/en/Ads-1-Alsace-Bas-Rhin-Cars-Demo01-Particular Redirect to: http://localhost/test/en/ads-1-...
user avatar
0 votes
0 answers
48 views

AWS Route53 Configuration creating random subdomains

The following article describes the issues I'm currently having with a domain: Somebody created subdomain without my knowledge. How? Random subdomains are being created and indexed with search engines,...
user avatar
0 votes
2 answers
1k views

How to add http host header in URL?

I have web app deployed in K8 in aws & configured LoadBalancer to call the same from internet. In the Postman I call like , GET https://myteams.myorg.net/config Headers: Host doom.myteams.myorg....
user avatar
  • 1
-1 votes
1 answer
34 views

Interpret URL correctly which port is the webserver listening to? [closed]

I have a webserver running which i didnt install. The URL to reach the webserver is https://adomain.de:7535 I took a look at the respective service unit and noticed its listening on port 7535 (--port=...
user avatar
0 votes
0 answers
44 views

Disable URL decoding in certain urls KEMP Load Balancer

So I recently set up GitLab in my server and I use the kemp load balancer to reverse proxy and also manage other rules and stuff but today I noticed that the web IDE wasn't working and after looking ...
user avatar
  • 119
0 votes
1 answer
116 views

Fritz!Box & Ubuntu: Expose URL in LAN with Apache Httpd and Bind

I hope someone can help me with this - I thought - simple task. Situation: On my private LAN I run an Internet-Router ("Fritz!Box") and a Raspberry Pi with Ubuntu 20.04 LTS on it. I ...
user avatar
-1 votes
1 answer
51 views

How to direct a custom domain at a particular tweet [closed]

I have registered a new domain, let's call it particulartweet.com. I would like users who enter that domain in their browser to land on a particular Twitter URL, like https://twitter.com/wgervais/...
user avatar
0 votes
0 answers
275 views

NGINX proxy_pass without changing URL

My Goal My goal is to redirect to a different web page without changing the URL in the address bar. So for example I want to redirect from https://my.site.com/path to https://external.com/other, but ...
user avatar
1 vote
0 answers
39 views

Apache Rewrite Permalinks on non-WordPress site

I've inherited a legacy PHP site running on Apache with a custom CMS. The URL structure is currently: https://example.com/topic.php?id=100&Title=Blog+Post+Topic Is there an easy(-ish) way to ...
user avatar
-1 votes
1 answer
64 views

Disallow: /?q=search/ in robot.txt

Does /?q=search/ means I can't web scrape the search websites that ends with =search/ ? Can I scrape an URL ends with =0#search ?
user avatar
1 vote
0 answers
18 views

apache2 reverse Proxy - how to change default http Port of connected webserver

I am working in a test environment and set up an apache2 webserver in a Ubuntu 21 VM and an IIS webserver within a local network to learn about proxy server functionality. In these first tests I use ...
user avatar
  • 11
2 votes
1 answer
144 views

used colons for url htaccess http://localhost/1:1

I have a problem with the colons used in url this my url http://localhost/1:1 this my htaccess RewriteEngine On RewriteRule ^/(.*):(.*) index.php/$1:$2 this error show Forbidden You don't have ...
user avatar
2 votes
1 answer
99 views

When changed to WWW, all URLs showing index.php?page= how to remove index.php?page=?

I recently managed to direct all URLs from non-www to www as I had an SEO error regarding duplicate websites. Once I have applied www rules then all my URLs start showing index.php?page= which doesn't ...
user avatar
0 votes
1 answer
103 views

Is It Technically/Feasibly Possible for a URL to have 3 or More Public Suffix Labels? (eg. test.co.io.example)

I know that it's possible to have at least 2 labels in the publix suffix (eg. test.co.example), but is it possible to have 3 or more (eg. test.co.jp.example)? I'm not asking if it's possible to have ...
user avatar
  • 103
0 votes
1 answer
52 views

IIS URL Rewrite does not work on a complex URL

I have 2 URL redirection rules: <rewrite> <rules> <clear /> <rule name="al - helyek/al (kieg)" enabled="true" ...
user avatar
0 votes
1 answer
29 views

subdomain vs subfolder in site address

I have a main website, from which users can navigate to several web applications. I'm trying to decide if the URL for an application should be as a sub-domain or as a sub-directory, namely which of ...
user avatar
  • 1
0 votes
0 answers
36 views

Rewrite URL on windows 10 pc?

I'm not a pro in networking, but a software engineer, so don't kill me if it's not possible, but here's my question with a little "intro". So we have a server that is currently at public ...
user avatar
1 vote
0 answers
54 views

`baseurl` when hosting fossil as CGI

I'm self-hosting a repository on https://example.com/, running Apache. I've created a CGI script named index.cgi under DOCUMENT_ROOT as described in https://www.fossil-scm.org/fossil/doc/trunk/www/...
user avatar
1 vote
1 answer
126 views

Nginx Redirect regex

I have this url: https://example.com/admin/catalog/product/view/id/45533/?___store=en_us&sendAttributionID=email_automation_5ffa6c5967af4527508858fb&ContactID=...
user avatar
  • 143
1 vote
0 answers
127 views

Browser Downloading ASP App Instead of Displaying

Windows Server 2012 R2 / IIS 8.5 In IIS > Sites > Default Website I have an (ASP) application, when I visit the localhost URL a file is downloaded instead of the page being displayed. The files ...
user avatar
0 votes
2 answers
171 views

RewriteRule conflict and trailing slash

We are migrating a website to our cPanel infrastructure. The customer hosted the website on his own infrastructure using Nginx. He sent to us his Nginx configuration files and we converted them to ...
user avatar
  • 31
0 votes
1 answer
91 views

Nginx rewriting URL with params to url without params

So I have this URL: /web/cms.php?open=unsereteam I want to redirect to: https://www.camper-center.ch/portrait/unser-team.html I tried this: rewrite ^/web/cms.php?open=unsereteam$ https://www.camper-...
user avatar
0 votes
1 answer
343 views

Nginx redirect to URL with #

I want e.g. https://example.com/to/redirect be redirected by nginx to https://example.com/some/url/with/#my-beautiful-id. However, in nginx config files # is used for comments Is it possible? What ...
user avatar
  • 127
-3 votes
2 answers
99 views

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 ...
user avatar
3 votes
1 answer
144 views

Why is my Apache RewriteRule removing hex codes from the target url query string?

I have an apache rewrite rule: RewriteRule ^/xy[/]{0,1}$ https://www.example.com/path/file.php?utm_source=Billboard&utm_medium=Print&utm_campaign=MyOrg%20Promo&utm_term=2020FA&...
user avatar
  • 33
0 votes
1 answer
93 views

Nginx refer to the php file if no extension

I simply want to do this: If the user goes to the address https://example.com/abcd if the folder "abcd" exists, serve it based on the index file rules. If not, serve the abcd.php file If ...
user avatar
1 vote
0 answers
187 views

Apache mod_rewrite P flag is rewriting URL unexpectedly

I've recently received a request from the site owner to redirect our base domain to a specific landing page on a subdomain, which is working just fine. The problem is that he wants the URL to remain ...
user avatar
0 votes
1 answer
74 views

Api request that return virtualHosts list name or ip

Is there a way for send a request to apache web server and it be returned list of all virtualHosts, name or ip address? Can be done it with some api? I Know that executing apache2ctl -S I get info on ...
user avatar
1 vote
1 answer
2k views

HAProxy: Using path variables to match one acl to a backend, depending on variable

I would like to setup HAProxy to redirect to a particular backend based on the variable in the acl rule. As an example, right now, I have a standard 1-to-1 setup for the ACLs and the corresponding ...
user avatar
  • 77
0 votes
0 answers
497 views

How to redirect a client after sending 401 Unauthorized?

I've found out that due to the way HTTP Basic Authentication works I need to unauthorize a client in order for the browser to forget the session id. I found a way to do that but I still need to send ...
user avatar
0 votes
1 answer
411 views

HAProxy URL redirection

I have a goal to redirect some URLs into one. I mean this is the destination url: https://application.company.com I want to redirect: http://company.com https://company.com https://application.company....
user avatar
0 votes
1 answer
2k views

Nginx rewrite image URL to another domain [closed]

I have folders structure on the origin server like /images/2020/07/09/imagename.jpg and moved it all to an s3-compatible storage on a subdomain slightly changing folder structure. And now struggling ...
user avatar
-1 votes
2 answers
853 views

Two apache servers on same machine with same port [closed]

I have a self hosted apache website with php and mysql on my Raspberry Pi. Now I need to make another one for my new domain but I have no other computer to run the server on. Is there a way for me to ...
user avatar
0 votes
1 answer
39 views

How to find URL associated with Google Places API

Within our enterprise account for Google Cloud services, we are trying to determine what URL is associated with a Google Places API. Our account is getting billed and we don't know what client to ...
user avatar
0 votes
1 answer
591 views

Are query string parameters in HTTPS visible in DNS resolvers?

There was a case in a project I am working on, we had to send a JWT token as a Query parameter for another service. Due to security reasons one of my colleagues argued that the token would be visible ...
user avatar
0 votes
2 answers
516 views

Can we use the port number with (back slash)/8080 with the Apache url like http://127.0.0./5000/

Can we use the port number with (back slash)/8080 with the Apache url like http://127.0.0.0/8080/ ab http://127.0.0.0/8080/ will it take 8080 as application port number or it will take the 80 as ...
user avatar
1 vote
2 answers
598 views

How to handle a pretty URL in nginx that is not calling index.php from the root folder?

So if we did the following in the location block of the nginx.conf: try_files $uri $uri/ /index.php?$args; That calls the index.php file from the root folder of the web server if we did something ...
user avatar
0 votes
1 answer
316 views

IIS URL rewrite: rewrite one single URL to another, dropping all the rest

I have a somewhat strange request: we need to rewrite a single url (eg: https://inbound.domain.com/index.php) to another (eg: http://outbound.local.com/register.php) Any other request for a page ...
user avatar
0 votes
1 answer
66 views

Htaccess: some of the parameters doesn't work with GET?

.htaccess file RewriteEngine On RewriteRule ^/?([a-z]+)/([a-z]+)/market/(?!.* (css|js|jpeg|jpg|JPG|png|PNG|svg|ttf|otf)).*$ external/market/index.php?param1=$1&param2=$2&param3=$3&...
user avatar
4 votes
1 answer
4k views

How to pass Question Mark (?) in password for HTTP Basic Authentication in URL parameters?

I am automating a website which requires HTTP Basic Authentication. The suggestions given in this link work like a charm in most cases: Can you pass user/pass for HTTP Basic Authentication in URL ...
user avatar
1 vote
2 answers
1k views

How to Nginx rewrite to get clean url of page numbers

Recently we have moved to Nginx from Apache, Under apache it used to be very easy just put some stuff on .htaccess and done. RewriteEngine on RewriteBase / # only rewrite if the requested file doesn'...
user avatar
0 votes
1 answer
72 views

How could this URL possibly be working?

I have inherited a system I am trying to reverse engineer to make modifications. There is a program that generates a URL to listen to recordings. It looks like this: http://recordings.myserver.com/...
user avatar
  • 121
1 vote
1 answer
203 views

How to rewrite two URL's to the same endpoint via nginx?

I have two HTTP endpoint as follow http://me11.example.local/api/foo http://me11.example.local/api/boo I want to redirect them to two different endpoints. In my config file it works for only one ...
user avatar
  • 111
2 votes
1 answer
707 views

nginx keeps adding trailing slash

I want to create an alias to the "static" folder: location ~ ^/myapp/([a-zA-Z0-9_-]+)/ { alias /var/lib/myapp/$1/static/; autoindex on; } But, if I have the URL: https://mydomain/myapp/...
user avatar
  • 431

1
2 3 4 5
10