![]() |
|
#1
|
|||
|
|||
Possible bug for ModRewrite in Apache/Windows?Good morning!
I have recently started with ModRewrite in order to make my pages more friendly towards search engines. First of all: When uploaded to my ISP everything works fine. But when I try using it at home (WAMP installation, Windows, Apache 1.3.6, MySQL, PHP) I run into problems as the values I have assigned to parameters are not read properly if there is more than one value. Example: === .htaccess === RewriteEngine on RewriteRule ^album/(.*)/(.*)/$ /test.php?cat=$1&album=$2 In principle then 192.168.1.100 should be interpreted as 192.168.1.100 Instead I get an error message, and if I ask for an output of the parameters with print_r($_GET); the result is Array ( [cat] => ealbum/e/4/album=4 ) I have activated RewriteLog, and this is the important bit of the log (added line breaks for better readability): Code:
Can anybody here help me with the interpretation of why it goes wrong? |
|
#2
|
||||
|
||||
|
you are running the latest version of apache and mod_rewite?
did you try with something simple like: Code:
then just try some thing, if that gives strange results you might to find the mod_rewrite site and see if you can sumbit a bug or ask for support from the author(s) |
|
#3
|
|||
|
|||
|
Quote:
Quote:
Quote:
|
|
#4
|
||||
|
||||
|
Hello Maschenka,
Did you figure this out yet? Incase you haven't can you try this pattern instead and see if it helps your situation, it's a long shot but it won't hurt for you to try it. Code:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
Recent GIDBlog
Flickr uploads of IA pictures by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The