[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Forbidden Error on Apache 1.3.33

Posted on 2006-11-06
5
Medium Priority
?
339 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
[X]
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
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

649 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