As of May 31, 2023, we have updated our Code of Conduct.

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
1 answer
26 views

If I relocate my website's server (changing the IP in the process), will my users be able to access it under the same domain?

If I first publish my website from my server which is in city A, and then move this server to city B (which I expect to change its IP address), will the website's users still be able to access it ...
Miodek's user avatar
  • 3
2 votes
2 answers
551 views

How do I redirect a specific URL/ROUTE/PATH/LOCATION to another?

Say my client (current device) wants to connect to a URL, say foo.bar.com/spam/eggs/123, how do I serve or redirect to another specified URL, say 127.0.0.1:8080, and prevent the client from reaching ...
Aarav Prasad's user avatar
2 votes
1 answer
159 views

nginx: How to write regex to split URL into host and "everything else"?

I want to map https://www.example.com/Something/SomethingElse/ to https://www.example.com/index.php?/Something/SomethingElse/ So far I understood that I need the location directive in nginx and use ...
Александр Кулагин's user avatar
0 votes
0 answers
23 views

Apache rewrite url in wsgi site

This is my apache site with wsgi application. What I need is add string "Auth_Basic" between last slashes in the request. Request can be different anytime. Example: http://127.0.0.1/asd/lala/...
Dominik Štumper's user avatar
0 votes
1 answer
37 views

one public IP Address same service (https) for two website is working (different Domain name) [duplicate]

One Public IP Address giving same service for two web site (Different DNS). beirutmotorsparts.com - 66.96.147.120 - 443 alwaslautoparts.com - 66.96.147.120 - 443 One public IP can give 443 to one Web ...
sujith sankar's user avatar
0 votes
0 answers
59 views

Restrict Apache forward proxy to a remote url set

Is there a robust way to restrict Apache forward proxy to a set of remote URLs? Now I can see the only solution with multiple identical <Proxy "..."> blocks as: <Proxy "http://...
Veniamin's user avatar
  • 853
0 votes
0 answers
22 views

How to change the ports reported by the SAP PO Server?

I access an SAP PO server via an SAP Web Dispatcher, like this: User -> https://po.mydomain.com:443 -> SAP Web Dispatcher -> http://servera.mydomain.com:50200 -> SAP PO Server This works, ...
Techboy's user avatar
  • 1,540
0 votes
1 answer
812 views

VPN Connection to specific URL only

I've installed OpenVPN server on my Ubuntu server via https://git.io/vpn and it works like a charm! However a new request came in and it is rather complicated. You see, the clients connecting this VPN ...
Bert's user avatar
  • 1,016
0 votes
1 answer
132 views

RegEx for 301 redirects to change path AND remove a string

I am looking for an RegEX redirect rule to redirect the image file locations to a new location, whilst also removing part of the original url which is the name of the image OLD URL: /components/...
Rebecca Hubbard's user avatar
0 votes
1 answer
45 views

Should I add a "MySQL_URI" to the MySQL Kubernetes deployment file?

This is a Kubernetes deployment file that originally was using only MongoDB database. I tried to add MySQL to it as well like below: apiVersion: apps/v1 kind: Deployment metadata: name: auth-depl ...
best_of_man's user avatar
0 votes
0 answers
19 views

Port Forwading by Url? (Nginx) [duplicate]

I am new to server stuff, i want to host multiple rest service using docker and nginx. Let's say i have three service that runs on 8180, 8181 and 8182. I am able to forward request to one port but i ...
Fen's user avatar
  • 1
0 votes
0 answers
46 views

iis - Redirect URL by numeral in order

Good afternoon people. The issue is that I was testing redirecting pages and I ended up having to repeat the code 11 times. But I believe there is a way to automate this. If anyone can help me. What I ...
xzmaster's user avatar
-1 votes
1 answer
143 views

Does anyone by any chance happen to know anything about URL 404 page

Does anyone by any chance happen to know anything about URL 404 page Error resolutions If so I appreciate your feedback Here is an example below actually exact Thanks again much appreciated!! “Not ...
Tyler's user avatar
  • 1
0 votes
1 answer
137 views

NGINX setup for web returning default configuration when using suffix

I have a VPS where I have several projects running. Some of them serve web pages (made with React) and others are REST API endpoints for some of those pages. All is working. But I've added a new ...
GuiRitter's user avatar
  • 109
0 votes
0 answers
122 views

Full URL Required for 404 Page To Work — Apache

On a project I'm working on (currently on localhost on MAMP), the 404 page only works if I include the full URL with the ErrorDocument statement in the .htaccess file: ErrorDocument 404 http://...
paulo77's user avatar
  • 101
