infoxicated
Technical User
Hi - sorry if this has been answered before - I tried searching for tips but came up blank.
My question is this: How do I set up Apache so that the trailing slash on url's is not required?
I'm building an intranet site and decided on Apache, which seems to have been a great choice so far (for someone who was new to setting up servers, anyway!). I have the intranet site in a directory of htdocs called "foo" - so to access it I either type my machine's IP then /foo/ or I type localhost/foo/.
Is it possible to set it up so that I could just type localhost/foo without the server returning an error?
Any help would be most gratefully received.
Cheers,
Rob Foxx :O)
My question is this: How do I set up Apache so that the trailing slash on url's is not required?
I'm building an intranet site and decided on Apache, which seems to have been a great choice so far (for someone who was new to setting up servers, anyway!). I have the intranet site in a directory of htdocs called "foo" - so to access it I either type my machine's IP then /foo/ or I type localhost/foo/.
Is it possible to set it up so that I could just type localhost/foo without the server returning an error?
Any help would be most gratefully received.
Cheers,
Rob Foxx :O)