"403 Forbidden..." when trying to use Configuratio
Outcast-Ranch
Joined: 2004-03-08
Posts: 4 |
Posted: Mon, 2004-03-08 23:39 |
I'm a brand new user and Gallery is up and running on my site - but without any configuration by me. When I try to access **http://www.firchow.com/gallery/setup/index.php** i get the following error: Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I've tried to change permissions for this file and folder but beyond that I'm too novice to figure out what's going on. Here's some of the info ---- Gallery version: 1.4.2 Apache version: 1.3.29 (Unix) PHP version (don't just say PHP 4, please): 4.3.4 Graphics Toolkit: Operating system: Linux Web browser/version (if applicable): Additionally: I installed using Fantastico And here's the error from my log: [error] [client 64.70.24.110] File does not exist: |
|
Posts: 13451
Outcast-Ranch, you need to chmod the setup/ dir 755, and .htaccess and config.php 644 before entering setup.
Posts: 4
Okay, chmods are set as you suggested, now I get this:
****************************
Warning: Unknown(./php_value_ok.php): failed to open stream: Permission denied in Unknown on line 0
Warning: (null)(): Failed opening './php_value_ok.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0
****************************
God I hate being a country boy sometimes...... If you need somethin' doctored or castrated or docked or herded I'm your guy. If you need 'puter stuff fixed, best call one of them smart 'uns.
If this stuff is in a FAQ, please tell me. I've looked but have not found what I need.
Thanks for your help.
Outcast
Posts: 8194
Make sure that the files inside the setup/ directory are also chmodded 0644..
Posts: 4
.htaccess in /setup is 0644. There is no config.php in there.
Will I perhaps be better off uninstalling, reinstalling, then chmoding these files? I don't think I've changed anything other than what you have suggested, but who knows.....?
Just have a feeling it's something simple that I'm missing.
Outcast
Posts: 8194
No, all the files in setup/ need to be 0644
Posts: 4
Well I'll be dadgummed, Andrew!
That worked...... Thanks so much for guiding me through this. I owe you a beer.
Posts: 8194
No problem
Posts: 3
Erm, I know I'm posting awfully late, but. . . I did all of this stuff (I, too, installed off of Fantastico), but uh. . . I still get forbidden errors.
Posts: 8194
The setup/ directory is chmodded 0755 ? Try deleting the .htaccess file in the setup/ directory if so.
Posts: 3
Did as such. Still receive the forbidden error. :\
Posts: 8194
Check the Apache error log. I'm sure this is chmod/permissions related, and that will probably confirm the suspicions and give a little more detail.
Posts: 2
I get the same error when trying to upgrade to 1.4.2 from 1.3.4-pl1.
I set the old version to configure mode running sh configure.sh. I am able to run the configure wizard fine the first time, it reports it was run succesfully. The wizard says to set back to secure mode, so I run sh secure.sh. I get 403 errors from this point on and am not able to get back into configure mode again. My site information is below, although I reverted back to a save of the orginal 1.3.4 setup.
----
Gallery URL (optional but very useful): www.myzinnia.com/gallery
Gallery version: 1.4.2 (upgrading from 1.3.4-pl1)
Apache version: unknown
PHP version (don't just say PHP 4, please): 4.3.4
Operating system: openBSD
Posts: 8194
Erm, yes, this is intended. If gallery is in secure mode, you're not supposed to be able to get to the configuration wizard. Anyway, the site looks fine now, eh?
Posts: 2
I finally figured out my problem. I deleted the .htaccess in the setup directory as listed in some other threads and everything went fine.
Posts: 8194
This is/was FAQ Gallery:c.1
Posts: 18
I am having a similar problem... whenever I try to access any of my files on my site, I receive this error:
HTTP 403 - The Default index.html file could not be found
The page you are looking for might have been removed,
had its name changed, or is temporarily unavailable.
Which is dumb, cause it's there... Anyway, I have changed all the Directory things in httpd.conf to AllowOverride Options FileInfo, but apparently this isn't helping.
I'd delete .htaccess from the setup/ folder on my site, but... it doesn't show up..... what the hell?
*edit* my setup/ folder is chmod 755 and the files in it 666
Posts: 13451
musicobsession, does it work if you add /index.php to your Gallery url?
Posts: 18
http://www.allaboutthemusic.net/gallery/index.php shows up, as you can see, but anything in the setup/ folder does not...
http://www.allaboutthemusic.net/gallery/setup/index.php
it doesn't make sense why it's telling me the default index.html file isn't there, when I'm typing in index.php... It's probably that damn .htaccess, but, lke I said, it's not showing up in my FTP for me to delete it out of there.... *boggled*