Hi guys, I have some crazy problems on mod_rewrite and get_browser() function on wamp.
First my rules on .htaccess not affected on urls (get variables not parsed).
Here is my .htaccess file:
------------------
Options -Indexes
RewriteEngine On
RewriteRule ^foo.html$ /bar.php?id=zzz [L]
------------------
foo.html rewrite to bar.php, but $_GET variable still empty or sometimes I have 404 (Not Found) Error on bar.php (that’s crazy me!)
After I upgrade from wamp5_1.7.1 to wampserver 2.0c, plus rewrite troubles, I have a problem with get_browser() and browscap.ini that when I called get_browser() function, php generate some errors (in log php_error.log) like:
PHP Warning: Cannot open 'c:/wamp/extra/browscap.ini' for reading in Unknown on line 0
So I tried out everything that I think possible to make troubles:
1. rewrite_module enabled 2. browscap.ini are available in path and latest version 3. php.ini was edited from system try icon (wamp using some php.ini files) 4. extra/browscap.ini or c:/wamp/extra/browscap.ini with forward slash or backslashes not worked.
Some one can help?
Edited 1 time(s). Last edit at 05/19/2008 07:52AM by recycle_bin.