I have python web2py installed on lighttpd server,
but i want to add wordpress for blogging,
the problem is i want wordpress to be on site.com/blog not as subdomain,
How can i manage lighttpd configuration to run!
url.rewrite-once = (
"^/$" => "/ad",
"^(/.+?/static/.+)$" => "/applications$1",
"(^|/.*)$" => "/fcgihandler.fcgi$1", <-- tried to exclude
"/blog$" => "$0", <-- tried to exclude /blog from rewriting
)
also added fastcgi support for php-cgi
fastcgi.server = (
".fcgi" => ("localhost" => (
"check-local" => "disable",
"min-procs" => "1",
"max-procs" => "2",
"socket" => "/tmp/web2py.sock"
)),
".php" => ("localhost" => (
"socket" => "/tmp/php.socket"
))
)
Couldn’t do it though,
any advices please !
Try this rewrite:
Thanks guys in fact your comments helped me a lot to figure out the issue,
it worked for me as follow:
hope it helps someone later !
Thanks