On no! AllowOverride FileInfo Options

JohnInteractive

Joined: 2008-01-30
Posts: 9
Posted: Tue, 2009-07-07 00:09

I'm sure someone has had this error before:

Quote:
Oh no! Your server needs a configuration change in order for you to hide photos! Ask your server administrator to set AllowOverride FileInfo Options to fix this.

I tried putting this into the .htaccess file in the home directory of Gallery 3, just like the FAQ said:

<Location "/gallery3/">
AllowOverride +Options
</Location>
(don't worry, I replaced /gallery3/ with the path to Gallery3 directory)

When I do that, I get a 500 error. And for some reason, my server only logs CGI errors and not server errors, so I can't tell what's going on (I don't think it would say much except that I got a 500 error, and the user agent, that's it).

Anybody know what I'm doing wrong, and how I can fix it?

Thanks.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2009-07-07 01:32

You can't make that change in .htaccess. Only in Apache's config file, httpd.conf. You'll need to be root or an admin on the server with appropriate permissions to make that change.

If you're not the server admin, you'll need to talk to them about making that change.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
JohnInteractive

Joined: 2008-01-30
Posts: 9
Posted: Tue, 2009-07-07 17:23

Thanks, I guess I'll just have to downgrade to Gallery 2.

 
zdiva

Joined: 2007-07-18
Posts: 14
Posted: Tue, 2009-07-07 17:52
JohnInteractive wrote:
I'm sure someone has had this error before:

Quote:
Oh no! Your server needs a configuration change in order for you to hide photos! Ask your server administrator to set AllowOverride FileInfo Options to fix this.

I have this message as well when trying to change the album permissions. I run test G3B1 site on localhost running Vista and IIS 7 with Fastcgi not on Apache. Have no idea what the message means nor how to fix it. Looked all over the internet for a solution but whatever little suggestions I found are for the Apache server only.

Also, it scares me to no end when a message says "ask your server administrator"! Lot of us are on shared hosts and cannot change ANYTHING on the server side nor "the server administrators" are willing to accommodate one-off requests. Have you tried e.g. with GoDaddy? Good luck!

edited to add: for now I'm sticikng with the G2 on the production site until G3 is mature enough to make a switch.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2009-07-07 18:06

It's an Apache only thing. You won't be able to fix it on IIS, Lighttpd, Nginx, etc.

G3 is not supported on Windows let alone IIS. If it works, it works, but the devs don't plan on putting any extra effort into making it work under anything other than Linux and Apache with MySQL unless someone else want to jump on board and take those reins and do that work.

For GoDaddy, just don't use Windows period.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
zdiva

Joined: 2007-07-18
Posts: 14
Posted: Wed, 2009-07-08 21:21
nivekiam wrote:
It's an Apache only thing. You won't be able to fix it on IIS, Lighttpd, Nginx, etc.

G3 is not supported on Windows let alone IIS. If it works, it works, but the devs don't plan on putting any extra effort into making it work under anything other than Linux and Apache with MySQL unless someone else want to jump on board and take those reins and do that work.

For GoDaddy, just don't use Windows period.

Well, I do understand that G3 is supported only on Linux & Apache. I do all my testing on my home computer with Windows (Vista) & IIS 7, and for different reasons, I'm not ready to jump into Linux world. So, I have to work with what I've got. G2 works very well on IIS, G3 in abt. 95%.

On GoDaddy where I have my production site, I am on Linux & Apache but that does not mean I can change server settings at my will.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-07-08 21:30

If you're running Apache on your production server, why not Apache on Windows for your testing? XAMMP is easy to install and configure:
http://www.apachefriends.org/en/xampp.html

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
zdiva

Joined: 2007-07-18
Posts: 14
Posted: Fri, 2009-07-10 17:55
nivekiam wrote:
If you're running Apache on your production server, why not Apache on Windows for your testing? XAMMP is easy to install and configure:
http://www.apachefriends.org/en/xampp.html

Why? Because I need asp.net. And while IIS runs both PHP/MySQL and ASP.NET programmes, Apache does not run ASP.NET.

 
shinsui
shinsui's picture

Joined: 2007-08-11
Posts: 31
Posted: Mon, 2009-07-13 13:46
zdiva wrote:
nivekiam wrote:
If you're running Apache on your production server, why not Apache on Windows for your testing? XAMMP is easy to install and configure:
http://www.apachefriends.org/en/xampp.html

Why? Because I need asp.net. And while IIS runs both PHP/MySQL and ASP.NET programmes, Apache does not run ASP.NET.

Luckely it does not. Why luckely? The main reason is that windows-only material is not a good thing on the internet. Microsoft still thinks it owns the net. And I´m sure you dont NEED asp.net as there are surely alternatives for its functions.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2009-07-13 16:01

Please don't start any flame wars, keep this thread on topic or I'll mark it read-only.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
lysp

Joined: 2006-03-16
Posts: 25
Posted: Tue, 2009-07-14 04:22

Personally i run both IIS and apache on my home dev system, with apache on a non-standard port.

 
gizmo23

Joined: 2009-08-20
Posts: 1
Posted: Thu, 2009-08-20 11:23

I solved this problem (as well as my photo upload problem) by putting in a valid upload_tmp_dir in the php.ini.
Perhaps this can help somebody else.