Re: [EMAIL PROTECTED] Very Puzzling Question About mod_rewrite

2007-11-02 Thread solprovider
On 11/1/07, Jon Forrest <[EMAIL PROTECTED]> wrote: > (This is on Solaris 10-x86 with Apache 2.2.4) > When I give the URL > 1) http://www-demo.cchem.berkeley.edu/username/public_html > > everything works fine. However, for historical reasons, > I can't require that people give the "/public_html" at

Re: [EMAIL PROTECTED] Very Puzzling Question About mod_rewrite (**Solved**)

2007-11-02 Thread Jon Forrest
Krist van Besien wrote: However since it is /username/ that you need to replace with /username/public_html/ it shouldn't be that hard. RewriteRule ^`/(\w+)/(.+)$ /$1/public_html/$2[L] This was very close. With the expert help of a local Apache guru, we came up with the fo

Re: [EMAIL PROTECTED] Very Puzzling Question About mod_rewrite

2007-11-02 Thread Krist van Besien
On Nov 2, 2007 2:59 AM, Jon Forrest <[EMAIL PROTECTED]> wrote: > Joshua Slive wrote: > > On Nov 1, 2007 8:45 PM, Jon Forrest <[EMAIL PROTECTED]> wrote: > >> Joshua Slive wrote: > >> > > >> Thanks. After doing what you suggest I can see a directory > >> listing of http://www-demo.cchem.berkeley.edu/

Re: [EMAIL PROTECTED] Very Puzzling Question About mod_rewrite

2007-11-01 Thread Jon Forrest
Joshua Slive wrote: On Nov 1, 2007 8:45 PM, Jon Forrest <[EMAIL PROTECTED]> wrote: Joshua Slive wrote: Thanks. After doing what you suggest I can see a directory listing of http://www-demo.cchem.berkeley.edu/username/ which shows the index.html file. However, if I click on index.html I get a

Re: [EMAIL PROTECTED] Very Puzzling Question About mod_rewrite

2007-11-01 Thread Joshua Slive
On Nov 1, 2007 8:45 PM, Jon Forrest <[EMAIL PROTECTED]> wrote: > Joshua Slive wrote: > > > Likely because your Options directive is applied by-url rather than > > by-directory. > > > > You need > > > > Options +Indexes > > > > > > Or you need to find the Options directive that currently applies t

Re: [EMAIL PROTECTED] Very Puzzling Question About mod_rewrite

2007-11-01 Thread Jon Forrest
Joshua Slive wrote: Likely because your Options directive is applied by-url rather than by-directory. You need Options +Indexes Or you need to find the Options directive that currently applies to those directories and add Indexes. Thanks. After doing what you suggest I can see a directory

Re: [EMAIL PROTECTED] Very Puzzling Question About mod_rewrite

2007-11-01 Thread Joshua Slive
On Nov 1, 2007 8:13 PM, Jon Forrest <[EMAIL PROTECTED]> wrote: > (This is on Solaris 10-x86 with Apache 2.2.4) > > When I give the URL > > 1) http://www-demo.cchem.berkeley.edu/username/public_html > > everything works fine. However, for historical reasons, > I can't require that people give the "

[EMAIL PROTECTED] Very Puzzling Question About mod_rewrite

2007-11-01 Thread Jon Forrest
(This is on Solaris 10-x86 with Apache 2.2.4) When I give the URL 1) http://www-demo.cchem.berkeley.edu/username/public_html everything works fine. However, for historical reasons, I can't require that people give the "/public_html" at the end of the URL. In other words, I want users to be abl