Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthormimmo_l
    • CommentTimeMay 6th 2009
     
    hi all having troubles getting cruft free urls going any help will be grateful.

    Plogger is installed in: mydomian.com/plogger

    scenario 1)
    mydomain.com/plogger/.htaccess chmod 777
    contents:
    RewriteEngine on
    RewriteBase /plogger
    RewriteCond %{REQUEST_FILENAME} -d [OR]
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^.*$ - [S=2]
    RewriteRule feed/$ plog-rss.php?path=%{REQUEST_URI} [L]
    RewriteRule ^.*$ index.php?path=%{REQUEST_URI} [L]

    this gets a the floowing results:
    Bad Request
    Your browser sent a request that this server could not understand

    Scenario 2)
    remove the htaccess in the plogger directory
    copy contents into mydomain.com/.htaccess

    Results:
    cuft free urls worked
    404 errors are directed to plogger/index


    does anyone have some proper code or location or anything else that i can do? thanks again
  1.  
    I think you need to go back to scenario 1 and make the following adjustment:

    RewriteBase plogger/

    I think this may work... Let me know.
    • CommentAuthormimmo_l
    • CommentTimeMay 10th 2009
     
    Hi thanks for the reply, I just tried your suggestion and get a:
    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.
  2.  
    yeah, I tried it myself after I posted it and it doesn't work, should've checked first. I will say I'm a little new to mod_rewrite and had issues myself editing it but got some help and fixed it, I had to have a good old play with it and many 'Bad Requests'...

    in the .htaccess in scenario 1, does it work if you write:

    mydomain.com/plogger/.htaccess chmod 777
    contents:
    RewriteEngine on
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} -d [OR]
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^.*$ - [S=2]
    RewriteRule feed/$ plog-rss.php?path=%{REQUEST_URI} [L]
    RewriteRule ^.*$ index.php?path=%{REQUEST_URI} [L]


    What are the exact contents of your .htaccess file in /plogger ?
    • CommentAuthormimmo_l
    • CommentTimeMay 16th 2009
     
    I think it might be my hosting company's server causing my problems because even the simplest modrewrite test gives a 404 error. my htaccess in plogger directory is exactly as seen above. I have think i figured a workaround by using sceneraio 1 in my main directory .htaccess and deleted the .htaccess in the plogger directory

    RewriteBase /plogger
    RewriteCond %{REQUEST_FILENAME} -d [OR]
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^/plogger.*$ - [S=2]
    RewriteRule ^/plogger.*$ index.php?path=%{REQUEST_URI} [L]

    in my plogger directory I used index.php with my template and made all links css and images absolute links instead or relative links.