473,395 Members | 1,608 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

"You don't have permission": Why won't this file download?

I just want people to click on a link to download a file. I've done
it before, but this is a new computer and I must be missing
something. (Possibly an Apache configuration setting?)

Here is the source for the link that generates the error:

<a href="./procedures/ODBC_installation.pdf">ODBC driver
installation procedure</a><br />

The permissions on the file and the directory containing it are wide
open! I've tried everything I can think of. Here is the error:

************************** begin error page
**************************
Forbidden
You don't have permission to access /procedures/ODBC_installation.pdf
on this server.

Additionally, a 403 Forbidden error was encountered while trying to
use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------

Apache/2.0.52 (Red Hat) Server at adevwi02 Port 80

************************** end error page **************************
(I was going to post this to alt.html because it sounds less formal,
but a comment from Google said to post to this news group instead.
Advise if you think another group is more appropriate.)


Aug 31 '08 #1
5 13685
wo************@hotmail.com wrote:
I just want people to click on a link to download a file. I've done
it before, but this is a new computer and I must be missing
something. (Possibly an Apache configuration setting?)

Here is the source for the link that generates the error:

<a href="./procedures/ODBC_installation.pdf">ODBC driver
installation procedure</a><br />

The permissions on the file and the directory containing it are wide
open! I've tried everything I can think of. Here is the error:

************************** begin error page
**************************
Forbidden
You don't have permission to access /procedures/ODBC_installation.pdf
on this server.

Additionally, a 403 Forbidden error was encountered while trying to
use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------

Apache/2.0.52 (Red Hat) Server at adevwi02 Port 80

************************** end error page **************************
(I was going to post this to alt.html because it sounds less formal,
but a comment from Google said to post to this news group instead.
Advise if you think another group is more appropriate.)
Without an actual URL I can only guess that you've got a path problem.
Or you've mis-configured something in an .htaccess file. You mention a
new computer: Are you running the server locally and testing the page?
Are you sure the DocumentRoot is the same as on the old computer? If
you didn't set up the exact same folder locations on the new system
that's a problem. If you did but you did a fresh install of Apache and
never (or incorrectly) edited the httpd.conf file, that could be a problem.

--
Ed Mullen
http://edmullen.net
She's descended from a long line her mother listened to. - Gypsy Rose Lee
Aug 31 '08 #2
Is your URL correct?

It looks to me like your URL should either be:

<a href="../procedures/ODBC_installation.pdf">ODBC driver installation
procedure</a><br />

OR

<a href="procedures/ODBC_installation.pdf">ODBC driver installation
procedure</a><br />

depending on where the folder is located...

Melissa


On Aug 31, 10:55*am, workingstif...@hotmail.com wrote:
I just want people to click on a link to download a file. *I've done
it before, but this is a new computer and I must be missing
something. *(Possibly an Apache configuration setting?)

Here is the source for the link that generates the error:

* * <a href="./procedures/ODBC_installation.pdf">ODBC driver
installation procedure</a><br />

The permissions on the file and the directory containing it are wide
open! *I've tried everything I can think of. *Here is the error:

************************** *begin error page
**************************
Forbidden
You don't have permission to access /procedures/ODBC_installation.pdf
on this server.

Additionally, a 403 Forbidden error was encountered while trying to
use an ErrorDocument to handle the request.

--------------------------------------------------------------------------------

Apache/2.0.52 (Red Hat) Server at adevwi02 Port 80

************************** *end error page ***************************

(I was going to post this to alt.html because it sounds less formal,
but a comment from Google said to post to this news group instead.
Advise if you think another group is more appropriate.)
Aug 31 '08 #3
wo************@hotmail.com wrote:
I just want people to click on a link to download a file. I've done
it before, but this is a new computer and I must be missing
something. (Possibly an Apache configuration setting?)

Here is the source for the link that generates the error:

<a href="./procedures/ODBC_installation.pdf">ODBC driver
installation procedure</a><br />

