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
37
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
77
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
136
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&...
0
votes
4
answers
6k
views
Nginx URL virtual host rewrite issues with Magento e-commerce
I've been running into some problems with my URL rewrites. When I click a link in my Magento back-end it completely messes up the URL.
We start with this link:
http://icanttellmydomain.nl/index.php/...
1
vote
0
answers
239
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 ...
1
vote
1
answer
4k
views
New line character %250A in URL: Apache throws 404 error
This is example of the script path which causes problem:
http://example.com/index/index/tokenID/345%250Atest
If I try to visit this link on the production server I receive 404 error. If I try to ...
0
votes
1
answer
159
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
172
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 ...
3
votes
1
answer
5k
views
Nginx reverse proxy hide url
Here is my nginx proxy.conf file,
server {
listen port 9090;
root /usr/share/nginx/html; # not sure whether this line is needed or not
index index.html; # not sure whether this line is ...
2
votes
1
answer
416
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 ...
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 ...
0
votes
1
answer
153
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://...
2
votes
1
answer
563
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
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
279
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
102
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 ...
3
votes
1
answer
313
views
Issues with URL length in Apache/mod_wsgi
I have a python wsgi API in which I process incoming URL payloads of varied length. I believe, but am not absolutely sure, that I may have run into a limitation of URL size.
For a particular payload (...
0
votes
1
answer
280
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 ...
-1
votes
1
answer
312
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
2
answers
3k
views
Why tomcat is not accessible from www of my domain name?
I can access my web application (GeoServer) from this URL http://mydomain.com:8080/geoserver but I am not able to access it from http://www.mydomain.com:8080/geoserver .
How can I fix this?
My DNS ...
0
votes
1
answer
2k
views
Netscaler URL rewrite
Context: I have little/no experience with Netscaler and I'm just starting to use them. One of the first jobs I've been given to work with it is what I thought would be a simple one. I have to have the ...
0
votes
0
answers
235
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
120
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, ...
2
votes
2
answers
3k
views
Cron getting timeout when attempting to access url (wget).
I'm sure this is simple and I've been digging but no answer is quite as specific as I need it to be.
The goal is easy, have Cron hit a url on my server every 5 minutes. All of that is set up and ...
1
vote
2
answers
2k
views
Redirect from Old Site to New Site on different folder
I want to redirect all request from a url host www.hostname1.com (including all subdirectores-www.hostname1.com/....) to a different url with a different host, www.newHost.com. I have already made the ...
1
vote
0
answers
459
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 ...
1
vote
1
answer
3k
views
Nginx Config Location Regex With Language Code In Url
Trying to achieve constant language code in url's 1st segment with nginx regex location configuration and could not find the correct syntax.
Necessary result:
example.com stays example.com
example....
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
89
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
164
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 ...
3
votes
1
answer
481
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&...
1
vote
0
answers
37
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 ...
0
votes
1
answer
4k
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 ...
-1
votes
1
answer
2k
views
nginx URL rewriting regex when URL contains a specific word but not other
Please consider the following URLs.
https://products.example.com/family/child
https://products.example.com/products/family/child
https://products.example.com/family/children
https://products.example....
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
600
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
...
4
votes
1
answer
4k
views
HAProxy Specific URI
So my HAProxy configuration is similar to this.
listen webaustin 0.0.0.0:80
mode http
timeout connect 12000
timeout server 60000
timeout queue 120000
balance roundrobin
...
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
239
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
153
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
451
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
176
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/...
0
votes
2
answers
439
views
Lighttpd rewrite with dot (.) in URL
I've an installation of lighttpd under Debian running a small API. The current rewrite rules are:
url.rewrite = (
"^/(.*)\.(.+)$" => "$0",
"^/(.*)$" => "/index.php/$1"
)
The ideia is ...
1
vote
0
answers
2k
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 ...