Link to home
Start Free TrialLog in
Avatar of hacabrera
hacabrera

asked on

Forbidden Error on Apache 1.3.33

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!!!
Avatar of wbstech
wbstech

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.
Avatar of ssvl
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)
Avatar of hacabrera

ASKER

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!!!
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial