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
1 vote
0 answers
573 views

IIS 7.5 URL Rewrite domain redirect

I am trying to figure out why the following code does not work. This is a copy of my web.config file: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> ...
Ken's user avatar
  • 11
1 vote
1 answer
4k views

Using IIS URL Rewrite to redirect from one sub domain to another

I'm trying to set up IIS to redirect traffic from https://sub.foo.com to https://www.foo.com, but NOT redirecting any traffic to https://sub.foo.com/bar. The regular HTTP redirect module doesn't allow ...
MorayM's user avatar
  • 159
0 votes
1 answer
1k views

Nginx does not redirect with rewrite

I have a nginx + php on windows server configured. I work on an MVC framework with url rewriting, the problem is that my server does not resolve the addresses. Quite simply, this is my code: server { ...
Victor's user avatar
  • 1
1 vote
2 answers
2k views

How to stop Apache from finding a filename from a URL path (without the extension)

I have a file update.php in my doc root. But I don't want /update in my URL to direct to update.php (because I want /update to be associated with a page in my CMS, Drupal 7) I know that Apache is "...
therobyouknow's user avatar
1 vote
0 answers
956 views

Is it advisable to disable URL Path Length restrictions from firewall?

I noticed in early August that I was unable to get to SharePoint Online sites, most Microsoft Update pages, Microsoft Support pages, Microsoft.com, etc. as they all appeared to be returning a blank ...
RyanH's user avatar
  • 11
1 vote
0 answers
2k views

IIS 7.5 giving 404.19 "Denied by filtering rule" if URL contains "test" - No filtering rule defined

my IIS is giving me a 404.19 if a certain URL contains the string "test" in any sort or form. For example: http://test2008r2-1/search.php?query=test&type=and&start=1&results=5 and http://...
Worp's user avatar
  • 327
8 votes
3 answers
3k views

Enterprise internal URL conventions

developer here... I'd like your IT perspective on this one... I'm building a new internal web app for my company, and starting to think about how it will be deployed. Many of the existing web apps ...
Ben Brandt's user avatar
0 votes
1 answer
659 views

Nginx to split web traffic to a blog hosted on my domain

At the moment, I am using an Nginx frontend to cache static content for my DotNetNuke based website hosted at the hypotetical address www.mydomain.com, along with some other tasks. In this era of ...
Bjørn's user avatar
  • 337
0 votes
2 answers
96 views

Apache: Can I disallow access to a dir except when via a vhost?

If we assume I have a server called machinename.ip which resolves http://machinename.ip to default root (/var/www/html), and resolves http://www.example.com via vhosts file www.example.com to /var/...
user26676's user avatar
0 votes
0 answers
193 views

Nginx Removes the index.php from URL

I have a codeigniter php application on nginx. It works as expected on Apache but after moving to nginx, I noticed that the index.php is automatically removed from the URL in all my links. Infact when ...
codeHead's user avatar
0 votes
1 answer
601 views

How i can block requests for a specific page?

I would like to completely delete or block access to a specific page in my site. More specifically, I have seen this exploit "Joomla COM_MEDIA Exploit" : http://all1gat0r.blogspot.gr/2013/08/joomla-...
Shake-the-World's user avatar
2 votes
1 answer
4k views

NGINX - Remove index.php from the end of the URL

I can access my webpages with "www.dom.com/mypage" which will redirect to "www.dom.com/mypage/". "www.dom.com/mypage/index.php" is the main file but I want to remove this from the url so if you type ...
user avatar
0 votes
1 answer
17k views

URL redirect not working in IIS 7.5

I am facing problem redirecting my HTTPS web service from HTTP. I have applied CA SSL certificate to my web service and using URL Rewrite, I have done the changes for redirection in IIS 7.5. Here is ...
user3056216's user avatar
0 votes
0 answers
711 views

Nginx and PHP-FPM Clean URLs

Preface I have spent 40 plus hours trying to create a Nginx configuration setup that holds up to my OCD. I have been told numerous times on IRC that I am too picky and clean urls are very challenging ...
Marshall's user avatar
-1 votes
1 answer
327 views

IIS (or .htaccess) URL Rewrite not working correctly - need to capture number argument as query string

I'm trying to have: http://sub.domain.org/123456 become http://sub.domain.org/index.php?q=123456 I have tried many ways, and one way sort of worked, but then all subdirectories (including images) don'...
Amit Mehta's user avatar
0 votes
3 answers
665 views

How to remove hypen (-) using nginx rewrite rule?

I am using this rewrite rule to redirect example.com/a-b-c?id=learn-more ----> http://example.com/abc?id=learnmore rewrite ^/a-b-c?id=learn-More http://example.com/abc?id=learnMore permanent But ...
user3382916's user avatar
7 votes
2 answers
18k views

nginx url rewriting. i just don't get it

Ok, an example url is http://www.mysite.com/?p=account&view=settings the p uri is a constant. all urls have it. the view is one of many optional uri. i've tried to understand url rewriting ...
r3wt's user avatar
  • 202
0 votes
1 answer
2k views

How to tell Nginx to not rewrite URL's in selected location

I am writing some PHP CMS code with a clean url implementation in Nginx. To improve security of my code I want to rewrite all of the requests in my root directory / using the following type: rewrite ...
DeckTone's user avatar
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/...
Stefan Grob's user avatar
0 votes
1 answer
9k views

IIS 7 Url Rewrite Not Working

Inbound IIS7 Url Rewrite Rule not working Below is the URL Rewrite rule I've defined. <rewrite> <rules> <rule name="Redirect domain.co.uk to www.domain.co.uk" ...
dnoxs's user avatar
  • 121
1 vote
2 answers
4k views

Why is "www" still used in a URL? [duplicate]

I know how www.example.com can be different from example.com. But is there really a need? Most of the time we end up setting both, www.example.com and example.com to the same IP. Is it still used only ...
nobrains's user avatar
-1 votes
1 answer
4k views

Wireless router URL redirection [closed]

I'm trying to "filter" explicit URLs (+18/21) from network traffic and redirect to another website. I have physical access to router inside my home, computer and router local web-access, which let's ...
bobisbackwardbob's user avatar
1 vote
2 answers
2k views

How do I redirect to different backend server based on URL using Apache?

I'm a newbie to Apache, sorry if this is a documented solution somewhere. I have been scouring the web and can't seem to find this answer ... I would like to redirect traffic based on the URL coming ...
jimbei57's user avatar
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 ...
user2543853's user avatar
1 vote
1 answer
895 views

Access log of nginx: why are foreign URLs logged?

My access log is full of such entries: 178.207.40.219 - - [03/Apr/2014:17:34:37 +0200] "GET http://win.mail.ru/cgi-bin/[email protected]&Domain=mail.ru&Password=241716 HTTP/1.1" 403 168 ...
robsch's user avatar
  • 157
1 vote
0 answers
88 views

"\xc2:\xc2" in HTTP proxy GET request

Recently I came across lines like these in an HTTP server's access_log (I've changed the real image to "someimage.jpg" - you can browse the images folder directly since directory listing is allowed, ...
0x80's user avatar
  • 121
3 votes
1 answer
4k views

Alias one URL to another

I have a mod-wsgi script running which is aliased to /test. I would like to alias the URL /prod to /test. So essentially, /test loads, but the URL says /prod. It is a single-page application. Is ...
jaynp's user avatar
  • 235
0 votes
2 answers
474 views

How can I decipher this HTTP PHP-request?

On my server I have serious HTTP an SSH attacks running. Most of them are brute force password checks or attemps of /etc/passwd retrievals. But some of them are trying to start the bash via plugin ...
math's user avatar
  • 453
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 ...
user207265's user avatar
0 votes
1 answer
99 views

Redirect issue: folders and files not redirected properly

I have recently set a new URL http://www.mytechnotes.biz for a blog I was maintaining on a subdomain http://technotes.tostaky.biz. The redirection works in the following cases: technotes.tostaky....
Jérôme Verstrynge's user avatar
1 vote
0 answers
74 views

Paths Generated by PHP Applications Incorrect In Fedora nginx php-fpm Setup

I have been having several issues with certain PHP apps lately on my Fedora nginx + php-fpm setup. I originally had this issue with Owncloud, and created a question, without much luck, but I am ...
MetaNova's user avatar
  • 171
-1 votes
1 answer
90 views

Apache MOD_REWRITE for subdomain

Summary I have 2 servers, 1 Production & 1 Development Problem I want to keep the servers URLS the same in the code. The production server will be blah.com but I want the development server to ...
Robert's user avatar
  • 207
2 votes
1 answer
8k views

Windows Internet shortcut with embedded username:password [closed]

URLs of form http://username:[email protected]:80/ work fine in the address bar of any browser I tried, yet when I create a shortcut in Windows and try to launch it, it says it cannot find the ...
Display Name's user avatar
0 votes
1 answer
4k 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 example.com:...
mr.simonski's user avatar
2 votes
1 answer
7k 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 ...
Jonathan's user avatar
  • 1,319
2 votes
1 answer
2k 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 ...
Hugie's user avatar
  • 137
0 votes
1 answer
5k 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 http://...
Brian Smith's user avatar
0 votes
1 answer
34 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 ...
Paweł Duda's user avatar
11 votes
2 answers
33k 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 ...
user avatar
0 votes
1 answer
67 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 ...
Alex's user avatar
  • 471
1 vote
1 answer
3k 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 ...
nooblag's user avatar
  • 11
1 vote
1 answer
3k 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 ...
Murat SAÇ's user avatar
1 vote
1 answer
5k 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 ...
Ryan's user avatar
  • 21
0 votes
1 answer
476 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. ...
dronus's user avatar
  • 1,188
2 votes
2 answers
4k 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 ...
Rapolas K.'s user avatar
3 votes
2 answers
3k 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 ...
segconn's user avatar
  • 31
1 vote
1 answer
882 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 ^(.*)$ ...
TheN3rd's user avatar
  • 13
0 votes
1 answer
7k 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 ...
Steve Bennett's user avatar
-1 votes
3 answers
93 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 +...
Emilio Gort's user avatar
2 votes
2 answers
47k 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 ...
Dragan Kidovic's user avatar

1
4 5
6
7 8
11