above modules, plus the below directives
work:
--
AuthType Basic
AuthName "Restricted Files"
AuthUserFile
/users/chemweb/apache2/http-cchem/htdocs/admittedstudent/.htpasswd
Require user gsportal AdmittedStudent
--
Thanks to everyone, especially Joshua Slive, for
solve this soon I'm going to go ahead and try .htaccess
files but I'd rather do this right by using directives in the
httpd.conf file.
Thanks for your comments.
Jon Forrest
Unix Computing Support
College of Chemistry
173 Tan Hall
University of Californ
check user. No user file?: /admittedstudent/
What's weird is that I get this message even if I comment out the
AuthUserFile directive.
The rest of the web site seems to be working fine. What am I doing wrong?
Cordially,
--
Jon Forrest
Unix Computing Support
College of Chemistry
173 Tan Hall
Uni
h the following, which appears to work:
RewriteRule ^/(.+?)/(.*)$/$1/public_html/$2 [L]
It's critical that the first part of the regular expression
use minimal matching.
Thanks for everyone's help.
Cordially,
--
Jon Forrest
Unix Computing Support
College of Chemist
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
/
(2) prefixed with document_root to
/users/chemweb/apache2/http-cchem/htdocs/username/index.html/public_html/
I don't think the rewrite rule I'm using is correct.
Cordially,
--
Jon Forrest
Unix Computing Support
College of Chemistry
173 Tan Hall
University of California
hy mod_rewrite
tried the other possibilities.
I'm guessing all these problem have something to do with directory
protection but if this is true then I don't understand why URL #1
works.
Any ideas?
Cordially,
--
Jon Forrest
Unix Computing Support
College of Chemistry
173 Tan Hall
Un