Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
3
Newest
 Student
Impact
~878 people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Sep
3
comment Password protect an alias virtual directory
I've tried that, with no change. With Require valid-user set I see one directory (the wrong directory) and if I comment it out I see the right directory. In either case there is no user/password prompt and nothing in the apache error log.
Sep
3
awarded  Student
Sep
3
comment Password protect an alias virtual directory
Could I be missing an authentication module in httpd.conf? None seem to be set.
Sep
3
comment Password protect an alias virtual directory
If I comment out Require valid-user from my .htaccess, then I see the files from /path/to/subdomain/files and if I uncomment Require valid-user then I see the main domain files (a Drupal CMS). How can requiring a valid user cause apache to deliver files from completely different directories?
Sep
2
awarded  Editor
Sep
2
revised Password protect an alias virtual directory
added 1 characters in body
Sep
2
comment Password protect an alias virtual directory
The reason for keeping the files in /mydir in a separate area (in a CPanel subdmain for convenince) is for organisation of the scripts. The reason for using an alias folder under the one domain is so they can share a certificate.
Sep
2
asked Password protect an alias virtual directory
Sep
2
awarded  Autobiographer