Re: [gentoo-user] apache2 gentoo windows partition

2004-02-10 Thread Dennis Freise
On Tue, 10 Feb 2004 02:52:55 -0200
Claudinei Matos [EMAIL PROTECTED] wrote:

 DocumentRoot /mnt/dados/Jobs/Work/cjmatos.no-ip.com/www
 So, I also can't view the page and I get another error on to apache log:
 [Mon Feb 09 20:54:12 2004] [error] [client 127.0.0.1] client denied by
 server configuration: /mnt/dados/Jobs/Work/cjmatos.no-ip.com/www/
 
 Which configuration is this that apache tell me about???

For Example:

Directory /mnt/dados/Jobs/Work/cjmatos.no-ip.com/www/
IfModule mod_access.c
Order allow,deny
Allow from all
/IfModule
/Directory

http://httpd.apache.org/docs-2.0/mod/core.html#directory

Because per default '/' is set to Order deny,allow | Deny from all, which
makes perfect sense. See /etc/apache2/conf/commonapache2.conf - it's near the
top, the very first Directory-directive.

-- 
Dennis Freise [EMAIL PROTECTED]
GnuPG key fingerprint: 2DE8 CCEF 6E20 11D4 3B27  21EC B0BA 1749 D2C8 38ED
Get my public key at : http://www.final-frontier.ath.cx/gpg_public_key.txt


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] apache2 gentoo windows partition

2004-02-10 Thread Arne Vogel
Claudinei Matos wrote:

Hey guys,

Well, I've tried to use a windows partition in DocumentRoot of my
apache2.conf like the line below:
DocumentRoot /mnt/dados/Jobs/Work/cjmatos.no-ip.com/www
But when I try to view the page in the browser I get this error:
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use
an ErrorDocument to handle the request.
NTFS or FAT? Probably user apache lacks access rights to the windows 
partition. However,
if it's FAT, you may want to consider using UMSDOS since FAT does not allow
fine-tuning permissions. Otherwise, if you give apache the right to read 
your entire Windows partition,
this will make the chroot jail less effective. Take a look at

http://www.tldp.org/HOWTO/UMSDOS-HOWTO.html



--
[EMAIL PROTECTED] mailing list


[gentoo-user] apache2 gentoo windows partition

2004-02-09 Thread Claudinei Matos
Hey guys,

Well, I've tried to use a windows partition in DocumentRoot of my
apache2.conf like the line below:
DocumentRoot /mnt/dados/Jobs/Work/cjmatos.no-ip.com/www
But when I try to view the page in the browser I get this error:
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use
an ErrorDocument to handle the request.
So if I just create any directory at my linux partition and copy into
all apache files of windows partition this work's
I also tried to use a symlink at /var/www/localhost/ but in the same way
doesn't work.
Have apache2 any problem to use a windows partition like storage
directory? or maybe this just not allowed to perform?

Tks in any advice.

Claudinei Matos



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] apache2 gentoo windows partition

2004-02-09 Thread Daniel Drake
Hi,

Claudinei Matos wrote:
Hey guys,

Well, I've tried to use a windows partition in DocumentRoot of my
apache2.conf like the line below:
DocumentRoot /mnt/dados/Jobs/Work/cjmatos.no-ip.com/www
But when I try to view the page in the browser I get this error:
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use
an ErrorDocument to handle the request.
Check the permissions of your mount. Sounds like the user that apache is 
running as (typically 'apache' or 'nobody', both of which have very restricted 
system access) is unable to access that mountpoint.

You may also want to look at error_log in apaches section of /var/log

Hope this helps

Daniel

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] apache2 gentoo windows partition

2004-02-09 Thread Claudinei Matos
That's it...
I get a look at the directory and I see that the permissions is just for
owner:
[EMAIL PROTECTED] myers $ ls /mnt/dados -ld
drwxr--r--   27 root fat 16384 Dec 31  1969 /mnt/dados
so in my /etc/fstab I'm using gid in mount options. how can I mount this
directory with rwx permissions to group?


On Mon, 2004-02-09 at 15:44, Daniel Drake wrote:
 Hi,
 
 Claudinei Matos wrote:
  Hey guys,
  
  Well, I've tried to use a windows partition in DocumentRoot of my
  apache2.conf like the line below:
  DocumentRoot /mnt/dados/Jobs/Work/cjmatos.no-ip.com/www
  But when I try to view the page in the browser I get this error:
  Forbidden
  You don't have permission to access / on this server.
  Additionally, a 403 Forbidden error was encountered while trying to use
  an ErrorDocument to handle the request.
 
 Check the permissions of your mount. Sounds like the user that apache is 
 running as (typically 'apache' or 'nobody', both of which have very restricted 
 system access) is unable to access that mountpoint.
 
 You may also want to look at error_log in apaches section of /var/log
 
 Hope this helps
 
 Daniel
 
 --
 [EMAIL PROTECTED] mailing list
 
 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] apache2 gentoo windows partition

