+ Reply to Thread
Results 1 to 10 of 10

Thread: RewriteBase problem - 404 page can not be found

  1. #1

    Exclamation RewriteBase problem - 404 page can not be found

    Maybe someone could help me out?

    The new .htaccess includes a lot of new things and I am having problems with links and paths. If I call the root (i.e. http://www,nameofthesite.something) then I can see the frontend but when pressing any links I end up with 404 error. I suspect the .htaccess file which in my case are called x.htaccess for some reason to make it work without 505 error??

    I also used the dbmigration tool to import listings from 3.2, that worked great but I have about 11 pages of listings but the system, within admin panel, only displays 12 listings in the information box.

    So I need help - I have placed 2 tickets to support but I guess they are on weekend leave.

    //Morgan

  2. #2
    i remember mine having x.htaccess, i think i changed mine to how it should be

  3. #3
    Quote Originally Posted by Chris Brown View Post
    i remember mine having x.htaccess, i think i changed mine to how it should be
    Yes but when I change mine to .htaccess then I got a 505 error which, must in the end, point to config.inc.php I guess.

    EDIT: I think I have found it. The ReWrite syntax is written for Apache 2.x but my host has got Apache 1.3.x. so now I have to see if Flynax can give my instructions for Apache 1.3.x.
    Last edited by Morgan Bohman; May 27, 2012 at 09:57 AM.

  4. #4
    # define account details request
    RewriteRule ^((\w{2})/)?([\w-_]{3,})$ index.php?page=$3&lang=$2&account_request [QSA,L]

    This line will give me a 505 error.

  5. #5
    Problem solved for Morgan,

    For others who have the same problem try to replace two rewrite rules in the .htaccess file, working rules for apache 1.3.x are below

    Code:
    Only registered members can view the code.

  6. #6
    @Mike, yes nearly solved but the listing details gives Parse error: syntax error, unexpected ';' in /home/fyndklip/public_html/tmp/compile/%%70^70F^70F52859%%listing_details.tpl.php on line 359

  7. #7
    We have fixed this parse error

  8. #8
    @Mike it work for a couple of minutes but now the same again

  9. #9
    It's now ok again, sorry for inconveniences.

  10. #10
    Thanks, no problems! I'm sorry for all questions but with so many functions, there's many ways to go wrong. I really like your way of coding and to present the front end. In Sweden we have only one major player when it comes to listings and you could take a peak at http://www.blocket.se

+ Reply to Thread