drwool
08-14-2006, 02:11 PM
I'm installing Lyceum (a multiblog version of Wordpress). It relies on mod_rewrite being available. I have the impression from other comments here that mod_rewrite is possible at Bluehost, but the rewrite rules Lyceum created in its .htaccess file don't seem to be working. Any explanation?
Here's the .htaccess file the Lyceum installation created:
# BEGIN Lyceum
RewriteEngine On
RewriteBase /blog/lyceum
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^profile/? wp-admin/profile.php?%{QUERY_STRING} [L]
RewriteRule ^login/? wp-login.php?%{QUERY_STRING} [L]
RewriteRule ^register/? wp-register.php?%{QUERY_STRING} [L]
# RewriteRule ^([^/]+)/wp-comments-post(.*).php wp-comments-post$2.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/admin/?$ wp-admin/index.php?b=$1& [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/admin/?([^/]+php)\??(.*) wp-admin/$2?b=$1&%{QUERY_STRING} [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
### I'm pretty sure we'll never need these -jjb ###
# RewriteCond %{REQUEST_URI} !^(.+)/admin(.*)
# RewriteCond %{REQUEST_URI} !^(.+)/index.php(.*)
RewriteRule ^([^/]+)/? /blog/lyceum/index.php?b=$1 [L,QSA]
# END Lyceum
Here's the .htaccess file the Lyceum installation created:
# BEGIN Lyceum
RewriteEngine On
RewriteBase /blog/lyceum
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^profile/? wp-admin/profile.php?%{QUERY_STRING} [L]
RewriteRule ^login/? wp-login.php?%{QUERY_STRING} [L]
RewriteRule ^register/? wp-register.php?%{QUERY_STRING} [L]
# RewriteRule ^([^/]+)/wp-comments-post(.*).php wp-comments-post$2.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/admin/?$ wp-admin/index.php?b=$1& [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/admin/?([^/]+php)\??(.*) wp-admin/$2?b=$1&%{QUERY_STRING} [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
### I'm pretty sure we'll never need these -jjb ###
# RewriteCond %{REQUEST_URI} !^(.+)/admin(.*)
# RewriteCond %{REQUEST_URI} !^(.+)/index.php(.*)
RewriteRule ^([^/]+)/? /blog/lyceum/index.php?b=$1 [L,QSA]
# END Lyceum