Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: About server information

by Anonymous Monk
on Jul 29, 2003 at 15:30 UTC ( [id://278863]=note: print w/replies, xml ) Need Help??


in reply to Re: About server information
in thread About server information

Thank you so much! I am really shame about knowing nothing about CGI yet. Do I have to use commond: mkdir cgi-bin to make a cgi-bin directory? and how to make a call by browser? Great thanks again!

Replies are listed 'Best First'.
Re: Re: Re: About server information
by projekt21 (Friar) on Jul 29, 2003 at 15:58 UTC

    Well, that's tough :-). No need to shame, we all started once.

    If that's your Redhat System, you may find the webserver Apache installed somewhere (maybe in /usr/local/apache, maybe elsewhere). CGI provides an interface for that webserver to run a script and output its result. Apache is configured via a file named httpd.conf. Within this file a directory needs to be configured as (example):

    <Directory "/usr/local/apache/cgi-bin"> AllowOverride AuthConfig Order allow,deny Allow from all Options +ExecCGI ### this is the relevant piece </Directory> ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"

    So you place your script in that cgi-bin directory and open a web browser with the URL:

    http://localhost/cgi-bin/your-script.pl

    The output will show your server stats.

    If that's not your own system, please ask the question "Where can I place my CGI scripts?" to your webmaster. She will help you.

    Perhaps someone redhat compatible can give some better directions to start.

    alex pleiner <alex@zeitform.de>
    zeitform Internet Dienste

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://278863]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-19 09:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found