Forum Moderators: phranque

Message Too Old, No Replies

Apache URL problem

         

grunff

11:32 am on Sep 10, 2006 (gmt 0)

10+ Year Member



Hi all,

Server: Apache 1.3.31 on FreeBSD

I'm working on a project where I need to use URLs in this format:

[yoursite.com...]

instead of

[yoursite.com...]

The rewriting is done in php, within the application - it doesn't use mod_rewrite.

The problem I'm having is that the server doesn't like that URL format - it seems to look for a firectory called default.php, and another one called id, instead of serving up default.php. This results in a 500 error.

I know you can get the server to just serve up default.php, ignoring the rest of the URL (which will be parsed by the php) - I've seen it done on many other servers. What I don't know is how to achieve this.

Any help much appreciated.

jdMorgan

3:13 pm on Sep 10, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This post, Changing Dynamic URLs to Static URLs [webmasterworld.com] from our forum library, may be of help in explaining the process, or in establishing a base for discussion.

It's a two- or three-step process, and it seems you've only taken the first step.

Jim