Solved

Forbidden Error on Apache 1.3.33

Posted on 2006-11-06
5
331 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

706 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now