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   Previous Message  |  Next Message 
 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  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 error 403   new
seanmc 16-07-07 07:12 
 Re: error 403   new
Dan 16-07-07 13:30 


 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