need help with apache

need help with apache

am 01.02.2008 13:31:02 von Shahin

Hi I am newbie,

I did setup my first Debian with apache+mysql-server and PHP, and
every thing working as I want, when type the ip address of my server
and point it to a map in /var/www I can open my test web site.

here is the problem,

I did connect to my server via ssh and then try to down load 2 files
from a site with wget

wget http://heanet.dl.sourceforge.net/sourceforge/typo3/dummy-4.1 .2.tar.gz

and secound one:

wget http://heanet.dl.sourceforge.net/sourceforge/typo3/dummy-3.6 .2.tar.gz

after download
-rw-r--r-- 1 root root 241227 2004-07-13 01:49
dummy-3.6.2.tar.gz
-rw-r--r-- 1 root root 9424 2007-07-16 21:25
dummy-4.1.2.tar.gz

when I run the
tar xzf dummy-4.1.2.tar.gz

I get this:
drwxr-xr-x 6 root root 4096 2008-02-01 13:22 dummy-4.1.2

and for

tar xzf dummy-3.6.2.tar.gz

I get this:

drwxr-xr-x 6 www-data www-data 4096 2008-02-01 13:24 dummy-3.6.2

why after runing untar one has root as owner and group and othere one
has www-data as group and ownder

here is the real problem when I move both of this 2 files to my /var/
www I can open deummy 4 in the web browser but when I try to open
dummy 3 I get this error;

Forbidden
You don't have permission to access /shahin/ on this server.


------------------------------------------------------------ --------------------

Apache/2.2.3 (Debian) PHP/5.2.0-8+etch10 Server at 132.229.35.233 Port
80

I did run:

chown -R root:root dummy-3.6.2

but still not able to open it from web browser.

Any Idea what is going on here?

Thanks shahin