PDA

View Full Version : Page Forbidden



ves
04-28-2004, 10:55 AM
Hi,
Said I'd be back didn't I?

Here's what I'm (trying) to do, and seem to be very close.

I want a page that folks can go to, where they are then linked to a file to download.

OK. So I have written a page (html).
The file is called: bonusdownload1.htm
It is in my public_html folder.
It can be viewed in file manager, and the link to the download file is correct, and also works while in file manager.

So far so good. But, when I put the address for the page into my browser:
www.mydomain.com/public_html/bonusdownload1.htm

I get this message:
You don't have permission to access /public_html/bonusdownload1.htm on this server.

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

I fiddled around with the permission codes for awhile, but no joy there.
Any thoughts please?
Thanks,
ves

P.S. Sorted all the email settings, works perfectly. Really great Control Panel, even for a newbie like me.:D

ProWebUK
04-28-2004, 12:53 PM
Your public_html folder is the root of your website:

http://yourdomain.com/file.php

would be reading:

/public_html/file.php

###

http://mydomain.com/public_html/bonusdownload1.htm

would be reading:

/public_html/public_html/file.php

Try accessing the file using:

www.mydomain.com/bonusdownload1.htm

rather than:

www.mydomain.com/public_html/bonusdownload1.htm

Chris

ves
04-28-2004, 01:03 PM
Thank YOU !!!

That's done the trick... it's easy when you know how !!

Many thanks.
ves