Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.10.01 - All Issues
Author Message
j4rdin
Worker
Worker



Joined: May 26, 2006
Posts: 153

PostPosted: Sun Aug 05, 2007 9:22 am Reply with quote

I have got two RN2.10.01 websites set up. One is in the root directory and is working Ok with minor bugs.

The other I have set up in a sub-directory and set a pointer to it in my hosting panel.

When I enter the url www.brzjc.co.uk it opens up the site and all seems Ok. If I try to go to www.brzjc.co.uk/admin.php or index.php I get the following error HTTP/1.1 404 Object Not Found.

If I try to click on the new user activation link in an email i get the same error. I can only get into the admin.php screen if I type the full path to the sub-directory.

Any pointers would be helpful.

John
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Mon Aug 06, 2007 5:23 am Reply with quote

Do a test: rename the .htaccess file in your root directory and try again. I think you may need to fully qualify the admin authentication if you're using nuke in 2 places on the same account.

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
j4rdin







PostPosted: Mon Aug 06, 2007 6:36 am Reply with quote

kguske wrote:
Do a test: rename the .htaccess file in your root directory and try again. I think you may need to fully qualify the admin authentication if you're using nuke in 2 places on the same account.


I assume you mean the .htaccess file in the root of the main folder or website, in this case the www.zenjudo.co.uk site. Not the one in the sub-directory for www.brzjc.co.uk

What ever I do I want to have both sites working correctly at the end. Would this mean that I will loose all the banned IP's from the root site's .htaccess file or could I copy them back in again afterwards. Also both sites have short links turned on in the .htaccess files, should I keep these in the new .htaccess file.

Sorry still learning with php.

John
 
kguske







PostPosted: Mon Aug 06, 2007 10:18 am Reply with quote

Yes, rename the one in the main folder. I think that it what is interfering. You should be able to restore it without losing any of the banned IPs, etc., but you may need to fully qualify the admin file in the htaccess files for both the main folder and subdirectory.
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Mon Aug 06, 2007 6:30 pm Reply with quote

I have also had cases where I have had to rename my admin.php script (don't forget to change config.php to match) on the lower directory version of nuke to keep the top-level Files check in .htaccess from conflicting.

But, I like your idea better kguske in trying first to see if you can fully qualify the Files directive for admin.php in each .htaccess. I never played around with that.

_________________
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
j4rdin







PostPosted: Tue Aug 07, 2007 6:34 am Reply with quote

Just to be clear before I cause more problems, what exactly do you mean by "fully qualify".

edited:- I have been trying to find out more information on this on the internet, with mixed success. As far as i can tell I need some sort of re-write rule in each .htaccess file to point to the correct admin.php file depending on which domain is beeing used ie. zenjudo.co.uk to the admin.php file in the root directory and for brzjc.co.uk the admin.php in the /brzjcphp directory.

Problem is I'm not sure what needs to be entered as i can't get my head around how re-write works.

I have tried renaming the admin.php in one site to admin1.php and changing the setting in config.php but same problem. I assume you can't add a url to the admin setting in config.php to point at the correct directory/file.

Could the short-Links On be causing the problems, as when I edit a page in admin via the xxx/xxxx/admin.php directory root, all looks ok in the editor, but when I log out and return to the website using www.brzjc.co.uk the photos and links are all broken. Until I can get into admin.php directly from the www.brzjc.co.uk website, I will have problems.

John

John Question
 
j4rdin







PostPosted: Fri Aug 17, 2007 1:22 pm Reply with quote

Ok after looking through every setting and config file in both directories and making changes to the 404 error page to see if I could find out what was generating it, RavenNuke, NukeSentinel or the server (without success).

I finally managed to fix the problem by changing the website URL in the RavenNuke preferences. I had used the main domain name www.xxxx.co.uk as the website url in the preferences.

So if the Domain is www.xxxx.co.uk
and that points to my webhost at
www.ssss.xxxx.co.uk
and in my C-Panel set up any traffic is directed to
www.ssss.xxxx.co.uk
and is sent to the subdirectory the RavenNuke is installed in.

John
 
montego







PostPosted: Sat Aug 18, 2007 8:59 am Reply with quote

Bang Head

Glad you finally found it...
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.10.01 - All Issues

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 ©