.htaccess + config.php write problems

mjnorman

Joined: 2005-02-27
Posts: 2
Posted: Sun, 2005-02-27 20:56

I get the error messages saying that .htaccess and config.php need to be chmod to 777( i know what this means)
Here lies the problem(s)
My host only gives write promisions to folders, and I dont want to risk hacking by making the whole gallery folder readable to everyone.
So... Is there a way I can put config.php and .htaccess in to a folder in still get it to work.
Please Help...
----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery version: 1.5
Apache version: ?
PHP version : 4.3.3
Graphics Toolkit: netPBM
Operating system: Windows Nt

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2005-02-27 21:04

No, there isn't. Ask your host to change ownership of those files to the user that apache runs as, that should also do it

 
mjnorman

Joined: 2005-02-27
Posts: 2
Posted: Sun, 2005-02-27 22:02

My host is not able to change the ownership of a single file
but they are able to change the ownership of a folder
will changing the ownership of the "gallery" folder fix the problem?

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2005-02-27 22:24

That does, to me at least, sound very strange. Changing the ownership of the Gallery files will work, but you'll run into problems as soon as you want to upgrade later on, since you won't be able to overwrite the files.

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Mon, 2005-02-28 02:32

There is not reasonable reason that any host couldn't change the ownership or permissions of a single file vs. a folder. Find another host :)