Activity Stream
48,167 MEMBERS
6985 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 8 of 8
  1.     
    #1
    Member

    Default Problem with .htaccess

    Hi Guys,

    i have a serious problem with dle (version :9.2 - template : SoftEye),when i use the default .htaccess and login to my site just a second then logout again, i can't stay connected when i open a page or refresh. this is my .htaccess :
    Code: 
    DirectoryIndex index.php
    
    RewriteEngine On
    
    RewriteRule ^page/(.*)$ index.php?cstart=$1 [L]
    
    RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page,([0-9]+),([0-9]+),(.*).html(/?)+$ index.php?subaction=showfull&year=$1&month=$2&day=$3&news_page=$4&cstart=$5&news_name=$6 [L]
    RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page,([0-9]+),(.*).html(/?)+$ index.php?subaction=showfull&year=$1&month=$2&day=$3&news_page=$4&news_name=$5 [L]
    RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/print:page,([0-9]+),(.*).html(/?)+$ engine/print.php?subaction=showfull&year=$1&month=$2&day=$3&news_page=$4&news_name=$5 [L]
    RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*).html(/?)+$ index.php?subaction=showfull&year=$1&month=$2&day=$3&news_name=$4 [L]
    
    RewriteRule ^([^.]+)/page,([0-9]+),([0-9]+),([0-9]+)-(.*).html(/?)+$ index.php?newsid=$4&news_page=$2&cstart=$3 [L]
    RewriteRule ^([^.]+)/page,([0-9]+),([0-9]+)-(.*).html(/?)+$ index.php?newsid=$3&news_page=$2 [L]
    RewriteRule ^([^.]+)/print:page,([0-9]+),([0-9]+)-(.*).html(/?)+$ engine/print.php?news_page=$2&newsid=$3 [L]
    RewriteRule ^([^.]+)/([0-9]+)-(.*).html(/?)+$ index.php?newsid=$2 [L]
    
    RewriteRule ^page,([0-9]+),([0-9]+),([0-9]+)-(.*).html(/?)+$ index.php?newsid=$3&news_page=$1&cstart=$2 [L]
    RewriteRule ^page,([0-9]+),([0-9]+)-(.*).html(/?)+$ index.php?newsid=$2&news_page=$1 [L]
    RewriteRule ^print:page,([0-9]+),([0-9]+)-(.*).html(/?)+$ engine/print.php?news_page=$1&newsid=$2 [L]
    RewriteRule ^([0-9]+)-(.*).html(/?)+$ index.php?newsid=$1 [L]
    
    RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})(/?)+$ index.php?year=$1&month=$2&day=$3 [L]
    RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page/([0-9]+)(/?)+$ index.php?year=$1&month=$2&day=$3&cstart=$4 [L]
    
    RewriteRule ^([0-9]{4})/([0-9]{2})(/?)+$ index.php?year=$1&month=$2 [L]
    RewriteRule ^([0-9]{4})/([0-9]{2})/page/([0-9]+)(/?)+$ index.php?year=$1&month=$2&cstart=$3 [L]
    
    RewriteRule ^([0-9]{4})(/?)+$ index.php?year=$1 [L]
    RewriteRule ^([0-9]{4})/page/([0-9]+)(/?)+$ index.php?year=$1&cstart=$2 [L]
    
    RewriteRule ^tags/([^/]*)(/?)+$ index.php?do=tags&tag=$1 [L]
    RewriteRule ^tags/([^/]*)/page/([0-9]+)(/?)+$ index.php?do=tags&tag=$1&cstart=$2 [L]
    
    RewriteRule ^user/([^/]*)/rss.xml$ engine/rss.php?subaction=allnews&user=$1 [L]
    RewriteRule ^user/([^/]*)(/?)+$ index.php?subaction=userinfo&user=$1 [L]
    RewriteRule ^user/([^/]*)/page/([0-9]+)(/?)+$ index.php?subaction=userinfo&user=$1&cstart=$2 [L]
    RewriteRule ^user/([^/]*)/news(/?)+$ index.php?subaction=allnews&user=$1 [L]
    RewriteRule ^user/([^/]*)/news/page/([0-9]+)(/?)+$ index.php?subaction=allnews&user=$1&cstart=$2 [L]
    RewriteRule ^user/([^/]*)/news/rss.xml(/?)+$ engine/rss.php?subaction=allnews&user=$1 [L]
    
    RewriteRule ^lastnews/(/?)+$ index.php?do=lastnews [L]
    RewriteRule ^lastnews/page/([0-9]+)(/?)+$ index.php?do=lastnews&cstart=$1 [L]
    
    RewriteRule ^catalog/([^/]*)/rss.xml$ engine/rss.php?catalog=$1 [L]
    RewriteRule ^catalog/([^/]*)(/?)+$ index.php?catalog=$1 [L]
    RewriteRule ^catalog/([^/]*)/page/([0-9]+)(/?)+$ index.php?catalog=$1&cstart=$2 [L]
    
    RewriteRule ^newposts(/?)+$ index.php?subaction=newposts [L]
    RewriteRule ^newposts/page/([0-9]+)(/?)+$ index.php?subaction=newposts&cstart=$1 [L]
    
    RewriteRule ^static/(.*).html(/?)+$ index.php?do=static&page=$1 [L]
    
    RewriteRule ^favorites(/?)+$ index.php?do=favorites [L]
    RewriteRule ^favorites/page/([0-9]+)(/?)+$ index.php?do=favorites&cstart=$1 [L]
    
    RewriteRule ^rules.html$ index.php?do=rules [L]
    RewriteRule ^statistics.html$ index.php?do=stats [L]
    RewriteRule ^addnews.html$ index.php?do=addnews [L]
    RewriteRule ^rss.xml$ engine/rss.php [L]
    RewriteRule ^sitemap.xml$ uploads/sitemap.xml [L]
    
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^([^.]+)/page/([0-9]+)(/?)+$ index.php?do=cat&category=$1&cstart=$2 [L]
    RewriteRule ^([^.]+)/?$ index.php?do=cat&category=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^([^.]+)/rss.xml$ engine/rss.php?do=cat&category=$1 [L]
    RewriteRule ^page,([0-9]+),([^/]+).html$ index.php?do=static&page=$2&news_page=$1 [L]
    RewriteRule ^print:([^/]+).html$ engine/print.php?do=static&page=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^([^/]+).html$ index.php?do=static&page=$1 [L]
    and when i delete .htaccess or i modify the name of file to .htaccess.txt, i can't access different page like http://my site/user/username or http://my site/addnews, but i don't have the first problem my account stay connected with no problem.

    i don't now where coming this problem ????!!!!!
    Uchiha-Madara Reviewed by Uchiha-Madara on . Problem with .htaccess Hi Guys, i have a serious problem with dle (version :9.2 - template : SoftEye),when i use the default .htaccess and login to my site just a second then logout again, i can't stay connected when i open a page or refresh. this is my .htaccess : DirectoryIndex index.php RewriteEngine On RewriteRule ^page/(.*)$ index.php?cstart=$1 Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    any help !!!!

  4.     
    #3
    Banned
    you cant delete .htaccess
    just edit it as per ur need and rename it .htaccess not .htaccess.txt

  5.     
    #4
    Member
    If someone use the same template, he can give me his .htaccess file to test with it.
    thak you

  6.     
    #5
    Member
    any help !!!

  7.     
    #6
    Member
    Try to use default htaccess file and default template

  8.     
    #7
    Member
    I have tried but the same problem

    ---------- Post added 2nd Apr 2012 at 02:58 PM ---------- Previous post was 1st Apr 2012 at 06:46 PM ----------

    Any idea about this problem !!!!!!

  9.     
    #8
    Member
    Website's:
    Max-Warez.Net Latestplaza.Com JungleLobby.Com RoyalVipers.Com
    edit your .htaccess and remove all code in that file and open .htaccess from your downloaded dle script and then copy code from that file and
    paste that code in your onlne
    .htaccess file i hope this will solve your problem

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help - Problem with .htaccess DLE
    By Uchiha-Madara in forum Web Application/Script Support
    Replies: 3
    Last Post: 15th Jan 2012, 01:33 PM
  2. Problem with htaccess
    By xandor in forum Webmaster Discussion
    Replies: 9
    Last Post: 15th Jan 2012, 12:55 AM
  3. how can fix htaccess problem on NGINX ?
    By chiwan in forum Server Management
    Replies: 7
    Last Post: 25th Sep 2011, 04:12 PM
  4. problem with my .htaccess file for datalife
    By zebono2 in forum Web Development Area
    Replies: 3
    Last Post: 24th Sep 2011, 04:33 PM
  5. .htaccess problem in DLE
    By Arthur in forum Webmaster Discussion
    Replies: 25
    Last Post: 8th Mar 2011, 06:39 PM

Tags for this Thread

BE SOCIAL