Operating System - HP-UX
1833875 Members
1849 Online
110063 Solutions
New Discussion

Maybe Easy Apache Question

 
Jason Berendsen
Regular Advisor

Maybe Easy Apache Question

I have Apache Webserver running on one of my HP-UX machines without any problems. I am trying to start an Apache WS on another server and am having considerable problems. I am able to start Apache without any errors on the screen or in the logs. I am able to view a perl cgi script that I have written on the actual problem server running Apache. When I try to view this same script from another nodes browser I get "The page cannot be displayed". I am able to ping the server so it doesn't seem to be a routing issue. I figure I have missed something simple, but I can't figure out what. Any help would be appreciated.

Thanks,

Jason
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: Maybe Easy Apache Question

Make sure permissions are appropriate for the files. I would make them 555 (-r-xr-xr-x).
Steven E. Protter
Exalted Contributor

Re: Maybe Easy Apache Question

Check that the DNS server is set up properly.

Check that the httpd processes are running on the server.

Permissions on the directories where the document roots anc cgi scripts also should be checked. httpd.conf will tell you where to check.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ivajlo Yanakiev
Respected Contributor

Re: Maybe Easy Apache Question

Hi ,

see yours /etc/nsswitch.conf
And yours /etc/hosts file.

Can you see any page from
other host ?
Try other browser client and/or other host for testing.

Try from client host
telnet Server_IP:80
(80 is standart apache port)

If no response my be you have problem with apache demon or fire wall.

If you coneect just tape
GET
and you can see some apache response and your connection will be terminated. This is normal :)


Bill Thorsteinson
Honored Contributor

Re: Maybe Easy Apache Question

Check the allow/deny options
for your directories. Some
distributions default the
allow to localhost. This will
allow access from the server
but nowhere else.