.htaccess, AllowOverride, I did configure it ok?

arjansikkema

Joined: 2003-07-24
Posts: 16
Posted: Wed, 2003-08-06 20:07

Hi,

It's probably nothing and I'm probably missing something here, but:

When I run the config (after extracting gallery and running configure.bat), the only thing I can't get right is the warning about the .htaccess and AllowOverride setting...

It keeps saying that I need to set the "AllowOverride" setting to "Options FileInfo".

But the truth is; I DID change it. I've even set everything from the directory to "Options All Multiviews" and "AllowOverride All".

I guess that's as open as I can configure it?

It's really bugging me, although I know it's just a warning... I just want to get it right and really want to find out what's going wrong here...

Any help will be appreciated!
Thanks in advance!!!

Best Regards,
Arjan Sikkema

---
Working with:
Windows XP Home
Apache/2.0.47
PHP/4.3.2
Gallery v1.3.4
NetPBM 1.1
MSIE 6.0

 
lacrossegal
lacrossegal's picture

Joined: 2003-07-28
Posts: 18
Posted: Wed, 2003-08-06 20:16

You may want to try upgrading your gallery to v1.3.5 from this page:
http://jpmullan.com/galleryupdates/

This is a problem in v1.3.4 that has been fixed...hope that helps!

Jen

 
arjansikkema

Joined: 2003-07-24
Posts: 16
Posted: Thu, 2003-08-07 14:05

Jen,

Thanks for your reply. But I'm wondering:

The official release is 1.3.4?
However, there IS an update to 1.3.5?

How is this possible?
Who wrote this update?
When will it be official?
How can it not be official?

I'm a bit confused...

Regards,
Arjan

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2003-08-07 15:34

1.3.4-pl1 is the stable version of Gallery. However, 1.3.5 is our CVS version, which we consider pretty stable -- you may want to try that one.

 
arjansikkema

Joined: 2003-07-24
Posts: 16
Posted: Thu, 2003-08-07 19:14

Andrew,

Thanks! I will try. Hope the .htaccess problem is solved there...
Best Regards and keep up the good work!

Arjan

 
Aziraphale
Aziraphale's picture

Joined: 2002-12-09
Posts: 8
Posted: Sat, 2003-08-09 11:48

I had a similar problem and upgrading to 1.3.5 fixed the problem on the configuration page.

Although it didnt fix the problem that I thought it was causing.

I am not able to upload large images. I have not found the dividing line, but I know that I can upload an 8k image but an 800k image wont upload.

The specific error message says:

Request Entity Too Large

The Requested Resource:
/gallery/add_photo.php
does not allow request data with POST requests, or the amount of data
provided in the request exceeds the capacity limit.

It seems that there would be some easy setting somewhere so that I could increase the capacity but I have found nothing in httpd.conf or on the apache website documentation.

Any help is greatly appreciated.

 
arjansikkema

Joined: 2003-07-24
Posts: 16
Posted: Sat, 2003-08-09 11:59

Hi,

I think you should change something in the PHP.INI file...

There is a section like

---quote---
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =

; Maximum allowed size for uploaded files.
upload_max_filesize = 10M
---unquote---

and there is also a setting like:

---quote---
; Maximum size of POST data that PHP will accept.
post_max_size = 10M
---unquote---

I think you should play with these settings.
As you can see, I set them both to 10 Mb.

I'm not sure if you need the second, but I'm pretty sure you need the first setting.

I am just playing with my webserver, but if you want it in a life situation, I suggest you figure out exactly what these settings mean before altering them... (so; I'm not really sure what they mean, I just set them to 10M, because my server is still in test phase)

Good luck!
Best regards!
Arjan Sikkema

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sat, 2003-08-09 12:36

Also check out FAQ c.6