[BlueOnyx:06831] Re: HTTP Redirects

Adam Lepp a at netqb.com
Wed Mar 30 15:30:43 -05 2011


I've been having the same problem, and am unable to solve despite various
attempts.

>From error log:
[Wed Mar 30 16:07:47 2011] [alert] [client XX.XX.XX.XX]
/home/.sites/31/site36/web/.htaccess: Redirect not allowed here

.htaccess file:
redirect 301 / http://www.domain.com/

Can someone provide me with the appropriate .htaccess content, as well as
any other necessitated steps?

Thanks!
--Adam L.


-----Original Message-----
From: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it] On
Behalf Of Robert Fitzpatrick
Sent: Monday, August 24, 2009 6:38 PM
To: charlesbowman at wknet.co.uk; BlueOnyx General Mailing List
Subject: [BlueOnyx:02184] Re: HTTP Redirects

On Sun, 2009-08-23 at 20:01 +0100, Charles Bowman wrote:
> A few questions:
> 
> 1. What does the log say? (/var/log/httpd/error_log)

[Mon Aug 24 18:26:53 2009] [alert] [client
72.64.244.51] /home/.sites/120/site35/web/.htaccess: Invalid command
'\xef\xbb\xbfRedirect', perhaps misspelled or defined by a module not
included in the server configuration

> 2. Is HTACCESS enabled for the site in question: Log in to the web GUI as
> admin: Network Services --> Web

I don't see an HTACCESS option, but have enabled FileInfo after finding
on the apache site this was necessary to override using .htaccess

> 3. Is the .HTACCESS file in the root of the public website.

Yes - /home/.sites/120/site35/web/.htaccess

> 4. Permissions of the HTACCESS file or the destination file - make sure
not
> root or admin - should be the superuser of the site.

Owner is site administrator of the vsite. Group is site35 (644).

> 5. Is the destination file dynamic?

No, not dynamic, the destination file is plain HTML code...in this
failing redirect...

Redirect 301 /water_removal_test.html
http://www.sm24hr.com/water_removal.htm

water_removal_test.html does not exist on the hard drive and the
water_removal.htm, which is in the same vsite is...

-rw-r--r-- 1 debanks site35 13K Aug 20 14:20 water_removal.htm

Thanks for any help!

-- 
Robert

see what I'm up to on my Live Journal tech blog at
--> http://saintcolumbus.livejournal.com

_______________________________________________
Blueonyx mailing list
Blueonyx at blueonyx.it
http://www.blueonyx.it/mailman/listinfo/blueonyx




More information about the Blueonyx mailing list