Navigator Internet Solutions, Inc | Community  

Go Back   Navigator Internet Solutions, Inc | Community > Interactive Forums > Support & Questions
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Welcome to the Navigator Internet Solutions, Inc | Community forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Support & Questions Do you want to make public your Support Question? Feel free to post and you will receive a reply You don't need to be registered to post/reply here.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-20-2005, 05:10 AM
NIS-Francisco's Avatar
NIS-Francisco NIS-Francisco is offline
Administrator
 
Join Date: Dec 2003
Posts: 528
Send a message via ICQ to NIS-Francisco Send a message via AIM to NIS-Francisco Send a message via MSN to NIS-Francisco Send a message via Yahoo to NIS-Francisco
Lightbulb Having problems with NucleusCMS on PHP suEXEC?

If you do, I have a fix for you

First, edit index.php in nucleus:

PHP Code:
<?php
 
$requestvars 
$_GET["arr"];
$request_arr explode("/"$requestvars);
if (
$request_arr[0] == "item") {
   
$_GET["itemid"] = $request_arr[1];
   
$firsti 2;
}
elseif (
$request_arr[0] == "member") {
   
$_GET["memberid"] = $request_arr[1];
   
$firsti 2;
}
elseif (
$request_arr[0] == "category") {
   
$_GET["catid"] = $request_arr[1];
   
$firsti 2;
}
elseif (
$request_arr[0] == "blog") {
   
$_GET["blogid"] = $request_arr[1];
   
$firsti 2;
}
elseif (
$request_arr[0] == "archive") {
   
$_GET["blogid"] = $request_arr[1];
   
$_GET["archive"] = $request_arr[2];
   
$firsti 3;
}
elseif (
$request_arr[0] == "archives") {
   
$_GET["archivelist"] = $request_arr[1];
   
$firsti 2;
}
 
$xflag true;
for (
$i $firsti$i count($request_arr); $i++) {
   if (
$xflag == true) {
      
$j $i 1;
      
$_GET[$request_arr[$i]] = $request_arr[$j];
      
$xflag false;
   }
   elseif (
$xflag == false) {
      
$xflag true;
   }
}
 
// This file will generate and return the main page of the site
$CONF = array();
$CONF['Self'] = 'http://www.example.com/blog';
 
include(
'./config.php');
 
selector();
 
?>
$CONF['Self'] = 'http://www.example.com/blog';

Change that!

Then change/edit/add this on .htaccess file:

Code:
RewriteEngine On
RewriteRule ^member/(.*) index.php?arr=member/$1
RewriteRule ^item/(.*) index.php?arr=item/$1
RewriteRule ^category/(.*) index.php?arr=category/$1
RewriteRule ^blog/(.*) index.php?arr=blog/$1
RewriteRule ^archive/(.*) index.php?arr=archive/$1
RewriteRule ^archives/(.*) index.php?arr=archives/$1
Let me know if you have problems with it, worked greatly on a client I helped to fix this.

Thanks for your business
Francisco
www.NavigatorIS.net
__________________
Best Regards,
Francisco Mazzeo
Navigator Internet Solutions, Inc
Resource-Shack
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 12:35 PM.


Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0 RC6
Copyright © 2003-2005 Navigator Internet Solutions, Inc (NIS - NavigatorIS). All Rights Reserved.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106