English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 1
TOPIC: Restricted Access error
#5036
Restricted Access error 14 Years, 5 Months ago Karma: 0
I have the following directory tree structure:

public_html
--------masterwebsite
--------slavewebsite1
--------slavewebsite2
--------slavewebsite3

The masterwebsite contains JMS mulitsites. The slavewebsites use the symbolic link to the masterwebsite and have their own database (the do not share databases).

I have the following code inserted into the index.php of slavewebsite 2 and slavewebsite 3. The purpose of the code is to make the logo in the header a link to the home page of the website. It does this with a transparent image placed over the top of the logo in the header.

<div id="clickhome" style="position:absolute; top:25px; left:50px; width:185px; height:75px;">
<a href="<?php echo $baseUrl; ?>"><img height="75px" width="185px" src="/images/stories/clickhome.gif" style="border-width: 0px; border-style: none;" /></a></div>


I decided to to change the link so that when the header is clicked on the visitor is redirected to slavewebsite 1. (instead of the baseURL website they are in which is slavewebsite 2 or 3). i did this by inserting "www.slavewebsite1.com" after the <a href=.

Here is the problem. When i made the change i now get a white screen with "Restricted access". The Joomla backend (administrative) site works, but the frontend gets the error. I put the original index.php file back, but i am still getting the error. i am using cPanel.

Any ideas on how to fix this. I want to be able to direct visitors to slavewebsite1 when they click the logo in slavewebsite2 and slavewebsite3.
markredmond9
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#5040
Re: Restricted Access error 14 Years, 5 Months ago Karma: 54
Perhaps this is due to a permission error.
Check also if you have a "error_log" file that perhaps give you more information on the reason.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla