Jump to content


Photo

Apache - pos sitewise rewrite problem?


  • Please log in to reply
No replies to this topic

#1 marcusmiller

marcusmiller
  • New Members
  • Pip
  • Newbie
  • 1 posts
  • Locationuk

Posted 21 March 2003 - 10:02 AM

Hey all,

first time post, how you all doing. Good I hope! :)

I have a problem with an apache server I am running, some functionality that I had taken for granted does not seem to be there?

The servers I am used to working with are cobalt raq4\'s which run a modified version of red hat linux 6.2.
The new server is a plain redhat 7.3 baby.

Here goes:
The old server would accept page requests for www.xxxurlxxx.com/test.htm\' in all of the following formats:

test
test/
test.htm
test.htm/

the new server will only accept

test.htm
test.htm/

Any ideas? I have been reading up on mod_rewrite that I have used extensively in the past along with content negotiation but cannot find a direct reference to this problem.

I want to be able to build urls in this fashion.

www.xxxurlxxx.com/test/text-here-references-no-page.htm

In the absence of a directory named test and a page named (see above) the test page is served. Test then explodes the url to get the final part, then explodes this to remove the - and .htm. This is then used to query a database to display the relavent info.

I would really apreciate any help or ideas people can offer.
Kind Regards
Marcus
Someone jerked you off recently, tell them to Ram-IT at http://www.justramit.co.uk/




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users