Gossamer Forum
Home : Products : Others : Gossamer Community :

Contact Us GT Comm plug-in Rewrite rule

Quote Reply
Contact Us GT Comm plug-in Rewrite rule
Hi

I'm using Andy's contact us plug-in slightly modified to give me a drop list of departments for an end-user to send emails to.

I was wondering how to get the rewrite rules below to work just using one line.

I have :

RewriteRule ^/contactus$ /perl/community.cgi?func=contact$1
RewriteRule ^/contactus/$ /perl/community.cgi?func=contact$1

so that both
www.mysite.com/contactus
and
www.mysite.com/contactus/

are redirected to /perl/community.cgi?func=contact

and I was wondering if there was an option I could use between contactus and $ in the rewrite in order for me to imply either with or without the slash go to /perl/community.cgi?func=contact ?

Thanks John
Significant Media
Subject Author Views Date
Thread Contact Us GT Comm plug-in Rewrite rule Jag 2946 Mar 26, 2005, 3:45 AM
Thread Re: [Jag] Contact Us GT Comm plug-in Rewrite rule
Payooo 2871 Mar 27, 2005, 11:01 AM
Thread Re: [Payooo] Contact Us GT Comm plug-in Rewrite rule
Jag 2862 Mar 27, 2005, 11:54 AM
Post Re: [Jag] Contact Us GT Comm plug-in Rewrite rule
Andy 2849 Mar 28, 2005, 2:32 AM