Index: [Article Count Order] [Thread]

Date:  Thu, 19 Apr 2007 08:21:04 -0700
From:  "Ken Marcus - Precision Web Hosting, Inc." <kenmarcus (at mark) precisionweb.net>
Subject:  [coba-e:09627] Re: On htaccess problems
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <04cf01c78296$59162fc0$6700a8c0@OfficeKen>
References:  <005e01c78271$f9e68d20$0c01a8c0 (at mark) athlon64> <24CDA102-901C-4792-AF65-8A366F276A15 (at mark) leonard-payne.com>
X-Mail-Count: 09627

>
> I'm having a bit of a problem in getting something working here.
>
> The provider of my software says that this is a .htaccess problem
>
> I know that some directives are not allowable on BQ machines or RAQs.
>
> This is what they need:
>
>
> --
> Options +FollowSymlinks
> DirectoryIndex index.html index.htm index.php
>
> <IfModule mod_rewrite.c>
> RewriteEngine On
> RewriteBase /
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_URI} !/*/wp-admin*
> RewriteCond %{REQUEST_URI} !/*/wp-login.php
> RewriteRule . /index.php [L]
> RewriteRule ^(.*)/wp-admin/(.*)$ /wp-admin/index.php?subdomain=$1 [R,L]
> RewriteRule ^(.*)/wp-login.php$ /wp-login.php?subdomain=$1 [R,L]
> </IfModule>
>
> ---
>
>
> Is this allowed?
>
> If not, How can I achieve this?
>
> Thanks and regards
>
> Revd leonard


Try adding this to the  /etc/httpd/conf/vhosts/siteXX.include     file for 
that site:

<Directory  /home/.sites/XX/siteXXX/web>
    AllowOverride All
    Options All
    Options -FollowSymLinks +SymLinksIfOwnerMatch
</Directory>


Then
/etc/rc.d/init.d/httpd restart

----
Ken Marcus
Precision Web Hosting, Inc.
http://www.precisionweb.net