FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Can i deactivate login.php
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Can i deactivate login.php [message #32010] Wed, 31 May 2006 13:01 Go to next message
tanoor is currently offline  tanoor   France
Messages: 6
Registered: March 2006
Karma: 0
Junior Member
Hi everybody, I've developed a customized mambo(Sorry, I'm still using it instead of joomla Smile) component to integrate fudforum in my site.
I've also developed a Single Sign On functionality so that when users log into my site, they are directly logged in fudforum. To do this, I've used the api forum_login.php.
Now here is my point: I want to forbid the access to some fudforum files. For example, i want to redirect the page login.php of fudforum to my own login page. (I want to add header('Location: my_login_page.php') at the beginning of the file login.php.t)

Can i do it or does it has some bad consequences?

Thank You.
Re: Can i deactivate login.php [message #32014 is a reply to message #32010] Wed, 31 May 2006 21:01 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You can do it, there are no consequences to such an action.

FUDforum Core Developer
Re: Can i deactivate login.php [message #32179 is a reply to message #32010] Tue, 13 June 2006 15:26 Go to previous message
andyccn is currently offline  andyccn   United Kingdom
Messages: 14
Registered: February 2006
Location: UK
Karma: 0
Junior Member
Or to save re-writing FUD code, use Apache redirects.

RedirectPermanent /<FUD_PATH>/login.php /<MAMBO_PATH>/forum_login.php


in your httpd.conf or extra/httpd-vhosts.conf (depending on your server version/setup)


--
Andy Shellam
the mail network - server support
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Please delete this!
Next Topic: Help
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Dec 04 09:33:21 GMT 2024

Total time taken to generate the page: 0.02329 seconds