Forums

PHP

This topic is locked

403 error help

Posted 05 Mar 2003 04:29:27
1
has voted
05 Mar 2003 04:29:27 andy azwell posted:
I am receiving a 403 forbidden error when I try to run my page through the browser. What do I need to do to correct this?

Replies

Replied 05 Mar 2003 10:15:38
05 Mar 2003 10:15:38 Iain Stewart replied:
can you give a little more info, are you trying to connect to a database or is it a simple php file, do you have a webserver set up on your machine ?

Whats on your page ?

Iain

head hurts, 'mental note to self, stop banging head !'
Replied 05 Mar 2003 14:37:08
05 Mar 2003 14:37:08 Julio Taylor replied:
this error usually occurs when you try to view a folder without any contents. make sure that there is something inside the folder you are viewing. even with directory browsing this error can sometimes occur if the dir is empty.

------------------------
Julio

PHP | MySQL | DWMX | ColdFusion

ICQ: 19735247
Replied 06 Mar 2003 03:21:39
06 Mar 2003 03:21:39 andy azwell replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I am receiving a 403 forbidden error when I try to run my page through the browser. What do I need to do to correct this? The page is a PHP page that I am trying to open.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Replied 06 Mar 2003 10:37:46
06 Mar 2003 10:37:46 Iain Stewart replied:
If it is just a plain standard php file,
make sure your looking at the correct path,

i.e

localhost/yoursite/index.php

make sure the file is saved in the location c:\inetpub\wwwrooot\yoursite

Like poolio said your may be looking at an emty folder or you are missing and index.php if your just tryingt o view localhost/yoursite/

hope this helps



Iain

head hurts, 'mental note to self, stop banging head !'

Reply to this topic