Re: Parse URL
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
References: | |
| >Parse URL (From: ".::welemski::." <email@hidden>) |
| >Re: Parse URL (From: Simon McLean <email@hidden>) |