url-rewriting

Hiding Url for asp.net page

Hello, I'm creating an html page that is posted to another page for processing. I don't want users to see the weird URL they are redirected to and I was using FRAMES but I can't figure out how to add my HTML page dynamically because I need the variables and either add frames or try another way to accomplish this. So, based on how I'm cre...

urlrewriter.net work on ASP.NET web server but not on IIS 6 shared hosting

Hi guys, anyone know how to "make work" urlrewriter.net component on IIS 6 ? Actually i have this web.config section : <section name="rewriter" requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" /> And the rule is, for example: <rewrite url="~/tag...

Using .htaccess to force https on all requests in Zend MVC

I have been battling with .htaccess to get all the requests to use https on my Zend MVC. What am seeing is that SSL turns "on" and then goes "off" as the page loads. Below is my .htaccess file. SetEnv APPLICATION_ENV production RewriteEngine On RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond...

ASP.NET, IIS 6 and url rewriting

Hi, i've bought a shared hosting on a windows hoster with IIS 6. I would like to know how to rewrite url. I can't modify anything on the server, the only thing i can do is to use ... my asp.net code ! some advice ? Thanks! ...

how to convert Apache mod_rewrite rules to Microsoft URL Rewriter IIS7?

can someone tell me how to convert apache iis7 mod_rewrite .htaccess file to the equivalent web.config in MS Url Rewriter? Here is the .htaccess file I have: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L] </If...

IIS + PHP url rewrite

Is there any way to rewrite an url of a php app on iis? If yes, how ...

IIS redirect url for virtual directory

Hello, How i can set redirect url for virtual directory in iis 7.0.I have installed lates url rewrite module 2. ? I could explain my problem with exsample. I have website on my iis 7.0 server: www.mysite.com I desided to create virtual directory sales under my site which is pointing to website root directory.Now I need create redir...

How Can I ReWrite flat link to a dynamic link and preserve the Query string?

Hello All, I am wanting to rewrite a url like: http://my.project/mydomain.com/ANY_NUMBER_OF_CATEGORIES/designer/4/designer-name/page.html to this: http://my.projects/mydomain.com/ANY_NUMBER_OF_CATEGORIES/page.html?designer=4 I would like to use mod-rewrite to accomplish this. Things to note: Any number of categories can be between ...

Rewrite only URLs that don't exist

I'm looking for a way to rewrite URLs only if the path doesn't exist. This isn't to handle 404s, but to redirect page URLs to a shared PHP file (ie: '/contact-us/' -> '/show_page.php?page=contact-us'). The basic redirect is easy enough to achieve, however I want to be able to override the default page by adding '/contact-us/index.php' i...

URLRewriter.net sends 404 when uploaded to server with IIS 7, but works on localhost

Hi. I have "installed" URLRewriter.net to my website, and it works just fine when I run it from Visual Studio, but as soon as I upload it, I get a 404. Example: http://dkbyg.strandweb.dk/FAQ Application Pool has been changed to "integrated", because my host suggested that could be it. It didn't work though. Any ideas? ...

Htaccess rewrite rule .aspx to .php

Background: I have a website that has been built with ASP.NET 2.0 and is on Windows hosting. I now have to rewrite my site in PHP and move it into Linux hosting. I have a lot of incoming links to my site from around the web that point directly into the old .aspx-pages. The site itself is very simple, one dynamic page and five static ones...

Catch all Application Mapping breaks WCF WebService

In my web application I have a WCF service that feeds data to some of the AJAXy bits. The URL for calling it looks like: "/Sales/Product/ServiceName.svc/MethodName" This worked fine. Then, for SEO reasons, I needed to add some URL rewriting, so I registered an HttpModule and handled the BeginRequest event. Everything still ok. But th...

Regex in URL Rewriting to match Querystring Parameter Values in any order?

Many URL rewriting utilities allow Regex matching. I need some URLs to be matched against a couple of main querystring parmeter values no matter what order they appear in. For example let's consider an URL having two key parameters ID= and Lang= in no specific order, and maybe some other non-key params are interspersed. An Example URL t...

URL Rewrite in htaccess problem

Am rather new to this world of htaccess redirects.Am trying to force all redirects in my Zend MVC to my https but I get a requested URL not found error on requests that dont go though the index controller Example https://www.example.com/auth/register gives a requested URL /auth/register not found error. However if I remove the https ...

URLRewriter.net fails relative paths when using more than one substring in URL

Hi. I have installed the URLRewriter on my server, and it works fine, but I have a rather big problem. Relative links in hyperlinks, CSS-links, images etc. doesn't work when I have URLs with more than one substring. E.g. (sorry, no http:// in front, as I do not have enough reputation): dkbyg.strandweb.dk/Leje-og-udlejning-arbejdskraf...

URLRewriter.net with multiple querystring separated by /

I have been looking around the site a bit, but I didn't find any replies on how to do it the way I want. What I want is an URL like this: www.example.com/Projects/"querystring1 - text only"/"querystring2 - 4 digits only"/ to show the page with this URL: www.example.com/Projects.aspx?Region=querystring1&Zip=querystring2 What I have b...

URL structure preference - to slash or not to slash?

I'm using custom post types in WordPress 3.0 to manage 'courses' (or seminars, lectures, whatever term you'd prefer to have in mind). Now for viewing a single 'course', the url structure is; /course/course-name/ But for multiple courses? /courses/category/category-name/ Or... /course-category/category-name/ Or something entirel...

Adding string to end of URL

To practise some more bits of python I've been having a go at the challenges on pythonchallenge.com In brief, this challenge as a first step requires one to load an html page from a url with a number at the end. The page contains a single line of text which has in it a number. That number is used to replace the existing one in the url, ...

Which CDN offers rewrite rules for urls

I'm looking for a Content Delivery Network which offers the ability to make images available through multiple urls while they exist physically only one time. I want to generate seo friendly image urls with the relevant keywords in different languages. Thanks for your advice! ...

.htaccess help: changing /register.php into /register

I have no idea about anything to do with .htaccess, apart from the basics of what it's used for. In this case I need it to rewrite URLs. I have a set of pages: index.php register.php login.php donate.php And I wanted to change them into URL's like this: http://localhost/ http://localhost/register http://localhost/login http://localh...