![]() |
|
|
| Subject:
Convert WordPress (Multi-User) .htaccess file to lighttpd conf syntax
Category: Computers > Programming Asked by: aaugustj-ga List Price: $50.00 |
Posted:
13 Sep 2006 21:26 PDT
Expires: 18 Sep 2006 14:41 PDT Question ID: 765146 |
Convert WordPress (Multi-User) .htaccess file to lighttpd conf syntax.
Here's the .htaccess:
RewriteEngine On
RewriteBase BASE/
# Rewrite www.domain.com to domain.com
RewriteCond %{HTTP_HOST} ^www\.(.*)
RewriteRule ^(.*) http://%1/$1 [R,L]
#uploaded files
RewriteRule ^(.*)?/?files/(.*) wp-content/blogs.php?file=$2 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
To get the reward, submit syntax that works for lighttpd and applies
the above rules correctly. |
|
| There is no answer at this time. |
|
| There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
| Search Google Answers for |
| Google Home - Answers FAQ - Terms of Service - Privacy Policy |