Connecting Tech Pros Worldwide Help | Site Map

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

  #1  
Old August 31st, 2008, 08:05 PM
workingstiff19@hotmail.com
Guest
 
Posts: n/a
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.)




  #2  
Old August 31st, 2008, 08:35 PM
Ed Mullen
Guest
 
Posts: n/a

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


workingstiff19@hotmail.com wrote:
Quote:
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
  #3  
Old August 31st, 2008, 08:35 PM
Melissa Nava
Guest
 
Posts: n/a

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


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:
Quote:
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.)
  #4  
Old August 31st, 2008, 09:05 PM
Jonathan N. Little
Guest
 
Posts: n/a

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


workingstiff19@hotmail.com wrote:
Quote:
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?

Quote:
************************** 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
  #5  
Old August 31st, 2008, 09:15 PM
Peter J Ross
Guest
 
Posts: n/a

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


In comp.infosystems.www.authoring.html on Sun, 31 Aug 2008 11:55:54
-0700 (PDT), workingstiff19@hotmail.com <workingstiff19@hotmail.com>
wrote:

<...>
Quote:
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>

<...>
Quote:
(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
  #6  
Old August 31st, 2008, 11:35 PM
David E. Ross
Guest
 
Posts: n/a

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


On 8/31/2008 11:55 AM, workingstiff19@hotmail.com wrote:
Quote:
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.
Closed Thread