0
votes
0answers
23 views

Nginx URL rewrite / mask

Currently, my $_GET parameters are ordered alphabetically (a, b, c, d, etc...) For example: https://domain.com/?a=Menu1&b=Menu2&c=Menu3 What I want is this URL: ...
0
votes
0answers
22 views

nginx rewrite subdomain to other subdomain

I have a atlassian server with the following config: server { listen 443; server_name servicedesk.example.nl; ssl on; ssl_certificate certs/jira.cer; ssl_certificate_key ...
1
vote
1answer
26 views

Issue when redirecting a folder using IIS url rewrite

Using Url Rewrite, I'm trying to redirect /foo_bar/* to /foo/*. I've tried this: <rule name="Redirect foo_bar to foo" stopProcessing="true"> <match url="(.*)" /> <conditions ...
0
votes
1answer
106 views

Ngnix Rewrite - If URL contains

I'm having a small issue - my error log is filling up with requests to a directory folder on my site (but with added data that shouldn't be there). http://example.com/the-directory/undefined ...
1
vote
2answers
712 views

Add trailing slash when it's missing in nginx

I'm running Magento on Nginx using this config: http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/configuring_nginx_for_magento. Now I want to 301 all URLs without trailing slash ...
0
votes
1answer
132 views

nginx rewrite rules with regex applied to one subdirectory only

I've been frustrated for days trying to figure this out, so any advice/help would be greatly appreciated! I've recently added a section called /links to a site at somehost.com but can't seem to get ...
0
votes
0answers
37 views

htaccess Rewrite leading zero in url causing trouble

I have a database with a string column made up of four unique digits attached to each record. I know this isn't the best way to do this but I'm kind of stuck with it. I'm trying to rewrite urls from ...
1
vote
1answer
196 views

How to change $request_uri in nginx?

We get information from $_SERVER['REQUEST_URI'] not from $_GET or $_POST. I want to define $request_uri to change /example to /module/controller/action not redirect. I tried code blow to do this ...
0
votes
1answer
75 views

.htaccess URL rewrite to upper-case characters in domain

For example, I'd like to have foobar.com show FooBar.com This almost works, but ends up forcing a redirect loop: RewriteEngine On RewriteCond %{HTTP_HOST} ^(www.)?foobar.com\.com RewriteRule ^(.*)$ ...
1
vote
3answers
156 views

nginx: How to redirect root to subdirectory while maintaining URL in the address bar

I have an nginx setup with folder structure like this: - www |- splash |- blog www is the root folder. I would like to redirect users who access http://mysite.com to the splash folder. But I don't ...
-1
votes
1answer
20 views

URL redirection [duplicate]

I have set up a ubuntu server with apche 2 installed, I already have a windows server 2003 installed with Zywall firewall installed, I successfully started Apache2 in Ubuntu server and it is running, ...
-1
votes
1answer
104 views

Using URL Rewrite to change part of URL

I'm trying to use an URL rewrite on an IIS 8.0 to rewrite existing URL's on a developer machine. The reason for this is that I don't want to change existing (old) code. What I'm trying to achieve is ...
0
votes
2answers
43 views

Advice on mod_rewrite url in Apache

I'm trying to set up a mod_rewrite rule so that when the webpage www.mysite.com/blog is requested a page from the blogging service Tumblr is loaded. I have set up my Tumblr site so that ...
0
votes
0answers
12 views

IIS URL mapped where

In IIS webserver logs is GET /css/default.aspx but the css directory is not on webserver, and there are lots of default.aspx files. How can you find out which file on disk is webserver's URL mapped ...
0
votes
4answers
1k views

Redirect url for Microsoft RD Web (Server 2012)

I have installed RD Web on the same web server as OWA and ECP (Exch 2013) console. All web applications are installed in the Default Web Site and Exchange Back End For OWA and ActiveSync my users ...
0
votes
1answer
46 views

How can I rewrite an internal/LAN URL using Apache rewrites? [duplicate]

Is it possible and how could I rewrite http://192.168.1.1:4950/hello to, e.g., http://home.hello I know how to use .htaccess to rewrite just part of URL's but can't figure out how to rewrite whole ...
1
vote
1answer
288 views

Centralized IIS to redirect to other IIS servers

