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
1answer
17 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
0answers
24 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
0answers
29 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
1answer
58 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=...
1
vote
0answers
19 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
2answers
117 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
1answer
66 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
1answer
52 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 ...
0
votes
0answers
59 views

How to use a different context url with the mediawiki docker container?

I installed a mediawiki instance on my own server using the offical docker image. This step went without problems. I can reach my wiki in my local network using the ip address of my server. But ...
0
votes
0answers
16 views

Any non-secure URL getting error: err_connection_refused

We've been experiencing some odd behaviour with URLs that I haven't seen before and now thoroughly scratching my head! So one Edge (Chromium), IE and Chrome, when any URL is used without the protocol ...
-3
votes
2answers
76 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 ...
3
votes
1answer
50 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&...
0
votes
1answer
27 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 ...
1
vote
0answers
65 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 ...
0
votes
1answer
70 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 ...
0
votes
1answer
673 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 ...
0
votes
0answers
126 views

apache2 on mac ERR_EMPTY_RESPONSE for long url query

My apache2 on my mac can not handle URL more than 270 characters. Always return. This page isn’t working domain.localhost didn’t send any data. ERR_EMPTY_RESPONSE I already set LimitRequestLine 8094 ...
0
votes
0answers
151 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 ...
0
votes
1answer
325 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....
0
votes
1answer
1k 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
2answers
194 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 ...
0
votes
0answers
46 views

Nginx proxy pass to apache server only works with trailing slash in URL

On the main server/domain, I am running an Apache server in a VM, this is accessed via x.com/sub. Nginx on the main server checks the URI and does a proxy pass for /sub to the VM running Apache. ...
0
votes
1answer
34 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 ...
0
votes
1answer
189 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 ...
0
votes
2answers
177 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 ...
1
vote
2answers
264 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 ...
0
votes
1answer
162 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 ...
0
votes
1answer
27 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&...
4
votes
1answer
2k 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 ...
1
vote
2answers
481 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'...
0
votes
1answer
70 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/...
1
vote
1answer
104 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 ...
2
votes
1answer
285 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/...
0
votes
1answer
559 views

How to open google.com using curl with Host header (certificate does not match) [closed]

Since Google is using HTTPS/SSL I am unable to access it using the IP of Google.com and passing the Host header. I don't understand why this is not working. Here is what I have tried so far. I got ...
0
votes
1answer
431 views

IIS: How to redirect url to another domain based on the sub domain

I am having one website which is hosted in IIS (my.serverfault.com) and having new website which is deployed in openshift (angular.serverfault.com) We have to allow the users to access the new ...
2
votes
0answers
588 views

Can't reach own host URL from within Jenkins build docker environment

I am running Jenkins as Docker image (https://hub.docker.com/_/jenkins) From within, I run a node-12 docker image as build container. I am running a script to publish the new version to our local app ...
-1
votes
1answer
73 views

Keep URL safe from search search engine results [closed]

I've tried to ask this a few times but I think readers are missing the problem, so I'm rewording it. I'm aiming to create a set of online TRUE lifestyle zines - Meaning that they cover a number of ...
0
votes
2answers
99 views

How can you keep your URL hidden from searches

Scenario You're a photographer who creates custom projects for clients, and publishes them on a space on your website ( http://we-photography.com/projects ). All projects are different in theme and ...
2
votes
1answer
3k 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 ...
0
votes
0answers
18 views

Nginx Redirecting

I have spent a couple of days trying to trouble shoot this problem to no avail. I am trying to use Nginx to send different URLS to different docker containers. my config file: worker_processes 1; ...
0
votes
0answers
137 views

Masking URL in Address Bar in IIS

I am not an expert in IIS and would really appreciate your help if this is something that can easily be resolved. We have a web server on an intranet domain to which users are directed by the DNS ...
1
vote
0answers
59 views

apache redirectmatch capture groups not injecting to destination properly

I'm trying to redirect requests to my old git server (with my old username) to the new server (with my new username). I'm trying to set up the following conditions: If url is of the form http(s)://...
0
votes
1answer
49 views

Run scalable Service in GKE with fixed Domain and Port

I've a shipped app where a URL is hardcoded "upload.mydomain.io:123123/myRoute". This DNS points to an VM where an NGINX distributes the traffic to services. Now I need to put a highly scalable ...
1
vote
1answer
592 views

Nginx remove duplicate parameter in URL

I have a site which has an issue causing an annoying URL issue. On the page numbers found on a page, if you follow one it will visit ?page=2, this is fine. If you then follow any subsequent links, ...
1
vote
1answer
1k views

How to download file from url and store it in aws s3 bucket? [closed]

As stated, I'm trying to download this dataset of zip folders containing images: https://data.broadinstitute.org/bbbc/BBBC006/ and store them in an s3 bucket so I can later unzip them in the bucket, ...
0
votes
1answer
3k views

How can I create an SSH protocol link from my browser which will use a jump host?

Not sure whether this should be going at serverfault or stackoverflow but starting here. I can create an SSH link to open in my terminal application (Secure CRT) that looks like this and it works ...
0
votes
1answer
697 views

IIS 7 URL Rewrite Only If No File Nor Subdirectory Nor Query String

(I posted this question on StackOverflow because searches for an answer showed related questions on StackOverflow, which got answers and many upvotes. But my question so far earned a downvote and an "...
-1
votes
1answer
73 views

Relative URL is relative to wrong absolute URL on web

Background I am building a website. The files are: /index.php /pic.jpg /dir/index.php /dir/pic.jpg As we know, people can visit my site's dir/index.php page using different URLs: 1. site.com/dir ...
-1
votes
1answer
61 views

Am I under ddos attack ? Many random requests (usually to images)

Do requests like these look like a DDOS attack ? 180.157.250.126 /9301451791bb460e8a5aec3e123884ba.jpg <<< match 180.157.250.126 /b29a2302afd6dfd918a2b7c3b6a05e31.jpg <<< match 183....
1
vote
1answer
55 views

Varnish - usage of non latin characters of an URL in VCL

I have a client, which needs Varnish to be installed on his server. He is russian speaking and has an online shop with the following example URL, which needs to be excluded from cache (корзина is the ...

1
2 3 4 5
10