If I'm not mistaken from an earlier post, you actually want more than to
just have
http://cfdev.cota.csulb.edu/cota
or
http://cfdev.cota.csulb.edu/cota/
work. You want to also use the same rewrite for images, etc.
Without knowing the full extent of what you expect the code
to do I don't even know if mod_rewrite is right for the job.
To me it sounds like you might need some server-side technology like
php or perl
to do some URL processing and redirects...
Thanks,
Boysenberry
boysenberrys.com | habitatlife.com | selfgnosis.com
On Jul 19, 2006, at 5:47 PM, Mike Soultanian wrote:
Well, for example, I would like to be able to input either of the
following into my browser:
http://cfdev.cota.csulb.edu/cota
or
http://cfdev.cota.csulb.edu/cota/
and the web page will be displayed while the application server
handling the requests all see localhost as the originating address.
My apologies for not being more clear. cota is a folder, and the
problem is that it's not appending the trailing slash.
thanks!
mike
Boysenberry Payne wrote:
That's why I was saying you'd probably have to write something a
little complicated.
Its really hard if you don't already have a naming convention in mind.
That way you could just force it to rewrite without the ending slash
if you wanted.
I think its adding the trailing slash because it assumes cota is a
directory.
(Someone else on here might have a better explanation.)
What exactly are you trying to see happen, in human terms, i.e. how
would
you like the request to unfold.
Thanks,
Boysenberry
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]