CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Sep 2006
    Posts
    49

    Question How to re-write URL?

    Hi

    I want to re-write my URL. I came cross two things :
    1) .htaccess
    2) <Directory> tag

    Whichis best to use?
    And i read abput both, but being new i am not able to get the thing. I read that .httpd.conf file should bt there in my machine to reqrite. But i serach the whole PC but didnt get that file. DO i have to install mod_rewrite. I have tomcate 6.0
    I wnat to achieve following thing :

    IF user enters the ....
    http://localhost:8080/mySite/pgHome

    it shoudl open the
    http://localhost:8080/mySite/section=pgHome


    What thing i have to write where? Which filter string i have to wrtie? Its urgent. Can anybody tell me? I am working in NetBeans. And after creating file where to keep it? and do i have to explicity install mod_rewite?

    Thanks in advance.
    Last edited by ujjvalpandya; July 4th, 2008 at 07:14 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured