• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Parse URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parse URL


  • Subject: Re: Parse URL
  • From: ".::welemski::." <email@hidden>
  • Date: Mon, 28 Jul 2008 19:40:08 +0800

Hi,

I'd like to use mod_rewrite but i want to make Webobjects do the
parsing as I don't want to restart apache everytime i add a new url.

All I need is to get or capture the URL entered by the user and let
Weobjects do the redirection not the rules inside the config.

Is there a way to capture that URL and redirect to another component page?

On 7/28/08, Simon McLean <email@hidden> wrote:
> apache mod_rewrite is your friend
>
>  So in your site config for 127.0.0.1 www.adminpage.com do something like
>
>  RewriteCond %{HTTP_HOST}   ^adminpage\.com$ [NC]
>  RewriteCond %{REQUEST_URI} ^/$
>  RewriteRule ^/(.*)
> http://www.adminpage.com/cgi-bin/WebObjects/YourApp.woa/wa/DirectAction/daThatReturnsAdminPage [L,R]
>
>  Simon
>
>
>  On 28 Jul 2008, at 12:05, .::welemski::. wrote:
>
>
> > How do i do URL parsing?
> >
>
>


--
 -- -- -- -- -- -- -- -- -- -- --
          welemski
 -- -- -- -- -- -- -- -- -- -- --
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Parse URL
      • From: Lachlan Deck <email@hidden>
References: 
 >Parse URL (From: ".::welemski::." <email@hidden>)
 >Re: Parse URL (From: Simon McLean <email@hidden>)

  • Prev by Date: Re: Parse URL
  • Next by Date: Re: Eclipse WO + SVN
  • Previous by thread: Re: Parse URL
  • Next by thread: Re: Parse URL
  • Index(es):
    • Date
    • Thread