aspose file tools*
The moose likes JForum and the fly likes [solved, thank you] Jforum and mod_rewrite Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "[solved, thank you] Jforum and mod_rewrite" Watch "[solved, thank you] Jforum and mod_rewrite" New topic
Author

[solved, thank you] Jforum and mod_rewrite

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi.

I have problems with jforum, combined with apache's mod_rewrite. I created a rewrite entry to change the URL from sub.domain.tld:8080 to an easier link - "forum" and "forum.domain.tld". This rewriting was successful but if i logout the URL changes back to the original-link "sub.domain.tld:8080". If i submit a posting the same effect happens and i loose my session. It happens at both rewrited URLs.

Has anyone an idea what happens when i submit the post or logout with my rewriting? At other rewritten webapps there is no problem such as this...

Greets


[originally posted on jforum.net by Windozer]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Which JForum version?

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hmm.. Can you try mod_proxy instead? I have been using it successfully like this:



In this case I have the forum on the root ("/") of the web application.

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi.

I use JForum version 2.1.8.
[originally posted on jforum.net by Windozer]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Finally.... it works!

Best thanks.
[originally posted on jforum.net by Windozer]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [solved, thank you] Jforum and mod_rewrite