Re: Parse URL

2008-07-28 Thread Lachlan Deck
On 28/07/2008, at 9:40 PM, .::welemski::. wrote: 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 i

Re: Parse URL

2008-07-28 Thread .::welemski::.
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 th

Re: Parse URL

2008-07-28 Thread Simon McLean
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/daThatRetu

Parse URL

2008-07-28 Thread .::welemski::.
Hi Lists, I have made a configuration in my /etc/hosts file like so: 127.0.0.1 www.adminpage.com 127.0.0.1 www.userpage.com 127.0.0.1 www.memberpage.com 127.0.0.1 localhost and i have 3 WOComponent page namely: WOAdminPage WOUserPage WOMemberPage Main How do i tell my default Main component pa