Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Forbidden Error on Apache 1.3.33

Posted on 2006-11-06
5
335 Views
Last Modified: 2013-12-16
Hi Guys...

I'm having an issue with an Apache Server...

I installed it in a Debian Sarge Machine... I installed MySQL, PHP, ImageMagick, and Apache on that Server... I installed a CMS called JAWS (http://www.jaws.com.mx) and everything went ok.

When I ended installing JAWS on the Server I noticed that the images JAWS includes (buttons, arrows, etc) were not showing, so I went to the /var/www/ folder to verify that the /images folder was in there. Actually the folder and all its content its there.. The only problem is that by some reason I cannot access that directory, it gives me the following error:


Forbidden
You don't have permission to access /images/ on this server.
Apache/1.3.33 Server at 192.168.X.Y Port 80


I already checked on that folder and its owner was root so I cahnged it to www-data (apache user) and verify that all its content was readable and executable for other users...

I checked on httpd.conf and I found that the <Files > statement is correct, I just dont know what else to do as I'm a newbie.

I will really appreciate your help guys.

Thanks!!!
0
Comment
Question by:hacabrera
5 Comments
 
LVL 4

Expert Comment

by:wbstech
ID: 17887663
Could be SELinux enabled.

Try disabling SELinux:

System Settings->Security level and disable SE-Linux

or

setenforce 0

The bottom one is a temporary one done from the command prompt.
0
 
LVL 10

Expert Comment

by:ssvl
ID: 17895648
check you /etc/httpd/conf/httpd.conf

there would be a line called

user apache
group apache

change that also to whatever user you want apache to run under (or the current ownership pattern of /var/www directory)
0
 
LVL 1

Author Comment

by:hacabrera
ID: 17899925
Hey guys...
I got it... I checked on Apache's Logs and I found that (I dont know why) those images were been taken from /usr/share/ , so I placed a cop of that /images folder inside that /usr/share/ and it solved the problem...

May somebody tell me why is that happening? I guess its JAWS fault right?

Thanks!!!
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 18106206
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question