[buddypress-trac] [BuddyPress] #1078: Incorrect activation link in activate e-mail
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Sun Sep 27 15:53:27 UTC 2009
#1078: Incorrect activation link in activate e-mail
----------------------------+-----------------------------------------------
Reporter: jdaviescoates | Owner:
Type: defect | Status: closed
Priority: critical | Milestone: 1.1
Resolution: invalid | Keywords:
----------------------------+-----------------------------------------------
Comment(by jdaviescoates):
Replying to [comment:9 jdaviescoates]:
> I wonder, could my problem have something to do with the fact I'm on
lighttpd rather than apache? Something to do with rewrite rules?
Yes, this was it.
I had followed the instructions here:
[http://blog.nix.is/lighttpd-rewrite-rules-for-wordpress]
This mean that my rewrite rules we contain in /etc/lighttpd/wpmu-
rewrite.conf
I did have:
{{{
server.error-handler-404 = "/index.php"
url.rewrite-once = (
"^/(.*/)?files/$" => "/index.php",
"^/(.*/)?files/(.*)" => "/wp-content/blogs.php?file=$2",
"^(/wp-admin/.*)" => "$1",
"^/([_0-9a-zA-Z-]+/)?(wp-.*)" => "/$2",
"^/([_0-9a-zA-Z-]+/)?(.*\.php)$" => "/$2",
)
}}}
Then, going back to the original instructions I followed the link to their
source:
[http://mu.wordpress.org/forums/topic/3901]
Where I found:
{{{
url.rewrite-once = (
"^/(.*)?/?files/$" => "index.php",
"^/(.*)?/?files/(.*)" => "wp-content/blogs.php?file=$2",
"^/(wp-.*)$" => "$1",
"^/([_0-9a-zA-Z-]+/)?(wp-.*)" => "$2",
"^/([_0-9a-zA-Z-]+/)?(.*\.php)$" => "$2",
"(\?.*)$" => "index.php$1",
"." => "index.php"
)
}}}
I edited my wpmu-rewrite.conf file with two lines I didn't have and now
THIS IS MY WORKING CODE:
{{{
server.error-handler-404 = "/index.php"
url.rewrite-once = (
"^/(.*/)?files/$" => "/index.php",
"^/(.*/)?files/(.*)" => "/wp-content/blogs.php?file=$2",
"^(/wp-admin/.*)" => "$1",
"^/(wp-.*)$" => "$1",
"^/([_0-9a-zA-Z-]+/)?(wp-.*)" => "/$2",
"^/([_0-9a-zA-Z-]+/)?(.*\.php)$" => "/$2",
"(\?.*)$" => "index.php$1",
"." => "index.php"
)
}}}
--
Ticket URL: <http://trac.buddypress.org/ticket/1078#comment:10>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list