Hey folks,
I figured I'd ask here (instead of the wpmu fora) so that I get architecture relevant responses!
Pass 3, OC10 package (no ssh etc just cpanel) WPMU 2.3.3, installed specifying subdomains...
I asked the help desk folks to enable wildcard DNS for the domain in question (benefact.org). This domain is also setup to use Google App's (mail.benefact.org cal.benefact.org etc)
I know that I must add .htaccess rules to keep WPMU from taking over the non-WPMU domains (like the gApp subdomains and forum.benefact.org). The consensus appears to be placing the follwing .htaccess rules in the domain root, AND the second set of rules in the protected subdomain directory.
benefact.org/.htaccess
Quote:
RewriteEngine On
RewriteBase /
# Rewrite www.domain.com to domain.com
RewriteCond %{HTTP_HOST} ^www.(.*)
RewriteRule ^(.*) http://%1/$1 [R,L]
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
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]
|
forum.benefact.org/.htaccess
Quote:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} forum.benefact.org
RewriteCond %{REQUEST_URI} !forum/
RewriteRule ^(.*)$ forum/$1 [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]
|
Is this what I should be doing here at Surpass?
I'm currently locked out of WPMU admin as it redirects me to a test blog subdomain (that doesn't work! seperate issue!) I'll clear cache and try again soon (once I've logged out of all my windows!)...
Question 2:
If I can create a blog in wpmu admin and the user gets the new blog email (with the link to benefact.org/wp-login.php) but attempting to log in creates a 500, does that mean that the wildcard DNS setup and Apache httpd.conf set up is incomplete? My perception is that this is a trivial admin task but I think my Google App questions may have complicated things. Anyone else with experience to share?
Thanks