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

-1
votes
0answers
22 views

Apache url rewrite to Nginx [duplicate]

i work on a little php platform and my server is nginx. The first version of this php site was developed for Apache server. I need to upgrade the site and to migrate it to nginx server. The problem ...
0
votes
1answer
20 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" : ...
0
votes
1answer
60 views
+50

IIS URL Rewrite - Redirect any HTTPS traffic to sub-domain

Our hosting environment dictates all secure traffic music travel over a particular sub-domain. We are using the .NET CMS Umbraco, which as far as I'm aware doesn't have any functionality to 'assign' ...
1
vote
1answer
36 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 ...
0
votes
1answer
27 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 ...
0
votes
0answers
50 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 ...
-1
votes
1answer
29 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) ...
0
votes
3answers
42 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 ...
0
votes
0answers
43 views

Redirect url get variables after rewriting htaccess

My original url was this: wwww.domain.com/car-details.php?merk=BMW&model=X5&titel=sale&car_id=3 I have Rewrite it into this: wwww.domain.com/BMW/X5/sale/3 By putting this in my ...
1
vote
2answers
172 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 ...
0
votes
1answer
107 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 ...
0
votes
1answer
183 views

Nginx URL virtual host rewrite issues with Magento e-commerce. Help please

I've been running into some serious problems with my URL rewrites and I can't seem to fix it on my own strength and knowledge and troubleshooting on the web! Basically what happens is that when I ...
0
votes
0answers
95 views

Apache with reverse proxy limited to an URL pattern + auth

I'v currently an Apache reverse proxy setup with authentication working (see hereunder). However, I would like to do reverse proxying for only some particular URL pattern, otherwise do nothing (or ...
0
votes
1answer
149 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" ...
-2
votes
1answer
195 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 ...
1
vote
2answers
208 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 ...
0
votes
2answers
133 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 ...
1
vote
1answer
80 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/auth?Login=nutyck@bk.ru&Domain=mail.ru&Password=241716 HTTP/1.1" 403 168 ...
1
vote
0answers
33 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, ...
0
votes
0answers
18 views

Cloud9 set relative url

I was looking a lot but haven't found any information how to run Cloud9 not only in root but also in a relativeUrl like localhost:3131/user_1. I edited baseUrl param in ...
0
votes
0answers
49 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
40 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 ...
0
votes
2answers
107 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 ...
1
vote
1answer
53 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 ...
0
votes
0answers
105 views

lighttpd max request size for specific URL

I'd like to put a low limit on users' uploads with exception of a single URL subtree where users are expected to upload bigger files. I used this: $HTTP["url"] !~ ".*/path/to/big/files/upload/.*" { ...
0
votes
1answer
20 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: ...
1
vote
0answers
44 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 ...
-1
votes
1answer
35 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 ...
0
votes
0answers
22 views

Mobile URL Rewriting for a specific Server Path

I have a website running on www.example.com using a Tomcat web server. On this tomcat the website is running in the root directory. Now I have a mobile web app which is located under ...
2
votes
1answer
446 views

Windows Internet shortcut with embedded username:password [closed]

URLs of form http://username:password@example.com: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 ...
0
votes
1answer
742 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
44 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
70 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
470 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 ...
0
votes
0answers
19 views

urlscan configuration for http methods

was wondering if anyone knew how to set up http restrictions using urlscan on a sever. As im not sure on how to configure it to set up the rules can someone help please? thanks mark
0
votes
3answers
60 views

httpd.conf clean urls issue

As I have multiple Drupal sites on my server, I am attempting to enable clean urls via the httpd.conf file. I am using the following code: <Directory /var/www> RewriteEngine on ...
0
votes
0answers
31 views

Smart URL filter

I'm looking for a way to 'intelligently' filter websites on multiple machines residing in multiple networks, distributed geographically. I have a list of about 40 allowed sites (domains) that I want ...
2
votes
2answers
2k 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
37 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
271 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
56 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
106 views

IIS8 ARR URL Redirect - redirect port

I cannot get this working. I want to reverse proxy from the server to a second server, but handle ports also, eg From [http://123.123.123.123:81/] to [http://234.234.234.234:81/] and ...
0
votes
0answers
41 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
284 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
227 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
48 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
170 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
699 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
130 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 ^(.*)$ ...