PDA

View Full Version : mod_rewrite and Lyceum



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

manifold
08-18-2006, 01:20 AM
Has anyone got an answer for this...? I'm trying to install Article Dashboard on a site at Blue Host and the rewrite is not directing properly.

Thanks!

manifold
04-04-2007, 03:57 AM
bump. :)

I have never gotten this to work on blue host, could someone please explain to me how they got it to work?