Solved

URL rewriting

Posted on 2013-10-31
1
339 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
1 Comment
 
LVL 50

Accepted Solution

by:
Steve Bink earned 500 total points
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now