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
0
votes
0
answers
36
views
reverse proxy shall act as a cache and provide a website under a different domain
Assume a webserver providing a language version of a website accessable under the URL
http://www.website-a.com/zh-hans/some-otherstuff/index.php
I want to setup a reverse proxy for one language ...
0
votes
1
answer
76
views
Domain propagation to all URLs on my WordPress site
I installed a wordpress site on digitalocean and made all the DNS notes and it is completed according to https://www.whatsmydns.net/. However, the only page that has the domain name and the homepage, ...
1
vote
1
answer
128
views
How to remove amp word from center of url
I removed Amp Module from our site and I need to remove amp word from center of all of urls.
Using Nginx Web server
for example :
mysite.com/shirt/nike?amp=1&product_list_dir=asc&...
1
vote
0
answers
231
views
mikrotik script is not run through GUI or Schedule
I get a problem that i have a one line script as bellow:
/tool fetch url="https://......"
When i run this script in winbox with "Run Script" button it does not work and after i ...
0
votes
1
answer
154
views
Is it possible to have conditional Route 53 DNS records based on URL path?
Problem: migrating support articles from HelpScout to Zendesk. I want to set up a list of 301 redirects.
Example:
301 Redirect:
https://support.domain.com/hs/article/1234-Problem-Help
to:
https://...
0
votes
1
answer
2k
views
IIS URL rewrite troubleshooting
I'm using IIS to reverse proxy HTTP requests to a nodejs app running in the same machine.
URL rewrite and ARR modules are installed and the proxy setting checked. The URL matching seems good: if I ...
0
votes
1
answer
158
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 ...
2
votes
2
answers
3k
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 ...
2
votes
1
answer
412
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 ...
0
votes
1
answer
148
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 ...
0
votes
0
answers
91
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://...
0
votes
1
answer
3k
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 ...
0
votes
1
answer
272
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/...
0
votes
1
answer
99
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
...
0
votes
0
answers
20
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 ...
-1
votes
1
answer
308
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 ...
0
votes
1
answer
277
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 ...
0
votes
0
answers
231
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://...
0
votes
0
answers
119
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, ...
1
vote
0
answers
447
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 ...
0
votes
0
answers
80
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 ...
0
votes
2
answers
44
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 ...
0
votes
1
answer
88
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 ...
0
votes
1
answer
51
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 -> ...
1
vote
0
answers
163
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 ...
1
vote
0
answers
36
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 ...
1
vote
1
answer
158
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 ...
0
votes
1
answer
591
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
...
2
votes
1
answer
3k
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 {
...
0
votes
2
answers
16k
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....
-1
votes
1
answer
237
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=...
0
votes
0
answers
151
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 ...
0
votes
1
answer
446
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 ...
-1
votes
1
answer
175
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/...
1
vote
0
answers
1k
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 ...
1
vote
0
answers
104
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 ...
-1
votes
1
answer
258
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 ?
1
vote
0
answers
146
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 ...
2
votes
1
answer
821
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 ...
2
votes
1
answer
547
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 ...
0
votes
1
answer
256
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 ...
0
votes
1
answer
397
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" ...
0
votes
1
answer
142
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 ...
0
votes
0
answers
142
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 ...
1
vote
0
answers
113
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/...
1
vote
1
answer
236
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=...
2
votes
1
answer
548
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 ...
0
votes
2
answers
761
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 ...
0
votes
1
answer
886
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-...
0
votes
1
answer
1k
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 ...