Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Changing script name

Quote Reply
Changing script name
Hi,

I changed the script name gforum.cgi for another one in the templates of my forum. Everything is working fine, except when a user logs in with the option "Don't use cookie". When this option is used, the script name "gforum.cgi" is used in all URL redirections in posts. Where I can change the script name "gforum.cgi" used in URL redirections?

Thank you!

François

Sorry for my poor english...

Last edited by:

Franco: Dec 2, 2002, 6:18 PM
Quote Reply
Re: [Franco] Changing script name In reply to
Hi François,

The redirect URL is actually in the login template - look for <input type="hidden" name="url"

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Changing script name In reply to
Hi Jason,

I think you didn't understand me. When we log in with the option "Don't use cookie" all URL in posts use this format:

http://www.mysite/gforum.cgi?url=http%3A%2F%2Fwww.othersite.com

When can I change "gforum.cgi" in this?

Thank you!

François
Quote Reply
Re: [Franco] Changing script name In reply to
Oh, sorry about that,

That one is actually stored in the code, inside admin/GForum/Convert.pm (there is only one occurance in the file that isn't in a comment started with "#").

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Changing script name In reply to
Thank you Jason.

But I changed all "gforum.cgi" in to "forum.cgi" and all "gforum\.cgi" in to "forum\.cgi" in Convert.pm, but the script still use "gforum.cgi" in URLs. Crazy Any idea?

Thank you for your help!

François
Quote Reply
Re: [Franco] Changing script name In reply to
If you have got shell access, go to your gforum directory, and type:

grep -r 'gforum.cgi' *

This should give you a list of files where 'gforum.cgi' occurs.

Ivan
-----
Iyengar Yoga Resources / GT Plugins