Welcome Guest, Not a member yet? Register   Sign In
CommunityAuth
#5

(08-21-2015, 09:27 PM)skunkbad Wrote:
(08-21-2015, 05:26 PM)christaliise Wrote:
(08-21-2015, 01:58 PM)skunkbad Wrote: Instruction (3) is telling you that since you are on Windows, skip to step (4).

(4) Copy MY_Controller.php, MY_Input.php, and MY_Model.php from community_auth/core to CodeIgniter’s application/core directory.

(5) Copy auth_constants.php from community_auth/hooks to CodeIgniter’s application/hooks directory.

(6) Copy the Examples controller in community_auth/controllers to CodeIgniter’s application/controllers directory.

(7) The .htaccess file in community_auth/public_root can be moved to CodeIgniter’s public root directory. Notice the lines at the top that allow for access denial. If you already have an .htaccess file, make sure to include those lines at the top of it.

What about these steps (4 through 7) do you not understand?

I understand 4 to 6 and have rechecked those but (7) is difficult to understand.

This is the content of the existing .htaccess file in CodeIgniter’s public root directory;



Code:
<IfModule authz_core_module>
   Require all denied
</IfModule>
<IfModule !authz_core_module>
   Deny from all
</IfModule>

And this is the content of the community_auth/public_root .htaccess file;



Code:
# MAKE SURE TO LEAVE THE NEXT TWO LINES HERE.
# BEGIN DENY LIST --
# END DENY LIST --

I guess the # is commenting out however I have tried including those lines at the top of the existing but still get the error.

Aside from CommunityAuth, I have checked index.php in CodeIgniter’s public root directory and curious about the bottom line;



Code:
require_once BASEPATH.'core/CodeIgniter.php';

I cannot find CodeIgniter.php

CodeIgniter.php is in system/core, which is a CodeIgniter system file.

If you are not able to use the commented lines in your .htaccess file, then leave it out for now. It's unlikely that you will need those lines there.

I am still no wiser as to what is causing the error;

Service unavailable!
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
If you think this is a server error, please contact the webmaster.

Error 503
localhost
Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.6.8
Reply


Messages In This Thread
CommunityAuth - by christaliise - 08-21-2015, 10:05 AM
RE: CommunityAuth - by skunkbad - 08-21-2015, 01:58 PM
RE: CommunityAuth - by christaliise - 08-21-2015, 05:26 PM
RE: CommunityAuth - by skunkbad - 08-21-2015, 09:27 PM
RE: CommunityAuth - by christaliise - 08-21-2015, 11:44 PM
RE: CommunityAuth - by skunkbad - 08-22-2015, 04:37 PM
RE: CommunityAuth - by christaliise - 08-22-2015, 07:14 PM
RE: CommunityAuth - by skunkbad - 08-23-2015, 01:45 PM
RE: CommunityAuth - by christaliise - 08-23-2015, 10:44 PM
RE: CommunityAuth - by skunkbad - 08-25-2015, 11:11 AM
RE: CommunityAuth - by christaliise - 08-26-2015, 07:21 PM
RE: CommunityAuth - by Nikdilis - 09-11-2015, 12:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB