trailing "/" on 2.0

This is a discussion on trailing "/" on 2.0 within the Apache Web Server forums, part of the Web Server and Related Forums category; After much searching of newsgroups/websites/apache docs.... the end of my httpd.conf now looks like this: ======================= RewriteEngine on ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-10-2004
NP
 
Posts: n/a
Default trailing "/" on 2.0

After much searching of newsgroups/websites/apache docs....

the end of my httpd.conf now looks like this:
=======================
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ $1/ [R]

RewriteRule ^/~([^/]+)/?(.*) /u/$1/$2 [R]
RewriteRule ^/([uge])/([^/]+)$ /$1/$2/ [R]

RewriteEngine on
RewriteBase /
RewriteRule ^foo$ foo/ [R]
=======================

and of course, there's not a change in the server behavior after several
restarts.

but the one thing I noticed is that ALL of the documents that I pulled these
"solutions" were for apache 1.3 and nothing was available for 2.0.

Is the version difference a reason this isn't working?
Is there a resource outthere I just didn't find for 2.0 that addresses this?

Or is there a person able to guide through cleaning up these rules to make
them functional?

NP

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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



All times are GMT +1. The time now is 05:03 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0