>Number:         503
>Category:       mod_rewrite
>Synopsis:       rewrite directives worked in 1.2b{6,7,8} but fail with 1.2b10
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Apr 29 07:50:01 1997
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.2 beta 10
>Environment:
Solaris 2.5.1, with most of the latest OS patches.
Sun C 4.0 compilers.  Tried with

-xO2 -native  and also just -g
>Description:
We have a set of rewrite directives that worked OK before with beta's 6,7,8,
but they don't work in b10.

The target location of the rewrite is available and working OK.

Here are the rules in use:

DocumentRoot /home/www/data
<Directory /home/www/data>
RewriteEngine on
RewriteRule /people$ /people/ [L,R]
RewriteRule /people/$ /cgi-bin/people [L]
RewriteRule /people/([a-z0-9A-Z]+)$ /people/$1/ [L,R]
RewriteRule /people/([a-z0-9A-Z]+)/$ /users/$1/www/ [L]
RewriteRule /people/([a-z0-9A-Z]+)/(.*) /users/$1/www/$2
Options Indexes FollowSymLinks
AllowOverride All
order allow,deny
allow from all
</Directory>


This turns /peole/name into  /users/name/www which locates the users $HOME
via this alias:

Alias /users /home

using http://server/users/name/www works just fine.

The error for http://server/people is:

File Not Found

The requested URL /people was not found on this server.

Which makes me think that somehow the mod_rewrite module is being ignored.

I checked using the info module; mod_rewrite was compiled in.           
>How-To-Repeat:
I guess you can mimic this config and see if it works.
>Fix:
No, I don't.  Given that it was working in earlier releases, I'd look to see
what changed in the code (sorry, I'm not being too helpful here)
>Audit-Trail:
>Unformatted:


Reply via email to