?
Solved

Forbidden Error on Apache 1.3.33

Posted on 2006-11-06
5
Medium Priority
?
341 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
4 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
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…
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.
Suggested Courses
Course of the Month13 days, 13 hours left to enroll

755 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