2004-02-09 Thread Daniel Drake
Claudinei Matos wrote:
That's it...
I get a look at the directory and I see that the permissions is just for
owner:
[EMAIL PROTECTED] myers $ ls /mnt/dados -ld
drwxr--r--   27 root fat 16384 Dec 31  1969 /mnt/dados
so in my /etc/fstab I'm using gid in mount options. how can I mount this
directory with rwx permissions to group?
Hi,

I have a partition which I mount for access by everyone on the system.
To achieve this, I have appended umask=000 onto the options in my fstab.
You should try that first (remember to re-mount). If apache then will serve 
documents, then perhaps you should tweak the 000 value to something a little 
more restrictive.

Daniel.

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] apache2 gentoo windows partition

2004-02-09 Thread Claudinei Matos
OK, I've tried again but I still not work
I've put umask=000 in mount parameters and now the directory is mounted
with full access to any user:

[EMAIL PROTECTED] localhost # ls -ld /mnt/dados
drwxrwxrwx   27 myersroot16384 Dec 31  1969 /mnt/dados

so I've tried even putting the entire path in DocumentRoot since that
when I'm using symlink I get some error:
[Mon Feb 09 20:52:22 2004] [error] [client 127.0.0.1] Symbolic link not
allowed: /var/www/localhost/htdocs
and now my apache2.conf is like that:
[EMAIL PROTECTED] localhost # cat /etc/apache2/conf/apache2.conf |grep -i
documentroot
#DocumentRoot /var/www/localhost/htdocs/
DocumentRoot /mnt/dados/Jobs/Work/cjmatos.no-ip.com/www
So, I also can't view the page and I get another error on to apache log:
[Mon Feb 09 20:54:12 2004] [error] [client 127.0.0.1] client denied by
server configuration: /mnt/dados/Jobs/Work/cjmatos.no-ip.com/www/

Which configuration is this that apache tell me about???

tks in advice

claudinei matos

On Mon, 2004-02-09 at 17:20, Daniel Drake wrote:
 Claudinei Matos wrote:
  That's it...
  I get a look at the directory and I see that the permissions is just for
  owner:
  [EMAIL PROTECTED] myers $ ls /mnt/dados -ld
  drwxr--r--   27 root fat 16384 Dec 31  1969 /mnt/dados
  so in my /etc/fstab I'm using gid in mount options. how can I mount this
  directory with rwx permissions to group?
 
 Hi,
 
 I have a partition which I mount for access by everyone on the system.
 To achieve this, I have appended umask=000 onto the options in my fstab.
 
 You should try that first (remember to re-mount). If apache then will serve 
 documents, then perhaps you should tweak the 000 value to something a little 
 more restrictive.
 
 Daniel.
 
 --
 [EMAIL PROTECTED] mailing list
 
 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] apache2 gentoo windows partition

2004-02-09 Thread Claudinei Matos
OK, I've tried again but I still not work
I've put umask=000 in mount parameters and now the directory is mounted
with full access to any user:

[EMAIL PROTECTED] localhost # ls -ld /mnt/dados
drwxrwxrwx   27 myersroot16384 Dec 31  1969 /mnt/dados

so I've tried even putting the entire path in DocumentRoot since that
when I'm using symlink I get some error:
[Mon Feb 09 20:52:22 2004] [error] [client 127.0.0.1] Symbolic link not
allowed: /var/www/localhost/htdocs
and now my apache2.conf is like that:
[EMAIL PROTECTED] localhost # cat /etc/apache2/conf/apache2.conf |grep -i
documentroot
#DocumentRoot /var/www/localhost/htdocs/
DocumentRoot /mnt/dados/Jobs/Work/cjmatos.no-ip.com/www
So, I also can't view the page and I get another error on to apache log:
[Mon Feb 09 20:54:12 2004] [error] [client 127.0.0.1] client denied by
server configuration: /mnt/dados/Jobs/Work/cjmatos.no-ip.com/www/

Which configuration is this that apache tell me about???

tks in advice

claudinei matos

On Mon, 2004-02-09 at 17:20, Daniel Drake wrote:
 Claudinei Matos wrote:
  That's it...
  I get a look at the directory and I see that the permissions is just for
  owner:
  [EMAIL PROTECTED] myers $ ls /mnt/dados -ld
  drwxr--r--   27 root fat 16384 Dec 31  1969 /mnt/dados
  so in my /etc/fstab I'm using gid in mount options. how can I mount this
  directory with rwx permissions to group?
 
 Hi,
 
 I have a partition which I mount for access by everyone on the system.
 To achieve this, I have appended umask=000 onto the options in my fstab.
 
 You should try that first (remember to re-mount). If apache then will serve 
 documents, then perhaps you should tweak the 000 value to something a little 
 more restrictive.
 
 Daniel.
 
 --
 [EMAIL PROTECTED] mailing list
 
 


--
[EMAIL PROTECTED] mailing list