Basically what i'm after is to have a centralized IIS Server on the Local LAN where port 80/443 would be forwarded to from the router. Then through this server it can forward/redirect the requests to ...
0
votes
1answer
324 views

Reverse proxy in IIS to local TomCat

IIS has several websites: domain1.com a.domain2.com b.domain2.com There is also a TomCat running on localhost:8087 The challenge is how to expose the TomCat externally as b.domain2.com ...
4
votes
2answers
1k views

Disabling URL decoding in nginx proxy

When I browse to this URL: http://localhost:8080/foo/%5B-%5D server (nc -l 8080) receives it as-is: GET /foo/%5B-%5D HTTP/1.1 However when I proxy this application via nginx (1.1.19): location ...
1
vote
0answers
188 views

nginx proxy_pass to different backends based on location / passing rewrited url

What the quickest and cleanest solution if you want to proxy URL request to two different backends via proxypass based on location. location /app1/ { alias /var/www/ruby/public; ...
1
vote
1answer
705 views

Prevent URL Rewrite rules from being inherited by subdirectories in IIS7

I have a URL Rewrite setup for clean URLs in a CMS and my web.config looks like this: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> ...
1
vote
0answers
324 views

Outbound URL rewrite IIS 7 ARR crashing application

I'm having trouble with setting up a reverse proxy outbound URL redirect in IIS 7 with ARR. The domain has 2 inbound URL rewrites and 1 outbound URL rewrite. The inbound ones work fine and I haven't ...
1
vote
1answer
4k views

why i cannot download jdk from oracle web site directly without AuthParam?

that is download with the following command, why it fails to download that file? wget http://download.oracle.com/otn-pub/java/jdk/6u35-b10/jdk-6u35-linux-i586.bin the following command works, but ...
1
vote
1answer
82 views

Issue with Tomcat application url

At domain my.test.org I have the following setup: A Tomcat6 running on port 8080 A redirection from port 80 to 8080 at the OS level (using NAT) An application deployed in Tomcat at ...
1
vote
1answer
262 views

Rewrite rule for language fragments in nginx

I want to rewrite some url's in nginx and I have an wordpress site with URLs like this: http://mydomain.com/en/my-content How can is remove the en/ with nginx? Thanks a lot. Peter
0
votes
1answer
533 views

Redirect 404 errors without rewriting the URL

Is it possible to have an erroneous URL remain in the address bar while redirecting the user to a URL within my domain? I want www.domain.com/forum to be the actual site being served in all 404 ...
0
votes
2answers
43 views

apache URL issues

I'm sure someone has asked the same question on serverfault but I just don't know what to look for. I have two subdomains from different hosts in my school. eg. One is: ...
0
votes
1answer
58 views

How do I Nginx rewrite with query?

how do I rewrite this url from: mysite.com/folder1/file.php?kw=KEYWORD to mysite.com/folder1/file/KEYWORD and ...
1
vote
2answers
340 views

How to get a custom Amazon s3 url?

Right now when I upload a file to my Amazon s3 buckert the url to the file looks like this: https://s3.amazonaws.com/<MY BUCKET NAME>/filename.extension I would like to use something like ...
0
votes
1answer
134 views

Apache Rewrite Rule

Does Apache rewrite rule automatically change the URL of all pages without editing links? I tried rewriting Apache rule from .htaccess, but nothing happened, so I'm wondering if I need to edit the ...
0
votes
1answer
77 views

Redirect a url to a new host

I have the following URL which displays a normal static website: www.example.com. This site is hoted on Amazon. I want to make all urls starting with www.example.com/redirect to redirect to another ...
0
votes
2answers
316 views

Apache: Serve all URLs on a domain with the index page, without rewriting path?

I'm writing a Backbone.js application that makes use of the HTML5 history API. I would like users to be able to create URLs of the form: domain.com/any domain.com/random ...
2
votes
1answer
827 views

htaccess: how to rewrite to clean urls and redirect old urls to the new clean ones? [duplicate]

With htaccess I'm trying to make my sites urls clean. I use very basic urls like: www.mysite.com/pagename.php ("pagename" is variable). I want www.mysite.com/pagename to display the content of ...
0
votes
3answers
332 views

How do I configure my server to forward “domain.com” to “www.domain.com”?

I need to forward all visitors from "domain.com" to "www.domain.com". I know this has something to do with altering the nginx config file but am not sure what to do or what code to use. I am using ...
0
votes
1answer
177 views

toggling URL Rewrite Rules on IIS7 causes CLR to crash

Scenario: Many users (between 10 & 100) are browsing the site, and as they browse, URL Rewrite / Redirect rules are being toggled. The application crashes at random times with the following ...
-1
votes
1answer
777 views

Mask URL part while proxying Tomcat webapp through Nginx

I've got the webbapp at the server 1.1.1.1:8080/AppName/ Now I need to hide port and AppName dir URL part. So I installed Nginx on server 2.2.2.2 with virthost name test.com. Here is the virthost ...
0
votes
2answers
367 views

IIS 7 404 redirect for virtual directories

we are in the middle of setting up a website and one of the developers has asked me a question im a little but stuck on. basically we have a website that a user can visit and create there own ...
1
vote
2answers
280 views

Rewrite Conditions Backreferences passed to all rules?

Is there a way to get back references for Rewrite Conditions to be passed to all subsequent rewrite rules? Here's an example: RewriteEngine On RewriteCond %{HTTP_HOST} (bob).localhost [NC] ...
1
vote
1answer
147 views

Rewrite URL - redirect everything BUT images

HI, I have a working redirection that looks like this RewriteRule ^(.*)weihnachtsshop/(.*)$ /hochzeitsshop [R=301,L] everything like www.shop.com/weihnachtsshop/product.html get's redirceted to ...
0
votes
1answer
33 views

Why does domain/folder/ and domain/folder///// return the same location?

Why does domain/folder/ and domain/folder///// return the same location in a browser's URL address bar? Windows 7 + Firefox
2
votes
3answers
3k views

IIS URL Rewrite HTTP to HTTPS with Port

My website has two bindings: 1000 and 1443 (port 80/443 are in use by another website on the same IIS instance). Port 1000 is HTTP, port 1443 is HTTPS. What I want to do is redirect any incoming ...
1
vote
2answers
837 views

IIS 7 URL Rewrite to GeoServer running on Apache

I'm building a mapping application based on OpenLayers that uses GeoServer to serve up mapping data. The problem I'm having is that besides the map images I'm requesting through WMS, I'm using jQuery ...
0
votes
1answer
205 views

URLs with final slash trigger hotlink protection on my server

in all my Apache servers I use hotlink protection because I hate the idea someone could stick my images/flash in their sites using my server bandwidth. In order to make hotlink protection work, in my ...
0
votes
1answer
889 views

How to manipulate default document with rewrite module on IIS7?

Until few month ago i've been using IIS 6 where i could add different Default Documents to each websites which are physically same directory. Since II7 which adds Default Document value to web config ...
1
vote
2answers
231 views

How do I add a “é” to my url

Look at this link http://fr.wikipedia.org/wiki/Test_de_paternit%C3%A9 Now back to this post The link is now: fr.wikipedia.org/wiki/Test_de_paternité How do I make this happen for my site? Im on a ...
0
votes
2answers
1k views

Apache Reverse Proxy

We have a few internal sites like sharepoint, bugzilla, an RoR server etc.The users access these sites through the URLs like, for example, abc.example.com, xyz.example.com and so on. Is it possible to ...
2
votes
1answer
5k views

nginx- Rewrite URL with Trailing Slash

I have a specialized set of rewrite rules to accommodate a mutli site cms setup. I am trying to have nginx force a trailing slash on the request URL. I would like it to redirect requests for ...
0
votes
2answers
333 views

Point subdirectory to another domain is IIS 6

Is it possible to rewrite somehow www.mysite.com/Pictures to point to test.mysite.com/Pictures or even more broadly www.someothersite.com/Pictures ? Note: www.mysite.com and test.mysite.com are on ...
0
votes
2answers
950 views

SharePoint 2007: Moving main site, to be a subsite - How can urls be redirected/changed?

The setup: SharePoint 2007 (MOSS Enterprise) on WINSVR03/IIS6 One site collection, with one access mapping (http://mainsite) currently I'm moving the main SharePoint site, in our one site ...
2
votes
1answer
5k views

Rewrite URL before passing to proxy Lighttpd

I'm trying to setup a reverse proxy in lighttpd, such that all requests (and only those requests) under /mobile/video is redirected to the / directory of a secondary web server. This is pretty easy in ...