Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke
Author Message
GriGiu
New Member
New Member


Joined: Jan 17, 2005
Posts: 4

PostPosted: Mon Jan 17, 2005 7:36 am Reply with quote

I have installed PhpNuke 7.5 (all OK), I have update with patch 2.8 and i have the error : Redirection limit for this URL exceeded ....
when acces Only registered users can see links on this board! Get registered or login!

I have normal acces only : Only registered users can see links on this board! Get registered or login!

I have need help !!
 
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2496

PostPosted: Mon Jan 17, 2005 8:56 am Reply with quote

Remove this code from your mainfile.php
Code:


if($_SERVER['REQUEST_URI'] != "/" AND substr($_SERVER['REQUEST_URI'], -1) == "/") {
  header("Location: http://".$_SERVER['HTTP_HOST'].rtrim($_SERVER['REQUEST_URI'],'/'));
}

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
GriGiu
PostPosted: Tue Jan 18, 2005 5:40 am Reply with quote

Facendo delle prove avevo risolto in questo modo (modificando il file mainfile.php) :

if($_SERVER['REQUEST_URI'] != "/" AND substr($_SERVER['REQUEST_URI'], -1) == "/") {
header("Location: Only registered users can see links on this board! Get registered or login!".$_SERVER['HTTP_HOST'].rtrim($_SERVER['REQUEST_URI']."index.php",'/'));
}
 
VinDSL
Life Cycles Becoming CPU Cycles


Joined: Jul 11, 2004
Posts: 614
Location: Arizona (USA) Admin: NukeCops.com Admin: Disipal Designs Admin: Lenon.com

PostPosted: Tue Jan 18, 2005 9:47 pm Reply with quote

Interessando! Devono aggiungere soltanto 'index.php'. Buon lavoro... Wink

_________________
.:: "The further in you go, the bigger it gets!" ::.
.:: Only registered users can see links on this board! Get registered or login! | Only registered users can see links on this board! Get registered or login! ::. 
View user's profile Send private message Visit poster's website ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Tue Jan 18, 2005 11:01 pm Reply with quote

Since the question started out in English, please post the resolution so that we mono-linguistics can understand Smile
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©