Gallery version (not just "2"): gallery-2.1.1a-full
PHP version (e.g. 4.3.11): php-5.0.4-10
PHPInfo Link (see FAQ): http://83.170.73.89/phpinfo.php
Webserver (e.g. Apache 1.3.33): Apache/2.0.54 (Fedora)
Database (e.g. MySql 4.0.11): mysql-4.1.11-2
Activated toolkits (e.g. NetPbm, GD): ?
Operating system (e.g. Linux): Linux Redhat Fedora
Browser (e.g. Firefox 1.0): Firefox 1.5.0.5
Hi all,
I am totally stumped. I've just rented a new dedicated server which came with Apache+PHP installed with a whole bunch of modules and all - so perhaps there's something they've done that I missing. Anyway, herewith the problem...
No matter what file in /gallery2/ directory I try to access via my web browser, I get a 403. I've created a new directory "/test/" in the same directory that "/gallery2/" sits in and have created a test file there simply called "test.html". The directories and files have IDENTICAL file permissions. I've even put a static test.html in the "gallery2" directory and get 403 error for that as well. Some information bellow, any clues would be very much appreciated!
apache error log:
[Mon Aug 07 15:50:42 2006] [error] [client 82.68.73.238] (13)Permission denied: access to /gallery2/install/index.php denied
apache access log:
82.68.73.238 - - [07/Aug/2006:15:50:42 +0100] "GET /gallery2/install/index.php HTTP/1.1" 403 425 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.5) Gecko/20060719 Firefox/1.5.0.5"
directories and permissions:
[root@server30474 html]# pwd
/var/www/html
[root@server30474 html]# ls -al
total 56
drwxr-xr-x 4 root root 4096 Aug 7 15:32 .
drwxr-xr-x 8 root root 4096 Aug 1 13:00 ..
drwxr-xr-x 10 apache apache 4096 Aug 7 15:49 gallery2
-rw-r--r-- 1 root root 170 Aug 7 15:32 phpinfo.php
drwxr-xr-x 2 apache apache 4096 Aug 7 15:22 test
-rw-r--r-- 1 apache apache 5 Aug 7 15:11 test.html
-rw-r--r-- 1 apache apache 28 Aug 7 15:13 test.php
[root@server30474 html]# cd gallery2/
[root@server30474 gallery2]# ls -al
total 324
drwxr-xr-x 10 apache apache 4096 Aug 7 15:49 .
drwxr-xr-x 4 root root 4096 Aug 7 15:32 ..
drwxr-xr-x 2 root root 4096 Aug 7 15:26 blank
-rwxr-xr-x 1 apache apache 1966 Jan 24 2006 bootstrap.inc
-rwxr-xr-x 1 apache apache 2756 Mar 16 08:57 embed.php
drwxrwxrwx 2 apache apache 4096 Aug 7 15:49 g2data
drwxr-xr-x 2 apache apache 4096 Aug 7 15:04 images
-rwxr-xr-x 1 apache apache 1940 Mar 6 05:33 index.php
-rwxr-xr-x 1 apache apache 7316 Jan 30 2006 init.inc
drwxr-xr-x 8 apache apache 4096 Aug 7 15:04 install
drwxr-xr-x 11 apache apache 4096 Aug 7 15:04 lib
-rwxr-xr-x 1 apache apache 18011 Jun 4 2005 LICENSE
-rwxr-xr-x 1 apache apache 20663 Feb 23 09:41 main.php
-rwxr-xr-x 1 apache apache 55891 Apr 16 21:26 MANIFEST
drwxr-xr-x 59 apache apache 4096 Aug 7 15:04 modules
-rwxr-xr-x 1 apache apache 73808 Apr 13 18:16 README.html
-rwxr-xr-x 1 apache apache 12 Aug 7 15:19 test.html
drwxr-xr-x 9 apache apache 4096 Aug 7 15:05 themes
drwxr-xr-x 8 apache apache 4096 Aug 7 15:05 upgrade
[root@server30474 gallery2]# cd ..
[root@server30474 html]# cd test
[root@server30474 test]# ls -al
total 24
drwxr-xr-x 2 apache apache 4096 Aug 7 15:22 .
drwxr-xr-x 4 root root 4096 Aug 7 15:32 ..
-rw-r--r-- 1 apache apache 12 Aug 7 15:22 test.html
mods (from phpinfo):
core prefork http_core mod_so mod_access mod_auth mod_auth_anon mod_auth_dbm mod_auth_digest util_ldap mod_auth_ldap mod_include mod_log_config mod_logio mod_env mod_mime_magic mod_cern_meta mod_expires mod_deflate mod_headers mod_usertrack mod_setenvif mod_mime mod_dav mod_status mod_autoindex mod_asis mod_info mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_proxy proxy_ftp proxy_http proxy_connect mod_cache mod_suexec mod_disk_cache mod_file_cache mod_mem_cache mod_cgi mod_perl mod_php5 mod_python mod_ssl