LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-20-2010, 02:56 AM   #1
fernfrancis
Member
 
Registered: Feb 2009
Location: Goa(India)-Sharjah(UAE)
Distribution: RHEL,centos,fedora,ubuntu
Posts: 229

Rep: Reputation: 18
apache help


i have put a zip folder at /var/www/html/ am trying to download it on a client machine it gives me this error
You don't have permission to access /db_airarabia_crp.zip on this server.
i changes the permission on the file to 666 but still its the same

anyone know the solution to this problem
 
Old 05-20-2010, 03:20 AM   #2
ajeetsinghraina
Member
 
Registered: May 2010
Location: India
Distribution: Ubuntu 7.04/8.04/8.10/10.04, RHEL 6, OpenSUSE,Mandriva,Fedora, CentOS, XandrOS, Slackware, OpenSolar
Posts: 155

Rep: Reputation: 55
Check the ownership/permission of that particular folder you are attempting to access.

Paste the error shown on browser or wherever yu are trying to access.

Last edited by ajeetsinghraina; 05-20-2010 at 03:21 AM.
 
Old 05-20-2010, 03:25 AM   #3
PMP
Member
 
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Rep: Reputation: 58
Quote:
Originally Posted by fernfrancis View Post
i have put a zip folder at /var/www/html/ am trying to download it on a client machine it gives me this error
You don't have permission to access /db_airarabia_crp.zip on this server.
i changes the permission on the file to 666 but still its the same

anyone know the solution to this problem
You are trying to download /db_airarabia_crp.zip. Means this zip file inside root. Try giving the absolute path to this file in your code
 
Old 05-20-2010, 04:57 AM   #4
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

Rep: Reputation: 63
Quote:
Originally Posted by fernfrancis View Post
i have put a zip folder at /var/www/html/ am trying to download it on a client machine it gives me this error
You don't have permission to access /db_airarabia_crp.zip on this server.
i changes the permission on the file to 666 but still its the same

anyone know the solution to this problem
Change the permission to 777 and ownership to the useraccount.
 
Old 05-20-2010, 04:58 AM   #5
fernfrancis
Member
 
Registered: Feb 2009
Location: Goa(India)-Sharjah(UAE)
Distribution: RHEL,centos,fedora,ubuntu
Posts: 229

Original Poster
Rep: Reputation: 18
problem solved it was a selinux issue
 
Old 05-20-2010, 05:11 AM   #6
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

Rep: Reputation: 63
Quote:
Originally Posted by fernfrancis View Post
problem solved it was a selinux issue
You can now mark the thread as "[SOLVED]".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setting up apache from scratch on a linux machine, apache failed message upon bootup dramous43 Linux - Enterprise 2 01-26-2010 07:53 AM
Apache Webserver on Slackware - Failed to Start Apache - 'no listening sockets .." CCTVGuru Linux - Server 4 10-11-2009 01:14 AM
Mail from Apache being rejected - Cannot route to sender apache@localhost.localdomain jimwillsher Linux - Networking 2 01-19-2006 12:41 AM
Apache Webserver 403 Forbidden Errors (User not in apache group?) Mankind75 Mandriva 4 07-08-2004 05:30 AM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 10:53 AM


All times are GMT -5. The time now is 06:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration