[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] .htaccess - RewriteRule, ErrorDocument etc.. doesn't work.
- Subject: [cobalt-users] .htaccess - RewriteRule, ErrorDocument etc.. doesn't work.
- From: Ryan Verner <xfesty@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon Oct 7 06:58:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Apologies if this has come twice - I sent a forwarded email about a hour ago, it doesn't appear to have come through.
I sent this to the cobalt-developers list, but didn't get any response. Its very important that I get this resolved ASAP.
See the (edited) forward below:
> I've developed a MySQL+PHP based CMS which uses a .htaccess file to change various options in Apache - I've chosen to do this because there's many things I don't want globally, but only to apply to the site. This functions perfectly on two boxes in my home running apache (FreeBSD 4.6 & Linux 2.4).
>
> The cobalt XTR however, won't have anything to do with it.
>
> There's a bunch of RewriteRule's, ErrorDocument's, AddType's, and <IfModule mod_php4.c> stuff in the file. However, I get a "500 Internal Server Error" when this .htaccess file is in place.
>
> I've tried adding a <Directory> tag for the directory in concern into the Cobalt XTR's access.conf, with "AllowOverride All" in it, but this doesn't appear to have any effect whatsoever.
>
> /var/log/httpd/error on the cobalt used to show "/home/sites/site13/web/.htaccess: RewriteRule not allowed here". Now it doesn't show this error, the page displays properly, but my .htaccess file appears to be ignored completely.
>
> I'm completely stuffed on how to solve this one, AllowOverride all should have worked...
>
> Any ideas?
I've seen this problem mentioned on a whole bunch of threads on this mailing list, but with no real answers.
Please help :)
xf
- --
ICQ: 76626240
PH: +61 415 297 303
IRC: xfesty / irc.oublinet.net
EQ: Mummer (Bard), Tholuxe Paells
propaganda as education, no rising above your station.
a totalitarian state, all the victims that can hardly wait.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9oZNaRcxk39PM6wcRAj+1AJ9N7lImQlTa5wdA3IvtwmiQ+Q+iVACfWVev
bp+vwIVVdoL+83jUoJIO04M=
=tZmt
-----END PGP SIGNATURE-----