Hello,
I've been reading through the documentation, and I've found two things
that jump out at me:
#1 - Behavior_configuration.html claims that "Auth Basic, Basic" allows
both schemes. It means to say "Auth Basic, Digest", right?
#2 - I'm having difficulty understanding the regex power of the new
Request behavior. The documentation is throwing me as to what is
actually passed in when using a regex. For instance, my server config
contains these lines:
+-----------------------------------------------------------------------
| Directory / {
| Handler common
| }
|
| Request "^/projects/$" {
| Handler redir {
| Rewrite "^/projects/$" "/index.php?pagename=projects"
| }
| }
|
| Request "^/projects/[^/]+/$" {
| Handler redir {
| Rewrite "^/projects/([^/]+)/$" "/index.php?pagename=$1"
| }
| }
+---
The directory structure for that actually exists, however, because I
want Wordpress to handle the pages, and I want to store the files for
the projects in the appropriate directories. So:
+-----------------------------------------------------------------------
| /projects/ => redirects to projects page
| /projects/example/ => redirects to example page
| /projects/example/file.txt => returns file.txt
+---
What I'm getting are HTTP 500 error codes, unless I request, in this
example, file.txt, which is properly returned. If I didn't screw up the
regex syntax, what have I missed? Thanks for any help with this.
Sincerely,
Kurt McKee
_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee