Newest url Questions

Q&A for system and network administrators

Make subfolder refer to different hosting environment

The situation we're finding ourselves in is: Webhost #1 Serves www.example.com Webhost #2 Serves www.widget.com For various technical reasons, we are unable to unify the sites into a single host. ...

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 ...

Using mod_rewrite on Ubuntu 14.04 to hide port and folders

I have an AWS EC2 instance and I'm trying to point two different URLs to that same instance. I am using NGINX (port 80) for a Ruby server and APACHE2 (port 8080) for a WordPress server. I configured ...

simpleSAMLphp ADFS URLs

I have a website that authenticates to ADFS using simpleSAMLphp. There are 4 web servers running RHEL 6 & Apache 2.2 behind a load-balancer. Call the 4 servers node1.mysite.com, node2.mysite.com, ...

IIS URL rewrite Subdomain path

I want to rewrite URL in IIS for the following condition. m.website.com/dress/page_1.asp rewrite to m.website.com/dress/page1 where m. subdomain goes to /mobile folder of the www.website.com.

Using IIS 7 Url Rewrite to map all requests from https://sub.domain.com/* to https://server.domain.com/app1/*

We're hosting multiple applications on our IIS server. All of the apps are in subdirectories of server.domain.com, so the regular access looks like: https://server.domain.com/app1, https://server....

Why doesn't my homepage URL contain a trailing slash in the browser address bar? [closed]

When I visit my homepage https://example.com/ in a web browser, the trailing slash doesn't appear in the URL when I view it in the browser address bar: https://example.com However, if I now copy ...

different servers on different ports: friendly url? [closed]

I have different servers for different applications running on different ports and I want users to use friendly url to browse the applications. e.g. localhost:8080 run by tomcat -> I want users to ...

Migrating rewrite rules under subdirectory from Apache to IIS