0 votes
0 answers
60 views

Why would you want a dot at the start of a fqdn in a CORS Access-Control-Allow-Origin header?

I've recently seen a URL listed in a CORS Access-Control-Allow-Origin header where the fqdn portion starts with a dot (eg. 'http://.example.com'). I'm struggling to think of a good reason for this, ...
spoovy's user avatar
  • 334
1 vote
0 answers
135 views

Multiple negative lookbehind

I have this code: location ~* (/.*)?(?<!(food/sweet/dessert))/dollaritems { return 301 $1/breakfast/la/dollaritems; } This is working fine to redirect users going to any page with /dollaritems ...
SuperTony's user avatar
0 votes
0 answers
54 views

Port Number only working when using IP to connect, not URL

so I have a nginx server listening on port 80. Works fine. I can connect to it via "exampleip" and "exampleurl" Now on my dedicated server I have another program on Port 9999 If I ...
Niklas's user avatar
  • 1
0 votes
2 answers
39 views

website says connection insecure if typed without the protocol

I have a website and when I type the url with 'https://' the browser shows the site normally, however if I do not include 'https://' in the url, the browser brings me to a page that says my connection ...
brothman01's user avatar
0 votes
1 answer
59 views

Server File Download

I am running a Ubuntu virtual machine on Azure and on my landing page I wish to allow downloading a file I already uploaded to the server. For this reason I made a hyperlink in my index.html file ...
aitía's user avatar
  • 103
0 votes
1 answer
30 views

Preventing masked url redirect from outside

We have a problem that someone trying to do masked url redirection for our e-commerce. How can we deny/abort? Using IIS or Windows Server. Main Domain: ecommerce.com Masked Domain: myshop.com -> ...
Hüseyin Demir's user avatar
0 votes
0 answers
28 views

NGINX Rewrite Adjustment

I have a NGINX rewrite that goes like this map $passkey $id_type { ~^\d+$ passkey; default token; } rewrite ^/access/token/(?<passkey>[^/]+)/$ /filegrab.php?$id_type=$passkey; Which works ...
WiiLF's user avatar
  • 101
0 votes
0 answers
155 views

Implement WAF rule for blocking URLs on HaProxy

I need to implement WAF rule for blocking URLs containing ${ on HaProxy 2.0. Any help will be much appreciated.
William Kendly's user avatar
1 vote
0 answers
90 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 ...
Berlinux's user avatar
1 vote
0 answers
27 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 ...
Daniel Becroft's user avatar
1 vote
1 answer
112 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 ...
Gortus Gaming's user avatar
0 votes
1 answer
385 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 ...
nodnarbog's user avatar
2 votes
1 answer
2k 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 { ...
PhilHarmonie's user avatar
0 votes
2 answers
10k 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....
k8dev's user avatar
  • 1
-1 votes
1 answer
150 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=...
alessio's user avatar
  • 11
0 votes
0 answers
117 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 ...
DeadSec's user avatar
  • 139
0 votes
1 answer
301 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 ...
manoll0's user avatar
-1 votes
1 answer
145 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/...
Cornelius Roemer's user avatar
1 vote
0 answers
707 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 ...
Andy Sukowski-Bang's user avatar
1 vote
0 answers
86 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 ...
Kevin Worthington's user avatar
-1 votes
1 answer
203 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 ?
user799598's user avatar
1 vote
0 answers
85 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 ...
snuggs's user avatar
  • 11
2 votes
1 answer
578 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 ...
amir shariflou's user avatar
2 votes
1 answer
316 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 ...
Siham Lahmine's user avatar
0 votes
1 answer
136 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 ...
twominds's user avatar
  • 103
0 votes
1 answer
278 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" ...
Imre Csősz's user avatar
0 votes
1 answer
68 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 ...
bavaza's user avatar
  • 1
0 votes
0 answers
86 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 ...
Pier-Luc's user avatar
1 vote
0 answers
95 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/...
Yakov Galka's user avatar
1 vote
1 answer
199 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=...
G. G.'s user avatar
  • 143
2 votes
1 answer
252 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 ...
TheOrdinaryGeek's user avatar
0 votes
2 answers
609 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 ...
Deeh's user avatar
  • 131
0 votes
1 answer
677 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-...
Domenico Sanfilippo's user avatar
0 votes
1 answer
948 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 ...
VaNa's user avatar
  • 137
-3 votes
2 answers
134 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 ...
HelloWorld's user avatar

1
2 3 4 5
11