Jump to content

File / directory rewrite problem.


RattleSn@ke

Recommended Posts

Hi there!

 

I'm having a small problem with mod_rewrite rules.

I'm using links like http://<domain>/EN/44/some_page.html which I translate with mod_rewrite to http://<domain>/index.php?lang=EN&cat=44&id=some_page

 

Finally I figured out to prevent some directories from being processed by mod_rewrite.

But now I want prevent all existing pages from being processed. So I have a real info.php which is accessable by http://<domain/info.php but when I try http://<domain>/EN/info.php I get the index.php

How do I prevent this, if possible?

 

Thanks!

Onno.

Link to comment
https://forums.phpfreaks.com/topic/56933-file-directory-rewrite-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.