Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error 403 - Not authorized to view this page

Status
Not open for further replies.

mzemina

IS-IT--Management
Dec 16, 2000
3
US
Solaris 2.5.1, Netscape Server 3.5, on a Sun E3500

We have tested our webpage several times from the command line and it seems to work fine, but the server will not allow the output from the script to be viewed on the web (even from the intranet). We have checked the permissions on the file and they show universal read and execute capable. I think it is a server security issue. Can someone walk me through what steps we need on the webserver? We checked permissions on the directories and the files and it seems to check out OK.

The resultant after inputting valid data is:

You are not authorized to view this page
You might not have permission to view this directory
or page using the credentials you supplied.

HTTP Error 403 - Forbidden
Internet Explorer
Any suggestions? We have Administrator for the Netscape Enterprise Server which we are running, but are a novice in being a webadministrator.

Mike Zemina
 
This may not be the best place for this post, as it's not a perl issue. I'd look at the OS groups and maybe the server groups and see if you can find one a little more relavant.

Otherwise, It's probably someting inside the server not letting you execute the file. Try setting the config to let the server execute files in that directory. As this is a security issue, most of the time it has to be turned on explicitly. That is the total of my knoweledge of web-administering, and good luck!

As always, I hope that helped!

Disclaimer:
Beware: Studies have shown that research causes cancer in lab rats.
 
Make sure you set permissions on the directory in addition to the file. Also, in your webserver configuration, make sure perl scripts are set to execute in that directory. Finally, make sure that the script is owned by the webserver user (usually 'nobody') or at least someone in the same group.
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
The mistake was a simple one, it was really rather easy solution. There is a place in the netscape enterprise server site that explicitely asks for a CGI path. Once you type in the path and make sure your cgi programs are in that directory, everything works. duh!

Thanks for the help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top