Re: [opensuse] apache2 vs symbolic link on opensuse10.2

2007-12-21 Thread Patrik Hasibuan
Dear my friend, Valerio...

You've solved my problem.

Thank you...thank youvery much thousand times..

On Fri, 21 Dec 2007 14:20:52 +0100
"Valerio Bontempi" <[EMAIL PROTECTED]> wrote:

> 
> Options Indexes FollowSymLinks MultiViews
> AllowOverride All
> Order allow,deny
> allow from all
> 
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] apache2 vs symbolic link on opensuse10.2

2007-12-21 Thread Valerio Bontempi
2007/12/21, Patrik Hasibuan <[EMAIL PROTECTED]>:
> Hi Charles,
>
> I put the lines:
> > 
> >
> > Options Indexes FollowSymLinks
> > AllowOverride None
> > Order allow,deny
> > Allow from all
> > 
> into file /etc/apache2/httpd.conf.local
> and put:
> Include /etc/apache2/httpd.conf.local into the file
> of /etc/apache2/httpd.conf .
>
> and finally do "rcapache2 restart"
>
> but the the result is still the same:
> Access forbidden!
>
> You don't have permission to access the requested object. It is either
> read-protected or not readable by the server.
>
> If you think this is a server error, please contact the webmaster.
> Error 403
> 192.168.23.176
> Fri Dec 21 19:59:06 2007
> Apache/2.2.3 (Linux/SUSE)
>
> Please keep telling me if any other possibilities.
>
> Thank you very much in advance.
>
>
> On Thu, 20 Dec 2007 10:52:01 +0800
> "Charles Li" <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >  Does it need configure directory's access permision? I'm not sure,
> > just try it. :)
> >
> > 
> >
> > Options Indexes FollowSymLinks
> > AllowOverride None
> > Order allow,deny
> > Allow from all
> > 
> >
> >
> > On Dec 20, 2007 3:39 AM, Patrik Hasibuan
> > <[EMAIL PROTECTED]> wrote:
> > > Dear my friends...
> > >
> > > I use opensuse10.2 and apache2. I want to put all of my code into my
> > > external usb harddisk (/media/disk).
> > >
> > > I want to use symbolic link for doing that.
> > >
> > > Here what I've done:
> > > 1. Under the "/srv/www/htdocs/devel" I create a symbolic link this
> > > way: suseonthelap:/srv/www/htdocs # ln
> > > -s /media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel 
> > > ./devel
> > > 2.
> > > mkdir 
> > > /media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes
> > > 3. I created a very simple HTML code (index.html) and put under
> > > directory:
> > > /media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes
> > > 4.
> > > [EMAIL 
> > > PROTECTED]:/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek>
> > > chmod -Rv
> > > 777 /media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel
> > > mode of
> > > `/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel'
> > > changed to 0777 (rwxrwxrwx)
> > > mode of
> > > `/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes'
> > > changed to 0777 (rwxrwxrwx)
> > > mode of
> > > `/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes/tes.html'
> > > changed to 0777 (rwxrwxrwx)
> > > mode of
> > > `/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes/tes.html~'
> > > changed to 0777 (rwxrwxrwx)
> > > mode of
> > > `/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes/index.html'
> > > changed to 0777 (rwxrwxrwx)
> > > mode of
> > > `/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes/index.html~'
> > > changed to 0777 (rwxrwxrwx)
> > > [EMAIL 
> > > PROTECTED]:/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek>
> > >
> > >
> > > But my browser meets this error message as the result for url
> > > 'http://192.168.23.176/devel/tes':
> > > Access forbidden!
> > >  You don't have permission to access the requested object. It is
> > > either read-protected or not readable by the server. If you think
> > > this is a server error, please contact the webmaster. Error 403
> > > 192.168.23.176
> > >  Thu Dec 20 02:21:54 2007
> > >  Apache/2.2.3 (Linux/SUSE)
> > >
> > > Anybody would be so nice for telling me where my
> > > mistake?
> > >
> > > Thank you very much in advance.
> > > --
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

I'm using the following configuration on my apache2 env:

If you want to follow symlink in your web server root dir:

Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all


If you want to enable symlink in some subdir of your web server root

Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all


You can try this way ;-)


Valerio
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] apache2 vs symbolic link on opensuse10.2

2007-12-21 Thread Patrik Hasibuan
Hi Charles,

I put the lines:
> 
> 
> Options Indexes FollowSymLinks
> AllowOverride None
> Order allow,deny
> Allow from all
> 
into file /etc/apache2/httpd.conf.local
and put:
Include /etc/apache2/httpd.conf.local into the file
of /etc/apache2/httpd.conf .

and finally do "rcapache2 restart"

but the the result is still the same:
Access forbidden!

You don't have permission to access the requested object. It is either
read-protected or not readable by the server. 

If you think this is a server error, please contact the webmaster. 
Error 403
192.168.23.176
Fri Dec 21 19:59:06 2007
Apache/2.2.3 (Linux/SUSE)

Please keep telling me if any other possibilities.

Thank you very much in advance.


On Thu, 20 Dec 2007 10:52:01 +0800
"Charles Li" <[EMAIL PROTECTED]> wrote:

