PHP LD question

Discussion in 'Directories' started by KingNomar, Jan 19, 2007.

  1. #1
    Hi,

    I recently installed php link directory

    and I enabled URL rewrite

    But, than the categories are not working, an error page is showing up.

    What is wrong? Do I need to upload a .htaccess file ?? and what must be in the file ??

    help is much appreciated !!

    Nomar
     
    KingNomar, Jan 19, 2007 IP
  2. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #2
    First you need to set .htaccess for your website

    contact your webhost and turn on .htaccess
     
    Freewebspace, Jan 19, 2007 IP
  3. KingNomar

    KingNomar Well-Known Member

    Messages:
    1,825
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    155
    #3
    it is enabled. But what do I have to do to make it work ?
     
    KingNomar, Jan 19, 2007 IP
  4. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #4
    What error page shows up please provide link, also does it show up when u disable rewrite mode?
     
    paidhosting, Jan 19, 2007 IP
  5. KingNomar

    KingNomar Well-Known Member

    Messages:
    1,825
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    155
    #5
    when i disable it.. it is allright.. the page is showing up.. but when i enable it.. there is a error / cannot find page..
     
    KingNomar, Jan 19, 2007 IP
  6. SFOD_D223

    SFOD_D223 Peon

    Messages:
    4,512
    Likes Received:
    174
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Post your error page here so we can possibly see what the fault is.
     
    SFOD_D223, Jan 19, 2007 IP
  7. KingNomar

    KingNomar Well-Known Member

    Messages:
    1,825
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    155
    #7
    just the normal error when a page is not found:

    Not Found
    The requested URL /art/ was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    _____

    What do i have to do ?? I think put something in my .htacces

    but what??? someone knows? ?
     
    KingNomar, Jan 19, 2007 IP
  8. SFOD_D223

    SFOD_D223 Peon

    Messages:
    4,512
    Likes Received:
    174
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Are you putting the directory script into a subfolder of your site domain?
     
    SFOD_D223, Jan 19, 2007 IP
  9. KingNomar

    KingNomar Well-Known Member

    Messages:
    1,825
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    155
    #9
    just the site domain
     
    KingNomar, Jan 19, 2007 IP
  10. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #10
    That usually doesnt effect much.

    Here is what my htaccess says :

    
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l 
    RewriteRule .* index.php [QSA,L] 
    
    Code (markup):
     
    paidhosting, Jan 19, 2007 IP
  11. YIAM

    YIAM Notable Member

    Messages:
    2,480
    Likes Received:
    240
    Best Answers:
    0
    Trophy Points:
    280
    #11
    If you haven't uploaded yet, You must upload it.
     
    YIAM, Jan 19, 2007 IP
  12. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #12
    ummm yea :rolleyes:

    root of directory's folder
     
    an0n, Jan 19, 2007 IP
  13. KingNomar

    KingNomar Well-Known Member

    Messages:
    1,825
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    155
    #13
    I have a .htaccess file uploaded

    but a empty one i guess.. i need the lines to get this working.

    I will try that paidhosting
     
    KingNomar, Jan 19, 2007 IP
  14. KingNomar

    KingNomar Well-Known Member

    Messages:
    1,825
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    155
    #14
    Thank You Very Much Paidhosting

    it is working now _o_
     
    KingNomar, Jan 19, 2007 IP
  15. SFOD_D223

    SFOD_D223 Peon

    Messages:
    4,512
    Likes Received:
    174
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Yayyy...It feels god to see other people getting the help they need in such a timely fashion..Sorry my little bit of phpld experience didn't help right of the bat.

    Happy Motoring!!!
     
    SFOD_D223, Jan 19, 2007 IP
  16. KingNomar

    KingNomar Well-Known Member

    Messages:
    1,825
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    155
    #16
    no problem sfod, thanks to you also :)
     
    KingNomar, Jan 19, 2007 IP
  17. dvduval

    dvduval Notable Member

    Messages:
    3,372
    Likes Received:
    356
    Best Answers:
    1
    Trophy Points:
    260
    #17
    Good to see you got it working, and great to see people helped you. :)
     
    dvduval, Jan 19, 2007 IP
  18. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #18
    except for the fact that if that is all he put in the .htaccess then there is a lot of other missing entires which nobody else has been kind enough to mention, and one of the reasons why problems arise often.
     
    an0n, Jan 19, 2007 IP
  19. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #19
    Yaa no problem thats why i am here for :D .

    Regards
     
    paidhosting, Jan 19, 2007 IP
  20. tweety

    tweety Peon

    Messages:
    397
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #20
    ahhh i have a small doubt.
    what is this .htaccess file really used for???
     
    tweety, Jan 21, 2007 IP