[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 287
  • Last Modified:

User-Friendly URL's - re-direct

How do I make User-Friendly URL's from my URL's?  Is this possible?   Can I re-direct?      
0
HLRosenberger
Asked:
HLRosenberger
2 Solutions
 
Brad HoweDevOps ManagerCommented:
Yep, you can. It is called MOD_REWRITE.
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html

1. Need to compile Apache with mod_rewrite installed.

2. Create rewrite REGEX expressions and add them to httpd.conf or directory .htaccess files.
       ex:
          RewriteEngine On
          RewriteRule /somefolder$ http://www.mydomain.com/details/ [R=301,L]

You can also place this in your httpd.conf and then turn on logging for you to learn how to configure these. Add this to httpd.conf for your logging:)

          RewriteEngine On
          RewriteLog /some location you can write too/rewrite.log
          RewriteLogLevel 9
          RewriteMap escape int:escape

Let us know if you need help installing it. On my way home now.
Cheers,
Hades666
0
 
Sathish David Kumar NCommented:
you can use urlRewirting in java

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now