On Feb 11, 3:55 pm, Copycat <[email protected]> wrote:
> Problem appeared again. When I loading any pages from remote computer
> I get 404 error. Everything is normal if i loaded pages localy.
> Part of lighttpd.conf:
>
> $HTTP["host"] == "194.143.145.241" {
> server.document-root = "/var/www/habari"
> dir-listing.activate = "disable"
> url.rewrite-once = (
> "^/(?!scripts/|3rdparty/|system/|doc/|user/(?:themes/|files/|
> plugins/|locales/|sites/))[^?]*(\?(.*))?"
> )
>
On the wiki's sample page, the host configuration for Habari looks
like this:
$HTTP["host"] == "www.heyilikethis.com" {
server.document-root = "/home/alex/www/blog"
dir-listing.activate = "disable"
url.rewrite-once = (
"^/(?!scripts/|3rdparty/|system/|doc/|user/(?:themes/|files/|
plugins/|locales/|sites/))[^?]*(\?(.*))?" => "/index.php/$1"
)
}
Note the => "/index.php/$1" on the end of the last line. Is your
lighttpd.conf missing this, or did it get left off when you were
showing your conf?
I visited the site. Only your home page actually shows up. Everything
else goes to a 404 page.
Rick
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/habari-dev