Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
dark7568 is on a distinguished road
 
Posts: 4
Join Date: Dec 2011
Default .htaccess the webpage direct loop HELP - 12-26-2011, 12:33 AM

I got into the error page, it tell me to clear cookie. I did ! but error still occur.

.htaccess code:
Code:
# Do not remove this line, otherwise mod_rewrite rules will stop working
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Index.php
Code:
<?php

session_start();
if(!$_SESSION['logged_in'] ) {
header("location:session/login.php");
     } 
	 
?>
Any ideas ? thanks in advanced.
Reply With Quote
Sponsored Links
Reply

Tags
error 404 php, htaccess, looping

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

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

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com