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.

learn more… | top users | synonyms

0
votes
1answer
2k views

URL rewrite for subdomain with Apache and mod_proxy

I have a Apache Webserver with mod_proxy and a Tomcat server with my Grails web app runnning. The Apache is redirecting with proxy the request to example.com:80 to my Tomcat running on ...
1
vote
1answer
293 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
164 views

Apache2 Virtual Host redirect except on special path

Assume we have 2 domains. www.my-domain.com www.mydomain.com As Standard, we have a redirection from .mydomain.com/ to .my-domain.com/ via (mydomain.conf) <Virtualhost *:80> ServerName ...
0
votes
1answer
896 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 ...
0
votes
1answer
26 views

Moving my project to a different location broke absolute links

Before my project was located in the root of domain.com. Most of hrefs are like this: <a href="/user/test">test</a> But since my project was moved to domain.com/catalog/, all of those ...
2
votes
2answers
4k 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
40 views

Weird URL issue (DNS fail for specific user)

I run our research group's website, though I don't have direct access to the DNS records. Currently, our DNS set has an A record and a CNAME record as shown below lima.wustl.edu. 28800 IN ...
0
votes
1answer
707 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
72 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 ...
0
votes
0answers
47 views

IP Address instead of domain name

We have a website which is registered with enom, I wasn't around for the initial setup but it's setup using URL Frames. We've now moved hosting provider and we need to change the DNS records and as ...
1
vote
1answer
563 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
984 views

how to stop htaccess URL redirect loop [duplicate]

I am new to htaccess. so when i want to do a url redirect using htacces, i always get a redirect loop, and don't know how to fix it. I have been searching on the web but coundn't find a solution for ...
0
votes
1answer
74 views

Extract the hostname of an URL

Is there any standarized or widely used method to extract something like a 'top level host name' from an URL? For example, for http://images.google.com I like to have google.com (even if images. ...
0
votes
1answer
298 views

nginx django suburl doesn't work

I'm trying to setup django under some suburl, lets say /myproject, with nginx and uwsgi. However, I can't get it working. Whatever I try, seems that uwsgi_modifier1 30; option doesn't work. I always ...
2
votes
2answers
1k views

URL Encoding force UTF-8 in CentOS 6.4

I have a simple html website in a CentOS 6.4 server. In every html page i have set <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> I have already added in a .htaccess ...
0
votes
1answer
186 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
votes
1answer
1k views

“A” record redirect gives 400 Bad Request in nginx [closed]

I've registered a domain with NameCheap and have set up an A redirect to my web server. Visiting the server directly (http://1.2.3.4) is fine, but going through the domain name returns 400 Bad Request ...
-1
votes
3answers
59 views

RewriteRule doesnt work [duplicate]

I want to convert this url http://ts.thebenamorgroup.com/g2g/category.php?cate=mens to: http://ts.thebenamorgroup.com/g2g/category/cate/mens/ I have this rule but it doesnt work: Options ...
0
votes
2answers
2k views

URL redirect using Windows DNS

I have a website say xyzuniversity.com/north. I want to redirect college.com to be redirected to xyzuniversity.com/north using Windows DNS entries. Is there a process to do this? Also what are the ...
1
vote
3answers
1k 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 ...
0
votes
1answer
79 views

LDAP URL example: is it possible / correct to use only the domain without the hostname?

We have an application which connects to an Active Directory (MS) using LDAP protocol. We give usually the following parameters: ldapUrl = ldap://myserver.mydomain.ext:389 ldapBaseDn = ...
0
votes
1answer
392 views

URL rewriting and SSL conflict

I am facing following problem. URL rewriting with .htaccess is working perfectly on HTTP URLs. Now I have installed SSL Certificates on my server and now accessing my site with HTTPS URLs. Site is ...
-1
votes
1answer
45 views

Redirect a dynamic URL with Apache [closed]

I need to make a Apache rule to redirect an specific URL http://www.domain.cl/section.do?one.second=8 --> http://www.newdomain.cl/ I was reading about using mod rewrite but all the examples i found ...
-1
votes
1answer
21 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
188 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
0answers
143 views

here is a redundant '/' in the url when I access my local site. why?

I have a web site setup with nginx and php-fpm. When I access my local site,the URL has a redundant '/' in it and part of the URL gets repeated Example: When I access "mydomain/admin.php", then the ...
-9
votes
1answer
81 views

Can you identify the hostname of machine where a webpage is hosted? [closed]

At my company, there is an internal cgi script that I regularly use. Is there any way I can identify the hostname of that machine by just the url? Unfortunately, the hostname is not within the url. ...
0
votes
2answers
51 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 ...
3
votes
0answers
87 views

ISA wrong translation of the schema URL included in WSDL

I have a WSDL behind ISA server. The WSDL includes a schema <xsd:include schemaLocation="myschema.xsd"/> However, when accessed through ISA, some implicit mapping changes the server name to the ...
-3
votes
1answer
87 views

What's behind a URL? [closed]

What are the parts that make up a url? I'm kinda confused about how a "url" works. I understand it's a "path" to a location on the internet, but what do they mean? For example: serverfault.com ...
0
votes
4answers
2k 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
2k views

Get a URL with variables via Linux Command Line

Sorry if this seems to be a very simple command, but I have been searching for hours without any solutions and exhausted my very limited knowledge of Linux. :-) I need to use some command to process ...
0
votes
1answer
60 views

Ubuntu IP Redirect [closed]

This is my problem. I have a Ubuntu computer running Apache/SQL/phpMyAdmin the goal that I want is that when someone logs on to the network if they type in encc in the url bar it will direct them to ...
0
votes
1answer
42 views

Apache 301 redirect in vhost

I wish to redirect(301) a url if the url dont have a string present in it. eg: http:://example.com must always redirected to http:://example.com/en http:://example.com/test.html must always ...
2
votes
3answers
212 views

URL Query String Causes Layout to Break

I have an Apache server based Wordpress site that rewrites URLs to be "pretty". When I include a query parameter in the url the site breaks. So: http://mysite.com works fine but: ...
-1
votes
1answer
126 views

Rackspace: Temporary streaming URL to a file in the cloud files

The question is simple: How to create a temporary streaming URL to a files in the Rackspace cloud files. URL is needed streaming.
-2
votes
1answer
53 views

Apache not finding file from URL request

I'm trying to access a file from my localhost via http://localhost/profile-pics/default.jpg however apache keeps saying that the url doesn't exists 404. How can I configure apache to find my file? ...
0
votes
1answer
59 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
506 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 ...
1
vote
4answers
915 views

Allow users to access only a few websites [closed]

I want to block my network users to access most of the external websites. Some users may need access to Facebook (like the users from marketing department), while others may need access to banks ...
0
votes
2answers
168 views

can not access portal after specifying port in URL

Django webservices is running on port 8000 (pyhon manage.py runserver 0.0.0.0:8000) I am able to access using , https://ec2-72-44-51-113.compute-1.amazonaws.com/admin/ but if I specify port in url, ...
0
votes
1answer
202 views

Rewrite certain URL in Nginx such that another app will serve it

I have a config file for mydomain.com which is served with Drupal. Problem is this rewrite rule takes the control over any request: if (!-e $request_filename) { rewrite ^/(.*)$ /index.php?q=$1 ...
0
votes
2answers
551 views

Apache: relative paths appended to current URL instead of added to basename

I'm new to web servers, so please be gentle: I've set up a new apache2 server on a Mint System (Ubuntu-base, which also means Debian-based). I've also installed a Django backend and the wsgi_mod ...
1
vote
1answer
429 views

Is there a limit on the length of URLs when using Amazon ELBs? If so, is there a way to increase it?

We appear to be encountering an error due to Amazon ELBs truncating a long (over 1K characters) URL. I have searched through the usual suspects, but can't find any discussion of URL length limits for ...
0
votes
0answers
550 views

How to prevent IIS 7 to partially decode REQUEST_URI? [duplicate]

I have IIS 7 on Windows Server 2008, with PHP support (5.3.15) I have noticed a difference compared to an Apache 2 environment, with the content of PHP variable $_SERVER['REQUEST_URI']. Basically, ...
0
votes
1answer
242 views

converting Lighttpd rule to apache rules

I am using mediawiki on my localhost server. my url for now is 127.0.0.1:8080/wiki/index.php/Main_Page But i want to convert above mentioned url to wiki.127.0.0.1:8080 or something like ...
0
votes
1answer
647 views

Getting “403 - Forbidden: Access is denied” when hitting the URL without “www” prefix

I'm facing problem in my domain area. when i hit for example http://abc.com then I'm not able to access the site which are hosted on my domain. It gives the below error 403 - Forbidden: Access is ...
0
votes
2answers
99 views

subdomain.domain.com works, but still accessible via domain.com/site

I've got a site installed at, for argument's sake, /var/www/site, and have a subdomain set up so that it can be accessed via subdomain.domain.com. How do I stop it also being accessed via ...
1
vote
2answers
66 views

Moving from <hostname>:1234 to <hostname>/app

I'm bringing up my first production-level(-ish) server and have installed and configured a couple of python web applications, which I have to access like so: <hostname>:8000 ...
-2
votes
2answers
725 views

How to hide query string in url?

The below is the .htaccess code which is causing the rewrite in URL, RewriteRule ^24-(.+)~(.+)\.html$ gallery_catagory.php?gallnm=$1&GalleryID=$2&%{QUERY_STRING} [nc] but still I can see ...