You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by beyaNet <an...@beyanet.com> on 2004/07/30 22:22:52 UTC

[users@httpd] mode_rewrite problem

Hi,
  I have a worker2.properties file with the following definition:

  [uri:/mysite/*]
  info=Map the whole webapp

  In my http.conf file I have defined the following:

  RewriteEngine on
  RewriteRule (.*)\.xml$ /mysite/$1.xml [P]

  If I do:
  1. http://www.thisismysite.com/mysite/login.xml - Works fine!
  2. http://www.thisismysite.com/index.html - Works fine!
  3. http://www.thisismysite.com/login.xml - Bad gateway error!

  What is the problem with this?

  many thanks in advance

  Peter