image
image

Go Back   macosx.com > Design, Media, Programming & Scripting > Software Programming & Web Scripting

Reply
 
Thread Tools
  #1  
Old January 5th, 2006, 05:21 PM
Registered User
 
Join Date: Jan 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
ShadoFlameX is on a distinguished road
apache mod_rewrite directory problem

I am having a problem with mod_rewrite rewriting the urls such that they are inaccesible. For instance when I attempt to go to

http://tibook-g4.local/~USERNAME/test/old.htm

with the following rewrite rule:

RewriteRule ^old\.htm$ new.htm

it tries to find the file and gives this error:

The requested URL /Users/USERNAME/Sites/test/new.htm was not found on this server.

notice that it is no longer looking in http://tibook-g4.local/~USERNAME/test/ but rather the actual directory location.

Im not sure why it rewrites incorrectly but it must be correctible.

I would love to hear about any solution,
Thanks,
Bryan
Reply With Quote
Reply

Thread Tools

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 On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
apache cannot see directory alvin_stardust Software Programming & Web Scripting 0 June 6th, 2005 05:14 AM
Apache Directory Protection...help! owaters Design & Media 2 January 5th, 2003 06:32 PM
Apache Directory Protection......help! owaters Mac OS X System & Mac Software 0 December 31st, 2002 07:32 AM
Apache mod_rewrite Dris Mac OS X System & Mac Software 0 November 30th, 2002 05:26 PM


All times are GMT -5. The time now is 01:56 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.