error 403 ~user cgi-bin

DAjonck

Verified User
Joined
Apr 19, 2005
Messages
24
Hello to everyone who can help me,

Before i change the DNS, i want to check out if the website is working properly.

So i make a user (http://111.222.333.444/~user)

put some scripts in the cgi-bin that belongs to ~user. ( in the public_html )

http://111.222.333.444/~user/cgi-bin/test.cgi

Showing on the web gives an error:

Forbidden
You don't have permission to access /~rdewinter/cgi-bin/test.cgi on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


What can or must i do to get a working test website before changing DNS
 
CGI won't work with the "user" method of accessing a site.

To test your site first change the hosts file on your local computer to point the new DNS to the proper domain name. Then restart your browser (all instances of the browser must be restarted) and check the site on your new server.

Don't forget to take the entry out of your hosts file after your tests.

Every Internet connected system has a hosts file.

On linux it's at /etc/hosts.

On windows it will generally be in a subdirectory of the WINNT directory. On OS-X I believe it's in /etc/hosts.

Jeff
 
Back
Top