aaargh - mod_rewrite again...

This is a discussion on aaargh - mod_rewrite again... within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi all. On my test-server (fedore core 3, Apache 2.0.53, PHP 4.3.11) this ..htaccess file: ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-03-2006
Martin Stender
 
Posts: n/a
Default aaargh - mod_rewrite again...

Hi all.

On my test-server (fedore core 3, Apache 2.0.53, PHP 4.3.11) this
..htaccess file:

DirectoryIndex index.php
RewriteEngine on
RewriteRule ^(dk|en|om|article|contact)/?.*$ index.php?var1=$1&var2=$2


works fine. (I'm not using the first two optional matches: 'dk' and
'en', but the next two works fine)

But at the hosting-house (Apache/2.0.54 (FreeBSD) PHP/5.0.4) the last
optional match ('contact') gives a:

"404 Not Found
The requested URL /contact/ was not found on this server"

It's driving me nuts ...

Any idea?

Big thanks in advance!

Martin

  #2 (permalink)  
Old 01-04-2006
Martin Stender
 
Posts: n/a
Default Re: aaargh - mod_rewrite again...

Ok - here's something that adds to the mystery ... If I change the
'contact' option to just 'cont', (or anything else) it works fine ... !

Are there reserved words or something like that, when working with
mod_rewrite?

Best
Martin

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:40 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0