mod_rewrite and 404

Hi guys,

Im trying to get zp to work with mod_rewrite, but its not happening, ive tried changing the define(), moved files to different locations, tried different chmods (-R even) but phpinfo() shows mod_rewrite enabled and yet i get 404 once i try to check a gallery :/

here is the install
phpinfo.php lies in website root (dont want to URL it here if bots decide to visit)

And well, check stuff out, ask if you want to see anything.
ZP looks like the thing i want and i really want to give it a try WITH rewrite :/

BR,
David

Edit: is there an easy rewrite rule i can test that is sure to work if it really was enabled?

Edit2: i think i figured it out at last, after some more of google i learned that i need AllowOverride FileInfo for rewrite to work, mines set to None.
Ive asked my admin to change, ill see if he will :s

Comments

  • Connie Member
    "is there an easy rewrite rule i can test that is sure to work if it really was enabled?"

    you can always test with `<?php phpinfo(); ?>` in a website which options are active or not at your server, so using this will show whether mod_rewrite is active at your server or not
  • Yeah, it was activated but my vhosts AllowOverride was set to None, thus it kinda denied Rewrite anyway. Its now set to FileInfo instead and it works :D

    Something to remember if everything else fails :)
Sign In or Register to comment.