History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: NUCYKLO-85
Type: Task Task
Status: Closed Closed
Resolution: Fixed/Completed
Priority: Major Major
Assignee: Rafał Krzewski
Reporter: Paweł Potempski
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Cyklotron 2

Site address redirection - Url and domain based

Created: 2005-09-25 12:25   Updated: 2005-11-07 11:36
Component/s: Module Sites
Affects Version/s: 0.1
Fix Version/s: 0.1

Time Tracking:
Not Specified


 Description  « Hide
Automatic redirect to group page if
URL contains registered virtual server domain or group name appears as a parameter.
i.e.
www.foo.org/bar -> /view/structure.Browse/site/foo/path/bar
or
myserver.org/site/foo/path/bar -> /view/structure.Browse/site/foo/path/bar



 All   Comments   Work Log   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Rafał Krzewski - 2005-11-03 13:41
The BrowseLinkTool ($blink - I love it ;-)) needs to generate two different kinds of links:

if the requeted page's site has a primary virtual server:
${page's site primary domain}/page/${page path}[?p1=v1&p2=v2]
otherwise:
${request host, context, servlet}?pageId=${page id}

Rafał Krzewski - 2005-11-04 16:19
all the programing is done, seems to work OK at all angles.

I need to document mod_rewrite usage in the wiki, so it does not get lost - will close the issue then.