> Hi,
>  Does it need configure directory's access permision? I'm not sure,
> just try it. :)
> 
> 
> 
> Options Indexes FollowSymLinks
> AllowOverride None
> Order allow,deny
> Allow from all
> 
> 
> 
> On Dec 20, 2007 3:39 AM, Patrik Hasibuan
> <[EMAIL PROTECTED]> wrote:
> > Dear my friends...
> >
> > I use opensuse10.2 and apache2. I want to put all of my code into my
> > external usb harddisk (/media/disk).
> >
> > I want to use symbolic link for doing that.
> >
> > Here what I've done:
> > 1. Under the "/srv/www/htdocs/devel" I create a symbolic link this
> > way: suseonthelap:/srv/www/htdocs # ln
> > -s /media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel 
> > ./devel
> > 2.
> > mkdir 
> > /media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes
> > 3. I created a very simple HTML code (index.html) and put under
> > directory:
> > /media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes
> > 4.
> > [EMAIL 
> > PROTECTED]:/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek>
> > chmod -Rv
> > 777 /media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel
> > mode of
> > `/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel'
> > changed to 0777 (rwxrwxrwx)
> > mode of
> > `/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes'
> > changed to 0777 (rwxrwxrwx)
> > mode of
> > `/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes/tes.html'
> > changed to 0777 (rwxrwxrwx)
> > mode of
> > `/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes/tes.html~'
> > changed to 0777 (rwxrwxrwx)
> > mode of
> > `/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes/index.html'
> > changed to 0777 (rwxrwxrwx)
> > mode of
> > `/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes/index.html~'
> > changed to 0777 (rwxrwxrwx)
> > [EMAIL 
> > PROTECTED]:/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek>
> >
> >
> > But my browser meets this error message as the result for url
> > 'http://192.168.23.176/devel/tes':
> > Access forbidden!
> >  You don't have permission to access the requested object. It is
> > either read-protected or not readable by the server. If you think
> > this is a server error, please contact the webmaster. Error 403
> > 192.168.23.176
> >  Thu Dec 20 02:21:54 2007
> >  Apache/2.2.3 (Linux/SUSE)
> >
> > Anybody would be so nice for telling me where my
> > mistake?
> >
> > Thank you very much in advance.
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> 
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] apache2 vs symbolic link on opensuse10.2

2007-12-19 Thread Charles Li
Hi,
 Does it need configure directory's access permision? I'm not sure,
just try it. :)



Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all



On Dec 20, 2007 3:39 AM, Patrik Hasibuan <[EMAIL PROTECTED]> wrote:
> Dear my friends...
>
> I use opensuse10.2 and apache2. I want to put all of my code into my
> external usb harddisk (/media/disk).
>
> I want to use symbolic link for doing that.
>
> Here what I've done:
> 1. Under the "/srv/www/htdocs/devel" I create a symbolic link this way:
> suseonthelap:/srv/www/htdocs # ln
> -s /media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel 
> ./devel
> 2.
> mkdir 
> /media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes
> 3. I created a very simple HTML code (index.html) and put under
> directory:
> /media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes
> 4.
> [EMAIL 
> PROTECTED]:/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek>
> chmod -Rv
> 777 /media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel
> mode of
> `/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel'
> changed to 0777 (rwxrwxrwx)
> mode of
> `/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes'
> changed to 0777 (rwxrwxrwx)
> mode of
> `/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes/tes.html'
> changed to 0777 (rwxrwxrwx)
> mode of
> `/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes/tes.html~'
> changed to 0777 (rwxrwxrwx)
> mode of
> `/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes/index.html'
> changed to 0777 (rwxrwxrwx)
> mode of
> `/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes/index.html~'
> changed to 0777 (rwxrwxrwx)
> [EMAIL 
> PROTECTED]:/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek>
>
>
> But my browser meets this error message as the result for url
> 'http://192.168.23.176/devel/tes':
> Access forbidden!
>  You don't have permission to access the requested object. It is either
> read-protected or not readable by the server. If you think this is a
> server error, please contact the webmaster. Error 403
> 192.168.23.176
>  Thu Dec 20 02:21:54 2007
>  Apache/2.2.3 (Linux/SUSE)
>
> Anybody would be so nice for telling me where my
> mistake?
>
> Thank you very much in advance.
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Sincerely Yours,

Charles Li
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[opensuse] apache2 vs symbolic link on opensuse10.2

2007-12-19 Thread Patrik Hasibuan
Dear my friends...

I use opensuse10.2 and apache2. I want to put all of my code into my
external usb harddisk (/media/disk).

I want to use symbolic link for doing that.

Here what I've done:
1. Under the "/srv/www/htdocs" I create a symbolic link this way:
suseonthelap:/srv/www/htdocs # ln
-s /media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel ./devel
2.
mkdir /media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes
3. I created a very simple HTML code (index.html) and put under
directory:
/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes
4.
[EMAIL 
PROTECTED]:/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek>
chmod -Rv
777 /media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel
mode of
`/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel'
changed to 0777 (rwxrwxrwx)
mode of
`/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes'
changed to 0777 (rwxrwxrwx)
mode of
`/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes/tes.html'
changed to 0777 (rwxrwxrwx)
mode of
`/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes/tes.html~'
changed to 0777 (rwxrwxrwx)
mode of
`/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes/index.html'
changed to 0777 (rwxrwxrwx)
mode of
`/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek/devel/tes/index.html~'
changed to 0777 (rwxrwxrwx)
[EMAIL 
PROTECTED]:/media/disk/suseonthelap/suse/rootdir/home/patrikh/arsip/proyek>


But my browser meets this error message as the result for url
'http://192.168.23.176/devel/tes':
Access forbidden!
 You don't have permission to access the requested object. It is either
read-protected or not readable by the server. If you think this is a
server error, please contact the webmaster. Error 403
192.168.23.176
 Thu Dec 20 02:21:54 2007
 Apache/2.2.3 (Linux/SUSE)

Anybody would be so nice for telling me where my
mistake?

Thank you very much in advance.
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]