Solved

URL rewriting

Posted on 2013-10-31
1
355 Views
Last Modified: 2013-11-06
Hi

I am running Apache as a reverse proxy server with Oracle Apex on CentOS 6.4.  
The URL Apex generates is quite ugly and search engine unfriendly.

Therefore we need URL rewriting so that URL becomes nice.

So http://mydomain.com/no/hjem should bring http://http://mydomain.com/apex/f?p=200:1:0::::p0_spraak:328 in the background.

Can someone please help?

Regards,
Habib
0
Comment
Question by:sysautomation
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 51

Accepted Solution

by:
Steve Bink earned 500 total points
ID: 39615940
Is the entire URL unique, or is it just small parts of it?  If you have a number of these, you may want to consider using RewriteMap.

A single rule might look something like this:

RewriteRule /?no/hjem http://mydomain.com/apex/f?p=200:1:0::::p0_spraak:328 [NC,R,L]

Open in new window


If the friendly URL could include some query string values, be sure to add the [QSA] flag to the rule.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question