The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 error 403
Author: seanmc 
Date:   16-07-07 07:12

Hi, I have looked at the fix and dont know where to find it. Just where is the place this fix goes? Is it in Dreamweaver, my host, on the www, I just dont know where to input the simple solution, please help.

I have pasted the help offered below:



Forbidden

You don't have permission to access / on this server.

Apache/1.3.9 Server at freebsddiary.unixathome.org Port 80

This error indicates that a default document could not be found at the specified URL and that directory listings are not permitted.
The solution
The solution is quite simple. Edit /usr/local/etc/apache/httpd.conf and look for the following line:

DirectoryIndex index.html

This line indicates that if a URL does not contain an explicit filename, then the files specified on this line will be used by default. So if you are using index.htm, or default.htm as your default page, add them to this line. For example:

DirectoryIndex index.html index.htm default.htm

Reply To This Message
 
 Re: error 403
Author: Dan 
Date:   16-07-07 13:30

seanmc wrote:

> Hi, I have looked at the fix and dont know where to find it.
> Just where is the place this fix goes? Is it in Dreamweaver, my
> host, on the www, I just dont know where to input the simple
> solution, please help.

It is a problem on the server.

>
> I have pasted the help offered below:
>
>
>
> Forbidden
>
> You don't have permission to access / on this server.

The problem is in the root directory of whatever web server you are accessing. Apache cannot read that directory or the files in that directory. Or, perhaps, there is no default file (e.g. index.html).

If you cannot figure it out from the above description, let us know what OS you are using.

--
Webmaster

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org