[BlueOnyx:08545] Re: apache rewrite rules

Richard Morgan richard at morgan-web.co.uk
Thu Sep 22 08:00:39 -05 2011


Hi Maurice

There are some options in the GUI (from memory I can't remember where 
exactly) which allow or disallow certain .htaccess features on either a site 
or a server level.  Have a sniff around to see they're all set correctly as 
they're not in BQ.

HTH, Richard

----- Original Message ----- 
From: "Maurice de Laat" <mdlaat at muisnetwerken.nl>
To: "BlueOnyx General Mailing List" <blueonyx at mail.blueonyx.it>
Sent: Thursday, September 22, 2011 1:43 PM
Subject: [BlueOnyx:08544] apache rewrite rules


> Hi,
>
> I am preparing a migration from bluequartz to blueonyx (5107R).
>
> I have a backup from the raqbackup script and restored it to a test
> server. I now see a (for me) weird thign with rewriterules.
>
> P.e. there is a wordpress site in a /web/blog/ directory.
> Wordpress placed a .htaccess in the /web directory. Among other things,
> this made sure that a user surfing to http://www.domainname.com/ was
> silently being redirected to wordpress homepage
> http://www.domainname.com/blog/index.php
>
> The .htaccess looks like this:
> ErrorDocument 404 /blog/404-not-found
> <IfModule mod_rewrite.c>
> RewriteEngine On
> RewriteBase /blog/
> RewriteRule ^index\.php$ - [L]
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteRule . /blog/index.php [L]
> </IfModule>
>
> However, if I browse to http://www.domainname.com/ I just see the
> directory listing of /web instead of being redirected to /blog/index.php
>
> The .htaccess is being read by apache, because if I add a invalid command,
> apache gives an error when surfing to http://www.domainname.com/
>
> Why does this rewriterule works on the old bluequartz, but not on the new
> blueonyx?
>
> Thanks
> -- 
> Maurice de Laat
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx 




More information about the Blueonyx mailing list