httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Forrest <>
Subject Re: [users@httpd] Very Puzzling Question About mod_rewrite
Date Fri, 02 Nov 2007 00:45:27 GMT
Joshua Slive wrote:

> Likely because your Options directive is applied by-url rather than
> by-directory.
> You need
> <Directory /full/path/to/userdirectories/*/public_html>
> Options +Indexes
> </Dirctory>
> 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
listing of which
shows the index.html file. However, if I click on index.html
I get a "404 Not Found" error, and the error log says

File does not exist: 

The rewrite log says:

(2) init rewrite engine with requested uri /username/index.html
  (3) applying pattern '^(.+)$' to uri '/username/index.html'
  (2) rewrite '/username/index.html' -> '/username/index.html/public_html/'
  (2) local path result: /username/index.html/public_html/
  (2) prefixed with document_root to 

I don't think the rewrite rule I'm using is correct.

Jon Forrest
Unix Computing Support
College of Chemistry
173 Tan Hall
University of California Berkeley
Berkeley, CA

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message