This is a discussion on Pls help: strange permission denied problem within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi all, I got permission denied error when accessing a directory which is world readable (755 for directories and 644 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all,
I got permission denied error when accessing a directory which is world readable (755 for directories and 644 for files). Attached is snap of my httpd.conf. I've no problem in accessing /data1/* but got permission denied /data2/*. I'm using bundled httpd 2.0.53-3.3 on Fedora Core 3. Would any one please help? Sorry for the newbie question. Thank you very much. ST Wong -------------------- cut here -------------------------- ScriptAlias /data1/cgi-bin "/usr/local/data1/sbin" <Directory "/usr/local/data1/sbin"> Options ExecCGI AllowOverride AuthConfig Order allow,deny Allow from All </Directory> Alias /data1 "/usr/local/data1/share" <Directory "/usr/local/data1/share"> AllowOverride AuthConfig Order allow,deny Allow from All </Directory> ScriptAlias /data2/cgi-bin /backup/usr/local/data2/sbin <Directory /backup/usr/local/data2/sbin> Options ExecCGI AllowOverride AuthConfig Order allow,deny Allow from All </Directory> Alias /data2 /backup/usr/local/data2/share <Directory /backup/usr/local/data2/share> AllowOverride AuthConfig Order allow,deny Allow from All </Directory> |
|
|||
|
On Wed, 26 Oct 2005 06:35:50 -0700, wst305 sent:
> I got permission denied error when accessing a directory which is world > readable (755 for directories and 644 for files). Attached is snap of my > httpd.conf. I've no problem in accessing /data1/* but got permission > denied /data2/*. > > I'm using bundled httpd 2.0.53-3.3 on Fedora Core 3. Would any one please > help? The obvious questions are: Do you have SELinux enabled, and are SELinux permissions set to allow webserving from other directories? (That may require a configuration of SELinux as well as tweaking of file and directory permissions.) There's a FAQ about this (Apache and SELinux) on the Fedora website. -- If you insist on e-mailing me, use the reply-to address (it's real but temporary). But please reply to the group, like you're supposed to. This message was sent without a virus, please destroy some files yourself. |
|
|||
|
Tim wrote:
> On Wed, 26 Oct 2005 06:35:50 -0700, wst305 sent: > > > I got permission denied error when accessing a directory which is world > > readable (755 for directories and 644 for files). Attached is snap of my > > httpd.conf. I've no problem in accessing /data1/* but got permission > > denied /data2/*. > > > > I'm using bundled httpd 2.0.53-3.3 on Fedora Core 3. Would any one please > > help? > > The obvious questions are: Do you have SELinux enabled, and are SELinux > permissions set to allow webserving from other directories? (That may > require a configuration of SELinux as well as tweaking of file and > directory permissions.) There's a FAQ about this (Apache and SELinux) on > the Fedora website. > > -- > If you insist on e-mailing me, use the reply-to address (it's real but > temporary). But please reply to the group, like you're supposed to. > > This message was sent without a virus, please destroy some files yourself. It works ! Sorry for the newbie question. Thanks a lot. |
| Thread Tools | |
| Display Modes | |
|
|