The permissions on the file and the directory containing it are wide
open! I've tried everything I can think of. Here is the error:
Wide open? what are the user:group and permission on the file? What are
the user:group on the folder? Is "procedures" within your document root
or symbolic linked?

************************** begin error page
**************************
Forbidden
You don't have permission to access /procedures/ODBC_installation.pdf
on this server.
Looks like permission problem on the folder.


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Aug 31 '08 #4
In comp.infosystems.www.authoring.html on Sun, 31 Aug 2008 11:55:54
-0700 (PDT), wo************@hotmail.com <wo************@hotmail.com>
wrote:

<...>
The permissions on the file and the directory containing it are wide
open!
What do you mean by wide open? The file should be globally readable
and the directory should be globally executable.

chmod o+r <file>
chmod o+x <directory>

<...>
(I was going to post this to alt.html because it sounds less formal,
but a comment from Google said to post to this news group instead.
Advise if you think another group is more appropriate.)
Since this is a server problem, not apparently an HTML problem, you
may get more help in alt.apache.configuration.
--
PJR :-)
slrn newsreader (v0.9.9): http://slrn.sourceforge.net/
extra slrn documentation: http://slrn-doc.sourceforge.net/
newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Aug 31 '08 #5
On 8/31/2008 11:55 AM, wo************@hotmail.com wrote:
I just want people to click on a link to download a file. I've done
it before, but this is a new computer and I must be missing
something. (Possibly an Apache configuration setting?)

Here is the source for the link that generates the error:

<a href="./procedures/ODBC_installation.pdf">ODBC driver
installation procedure</a><br />

The permissions on the file and the directory containing it are wide
open! I've tried everything I can think of. Here is the error:

************************** begin error page
**************************
Forbidden
You don't have permission to access /procedures/ODBC_installation.pdf
on this server.

Additionally, a 403 Forbidden error was encountered while trying to
use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------

Apache/2.0.52 (Red Hat) Server at adevwi02 Port 80

************************** end error page **************************
(I was going to post this to alt.html because it sounds less formal,
but a comment from Google said to post to this news group instead.
Advise if you think another group is more appropriate.)

Are you trying to access a file that resides on the same computer as
your browser?

Are you using the same versions of server and browser that you used on
your old computer?

--

David E. Ross
<http://www.rossde.com/>

Q: What's a President Bush cocktail?
A: Business on the rocks.
Aug 31 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: CM | last post by:
Hi, There: I am working on a commercial ASP web application which use MS Access 2000 as database. When configuring the database access, I got an error saying that this database is a read-only...
3
by: Kathy Burke | last post by:
Hi. Totally lost on this one (ok, I admit I'm USUALLY lost!). All works fine in dev environment (P4, localhost server IIS, XP Pro) Asp.net and .Net 1.1 In order to access doc files needed for...
0
by: Tom | last post by:
I can't debug my asp.net projects. for some reason i'm getting an error saying that i don't have permission and i should be added to the debuggers group. I added my domain user, my aspnet user and...
2
by: IkBenHet | last post by:
Hello, I am uploading a file using this form in ASP.NET. I have also added a simpel textfield: <form runat="server" enctype="multipart/form-data"> <input type="file" id="oFile" Name="oFile"...
10
by: Rider | last post by:
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start application the follow message shown. ========= Server...
5
by: Neil Rossi | last post by:
I have an issue with a particular ASP page on two web servers. Let's call these servers Dev1 and Beta1. Both Servers are running IIS 5, Windows 2000 SP4 with "almost" all of the latest patches. ...
8
by: David Thielen | last post by:
Hi; In our setup program how do I determine if I need to run "aspnet_regiis –i" and if so, is there an API I can calll rather than finding that program on the user's disk and calling it? --...
2
by: ewpatton | last post by:
I'm having trouble using OdbcConnection and OdbcCommand to make updates to a System database. I can open the database in Access and make changes, but executing a simple: INSERT INTO LoginInfo...
4
JimWu
by: JimWu | last post by:
As title, I'd like to add a "Everyone" group to a file and give this account a full control right. I have try to use FileSecurity class to add a account, ASPNET ,for example. code as follow: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.