In the old Apache hosting, we had the following .htaccess file inside public_html/adm: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{...

What could be causing traffic with URL parameters rotated by a caesar cipher? [duplicate]

Customers coming into our website from our newsletter go through an email tracker through a url like: https://www.domain.com/email/tracking?u=https%3N%2S%2Swww.domain.com&e=aA-bB_cC Where url is ...

Subdomain With Custom URL/Domain

I have a subdomain called 'mysite' at this.example.org/mysite which needs to resolve to mysite.org in the address bar. Can this be accomplished with .htaccess in the mysite public_html folder, or ...

Using IIS, is it possible to use URL Rewrite to direct it to a specific HTML page?

I am configuring a web map application using IIS and GeoServer (installed through OpenGeoSuite) on an AWS EC2 instance. Using this tutorial (http://www.cartoninjas.net/post/Installing-GeoServer-on-...

Link a file to a specific url of my owncloud server

So I shared a file with my owncloud server, so It gives me a link in the format: https://myowncloudserverexample.com/owncloud/index.php/s/SOMERANDOMSTRING The problem is that url was printed to some ...

Is Origin the common agreed name for protocol + hostname (+ port)?

Is Origin the common agreed name for protocol + hostname (+ port)? I know it is in JavaScript (not supported in IE), but I can't really find the word Origin back in other sources on the internet. Is ...

Nginx Url Rewriting: Remove folder from the url

Im trying to rewrite a url like below: https://example.com/products/xperia-z5/ to--> https://example.com/xperia-z5/ But i want in the same time the url https://example.com/products/ to be ...

Block specific URL in HAProxy / url-encoding

I'm trying to restrict access to a specific URL. It should not allowed to access /admin.php. frontend example acl restricted_page path_beg -i /admin\.php http-request deny if restricted_page ...

setting up a re-direction server [closed]

I need to setup a webserver (on a local ubuntu based platform) that can re-direct from a non-www domain (eg. example.com) to secure subdomain (https://www.example.com). The website itself is hosted ...

How to change Azure web app URL encoding?

We have moved a DNN site from on-premises to Azure. Everything seemed to work fine until we tried to access a page with Swedish letters (åäö). The Azure Web App is using Windows-1252 to rewrite the ...

Cannot reset base url in apache server

I just uploaded my project on an apache server. I use angular and I set the base url in my code like <base href="/nik/awesome/"> my project is single page application, I set the routes like ...

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 ...

URL Rewrite in IIS 8.5 HTTPS to HTTPS end in gateway eroor

I really could use some help from the experts out there... Currently we use a reverse proxy to publish several http sites to the outside world, all are running fine. Now I need to give HTTPS access ...

nginx rewriting url based on substring

I have a php script that relies on reading the url to perform it's necessary actions, so I need to redirect the users coming to example.com/pl/[User-id-or-name] to example.com/pl.php/[User-id-or-name]...

Nginx serving index.html fine, but requests for assets are bad

i have the following nginx config: server { listen 80; listen [::]:80; listen 443; listen [::]:443; server_name oreqizer.com; ...

Cross Domain Issue with URL Rewrite

We have the following URL rewrite rule in our IIS Web App: <rewrite> <rules> <rule name="Delegate report generation" enabled="true" stopProcessing="true"> <...

Change subdomain url to subdirectory without redirection

I found a few questions and answers close to what I am trying to solve, but not quite. I see references to using mod_rewrite to change url paths without redirection. But, what I am looking for is, ...

Configure Squid proxy server or pfsense to achieve WLAN URL logging

Using Squid proxy server and pfsense are out of my comfort zone, I have managed to install Squid on an Ubuntu server and give it a static IP and connect to it via LAN after setting HTTP_access to ...

Nginx Proxy rewriting with condition for domain [closed]

I am in a quite unknown situation but I believe it can be done using nginx proxy and url rewriting feature. What I want to have is: Have a website with multiple branding, so let's say I have 3 ...

How to hide backend URL/URI with Nginx reverse proxy

Our company develops a new SaaS solution which will be used by resellers and their customers. For the customers of our resellers should the solution be branded like it is a software application from ...

Simple, failsafe DNS setup for multiple domains aiming one site

I would like to setup DNS records to map multiple domains to one website in a failsafe and clean way. Here's the situation: I have a couple of domains: mydomain.com mydomain.de mydomain.net My ...

UPDATED: Why have I worked so much with URL rewriting when I can't accomplish a very small feat? [duplicate]

The originally intended title exceeds the limit; it is, "Why is a URL shortener rewriting http://cjsh.name to https://cjshayward.com when I want http://cjsh.name forwarded to https://cjshayward.com/...

How can I find the IIS server instance that a website is hosted on in my domain by only its public URL?

I have started a new job and inherited a lot of servers and websites. One particular website I am unsure of what server/IIS instance it is hosted on. All I know is the public URL of the site. Is ...

URLRewrite to add “https://www.” suffix. How? IIS

I'm using IIS on Windows Server 2012r2 and I need to use URLRewrite module to force the "https://www." suffix to my web Site. For example: a. http://example.ir should become https://www.example.ir (...

Nginx URL proxy to server

I'm trying to redirect all traffic from www.example.com and example.com to old-www.website.com proxy all traffic from example.com/forum (and www) to forum server @ 192.168.100.100 I've tried the ...

Redirecting a URL with parameters to Elastic Beanstalk Environment

I have a Django application deployed on a web server that handles requests passed to it with parameters: example.com/param1=.../param2=..../ In its current state, these parameters are mandatory ...

Monit cannot read content

I've installed the latest version of Monit and created a very basic rule: alert me when the word "Google" cannot be found on google.com (deface check). I keep getting following error: failed to [www....

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 (...

Setting up nginx redirect map: how to handle spaces

How can you handle spaces in the original url in a redirect map? The map I have set up seems to be working properly for other redirects. However, for urls with spaces, I tried: ‘/banner ads.htm’ /...

Avoid that subdomain gets redirected because of WWW canonicalization

I added this URL cnonicalization to my .htaccess file: RewriteEngine on RewriteCond %{HTTP_HOST} !^www.example.com [NC] RewriteRule ^/?(.*)$ http://www.example.com/$1 [L,R=301] But now my subdomain ...

nginx url redirection without file paths

I'm trying to set up nginx to let the name node of a Hadoop based cluster that I set up effectively redirect to the different user interfaces surrounding Hadoop based off of the file extension on the ...

Apache LimitRequestLine and log files

It's not particularly clear to me where apache should log what. As an example I was passing a very long url to a virtualhost to see if Apache could avoid the overflow problem. The directive handling ...

Nginx not loaded chunk-stream1-$Number%05d$.m4s [closed]

I have a issue when nginx need to get content from the server that are named : chunk-stream1-$Number%05d$.m4s It just give me 404, and i have search about some rewrites but i have still not find a ...

Redirect URL with IIS 8.5

I would like to redirect/forward a URL on my testdomain. The URL is for example: http://www.mydomaintest.com/feed and I would need that to forward to http://www.mydomaintest.com/feed/stories. I have ...

How to make example.com/about show example.com/about.html? (Apache2)

What is the best option to go when trying to have example.com/about show example.com/about.html, and without changing the url to /about.html. Right now i'm trying to the following code it just returns ...

UrlScan and Request Filtering

Our Windows/IIS 7.5 environment is configured with UrlScan and IIS Request Filtering. We have been facing an issue with a long url. /MyWeb/TestFW/prweb/Servelt1/ZsvSk3vV8PtgJEa4_x3fiQ[[*/!MyWebApp/...

URL encoded URIs with umlauts not working on other Server

we are about to move our companies Website (Drupal 7) from the old Server A to the new Server B. As usual we ex-/imported the database and copied all the files via ftp. Since our company resides in ...

nginx, custom mapping of url

Hi I have a specifix requirement of mapping a name lets say xyz.com to abc.com/ghy The mapping is stored in the mysql server. I have searched much but couldnt find such scenario. Is it allowed in ...

Removing path segments with encoded values for nginx

I have a location block like the following location ^api/([^/]+)(/.+)$ { set $my_host $1; set $my_path $2; proxy_pass http://$myhost$my_path$is_args$args; } This works well for most ...

GPO restrict to few websites

I'm using windows server 2012 r2 as a domain controller. Now I have installed Chrome with a GPO from the Group Policy Management. Now I need to restrict the internet access to two websites (on the ...

check website through IP address [duplicate]

I hosted multiple websites on a single VPS server, with single IP address when I entered IP address in as url it shows default website page that fine but i hosted multiple website in a single server ...

URL rewriting on a shared hosting server [duplicate]

I'm trying to deploy a Laravel 5.1 / AngularJS app on my client's server (hosted at ovh). I have to add that I managed to deploy it auite easily on a staging server, a basic Ubuntu server with a LAMP ...
Translating... 0%