Forbidden page?

Shahid

Verified User
Joined
Dec 10, 2003
Messages
42
Hello,

For exampe I visit to blahblah.com/DoesNotExist website then I get like this:

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

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



What I expected to see is (this should be default on all domain):

The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

--------------------------------------------------------------------------------

Please try the following:

If you typed the page address in the Address bar, make sure that it is spelled correctly.

Open the www.blahblah.com home page, and then look for links to the information you want.
Click the Back button to try another link.
Click Search to look for information on the Internet.



HTTP 404 - File not found

any idea?
 
The quick and dirty answer:

Allow custom error pages for the site and create the custom error page.

Slightly longer answer:

Create a set of default error pages and add to the post-create script (I don't remember the details) so every time a new domain is created it gets a copy of your default pages.

Better answer (are you reading, John ?):

John should hopefully make an addition to DA so the admin defines a set of server-wide error pages, and then each reseller will inherit them and can change them for reseller-specific error pages.

Then users with websites can make their own changes or use them as-is.

Jeff
 
Well without creating the custom error page that will be affected to all the domains; I think it should do what you can see on the second quote post above. I think that should be default/normal?
 
Got it to work now, just chmod public_html to 750 and no longer get the error.
 
Hello,

750 is the new default for the public_html in 1.21.3

If you want to give new users error pages, just throw them into the /home/reseller/domains/default/404.shtml (eg) files. They'll be copied for a new install. You can also copy them into /usr/local/directadmin/data/templates/default .. so they'll be copied for new Resellers into their default folder.

John
 
Back
Top