Re: symbolic link to public_html folders

Re: symbolic link to public_html folders

am 23.09.2010 17:53:54 von Rainer Jung

On 21.09.2010 22:18, J Greenbaum wrote:
> Hi,
>
> I'm having trouble configuring apache so that the public_html folder can
> be a symbolic link to another directory. On my Ubuntu 10.04
> installation, my userdir.conf file includes the 'FollowSymLinks' option
> for the /home/*/public_html directories. However, if I try to access my
> user directory from a browser 'http://localhost/~username', I get a 403
> Forbidden error. In the apache error log, it says:
>
> Symbolic link not allowed or link target not accessible:
> /home/username/public_html
>
> I have ruled out the possibility that this is a permission problem since
> I can access the directory directly rather than through the symbolic link.
>
> Any ideas would be appreciated.

Could it be "SymLinksIfOwnerMatch":

http://httpd.apache.org/docs/current/mod/core.html#options

Regards,

Rainer

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: symbolic link to public_html folders

am 23.09.2010 18:22:17 von J Greenbaum

--0016364592e09866c80490efab6a
Content-Type: text/plain; charset=UTF-8

I tried that one too, but no luck. Thanks for the response.

-Jason

On Thu, Sep 23, 2010 at 8:53 AM, Rainer Jung wrote:

> On 21.09.2010 22:18, J Greenbaum wrote:
>
>> Hi,
>>
>> I'm having trouble configuring apache so that the public_html folder can
>> be a symbolic link to another directory. On my Ubuntu 10.04
>> installation, my userdir.conf file includes the 'FollowSymLinks' option
>> for the /home/*/public_html directories. However, if I try to access my
>> user directory from a browser 'http://localhost/~username',
>> I get a 403
>> Forbidden error. In the apache error log, it says:
>>
>> Symbolic link not allowed or link target not accessible:
>> /home/username/public_html
>>
>> I have ruled out the possibility that this is a permission problem since
>> I can access the directory directly rather than through the symbolic link.
>>
>> Any ideas would be appreciated.
>>
>
> Could it be "SymLinksIfOwnerMatch":
>
> http://httpd.apache.org/docs/current/mod/core.html#options
>
> Regards,
>
> Rainer
>

--0016364592e09866c80490efab6a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I tried that one too, but no luck.  Thanks for the response.

-J=
ason

On Thu, Sep 23, 2010 at 8:53 AM, Rai=
ner Jung <r=
ainer.jung@kippdata.de
>
wrote:


r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<=
div class=3D"h5">On 21.09.2010 22:18, J Greenbaum wrote:

r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,



I'm having trouble configuring apache so that the public_html folder ca=
n

be a symbolic link to another directory.  On my Ubuntu 10.04

installation, my userdir.conf file includes the 'FollowSymLinks' op=
tion

for the /home/*/public_html directories.  However, if I try to access =
my

user directory from a browser ' target=3D"_blank">http://localhost/~username', I get a 403

Forbidden error.  In the apache error log, it says:



Symbolic link not allowed or link target not accessible:

/home/username/public_html



I have ruled out the possibility that this is a permission problem since >
I can access the directory directly rather than through the symbolic link.<=
br>


Any ideas would be appreciated.




Could it be "SymLinksIfOwnerMatch":



et=3D"_blank">http://httpd.apache.org/docs/current/mod/core. html#options >



Regards,



Rainer




--0016364592e09866c80490efab6a--

RE: symbolic link to public_html folders

am 30.09.2010 06:31:01 von Manoj Samtani

--_c10b7250-6284-4e03-bcbe-c0369e19b06c_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hi Jason=2C
What error you are getting in error_logs??
Did you enabled following:
+FollowSymlinksUserDir disabled
UserDir enabled user1 user2 user3 ???
Regards=2CManoj Samtani

From: jgbaum@gmail.com
Date: Thu=2C 23 Sep 2010 09:22:17 -0700
To: rainer.jung@kippdata.de
CC: users@httpd.apache.org
Subject: Re: [users@httpd] symbolic link to public_html folders

I tried that one too=2C but no luck. Thanks for the response.

-Jason

On Thu=2C Sep 23=2C 2010 at 8:53 AM=2C Rainer Jung > wrote:


On 21.09.2010 22:18=2C J Greenbaum wrote:


Hi=2C



I'm having trouble configuring apache so that the public_html folder can

be a symbolic link to another directory. On my Ubuntu 10.04

installation=2C my userdir.conf file includes the 'FollowSymLinks' option

for the /home/*/public_html directories. However=2C if I try to access my

user directory from a browser 'http://localhost/~username'=2C I get a 403

Forbidden error. In the apache error log=2C it says:



Symbolic link not allowed or link target not accessible:

/home/username/public_html



I have ruled out the possibility that this is a permission problem since

I can access the directory directly rather than through the symbolic link.



Any ideas would be appreciated.




Could it be "SymLinksIfOwnerMatch":



http://httpd.apache.org/docs/current/mod/core.html#options



Regards=2C



Rainer


=

--_c10b7250-6284-4e03-bcbe-c0369e19b06c_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable






Hi Jason=2C


What error you are getting in error_logs?? div>

Did you enabled following:

>+FollowSymlinks
amily: 'Courier New'=2C Courier=2C monospace=3B line-height: 14px=3B ">User=
Dir disabled
UserDir enabled user1 user2 user3  =3B ???
=
onospace"><=
br>
er New'=2C Courier=2C monospace"> line-height: 14px=3B">Regards=2C
le-style-span" face=3D"'Courier New'=2C Courier=2C monospace"> =3D"Apple-style-span" style=3D"line-height: 14px=3B">Manoj Samtani
n>


From: jgbaum@gmail.com
Date: Thu=2C=
23 Sep 2010 09:22:17 -0700
To: rainer.jung@kippdata.de
CC: users@htt=
pd.apache.org
Subject: Re: [users@httpd] symbolic link to public_html fo=
lders

I tried that one too=2C but no luck. =3B Thanks for the re=
sponse.

-Jason

On Thu=2C Sep 23=
=2C 2010 at 8:53 AM=2C Rainer Jung <=3B
o:rainer.jung@kippdata.de">rainer.jung@kippdata.de>=3B wrote:<=
br>

<=
/div>
On 21.09.2010 22:18=2C J Greenbaum wrote:


Hi=2C



I'm having trouble configuring apache so that the public_html folder can >
be a symbolic link to another directory.  =3BOn my Ubuntu 10.04

installation=2C my userdir.conf file includes the 'FollowSymLinks' option r>
for the /home/*/public_html directories.  =3BHowever=2C if I try to acc=
ess my

user directory from a browser ' t=3D"_blank">http://localhost/~username'=2C I get a 403

Forbidden error.  =3BIn the apache error log=2C it says:



Symbolic link not allowed or link target not accessible:

/home/username/public_html



I have ruled out the possibility that this is a permission problem since >
I can access the directory directly rather than through the symbolic link.<=
br>


Any ideas would be appreciated.




Could it be "SymLinksIfOwnerMatch":



et=3D"_blank">http://httpd.apache.org/docs/current/mod/core. html#options >



Regards=2C



Rainer



=

--_c10b7250-6284-4e03-bcbe-c0369e19b06c_--