[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] site directory names
- Subject: RE: [cobalt-users] site directory names
- From: "Dan Kriwitsky" <list1@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed Jul 10 08:39:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> I always use /home/sites/www.xxx.net/cgi-bin/script.pl
> especially on RaQs, you cna change the site numnber without
> changing the scripts.
>
I wasn't sure if that would work, although I hadn't tried it.
I have a script called servercheck.pl
<http://www.monster-submit.com/servercheck/> that when I run it from a
site shows some output that shows the site# as the path, so I had been
using that based on the script output. I've removed some things from
this example. (Very handy script that has saved me a lot of time on
unfamiliar servers while installing scripts for customers.):
Current Directory: /home/sites/site57/web/cgi-bin
Perl Version: 5.00503
Perl Path(s):
================================
perl: /usr/bin/perl
Mail Program [SendMail] Path(s):
================================
sendmail: /usr/sbin/sendmail
SERVER_SOFTWARE = Apache/1.3.20 Sun Cobalt (Unix) mod_ssl/2.8.4
OpenSSL/0.9.6b PHP/4.1.2 mod_auth_pam_external/0.1 FrontPage/4.0.4.3
mod_perl/1.25
GATEWAY_INTERFACE = CGI/1.1
DOCUMENT_ROOT = /home/sites/site57/web
REMOTE_ADDR = My IP
REQUEST_METHOD = GET
QUERY_STRING =
HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/vnd.ms-powerpoint,
application/msword, */*
REMOTE_PORT = 64824
SERVER_ADDR = xx.xx.xx.xx (IP removed)
HTTP_ACCEPT_LANGUAGE = en-us
REDIRECT_UNIQUE_ID = PSxR4dgo8B8AAAooCJE
HTTP_ACCEPT_ENCODING = gzip, deflate
REDIRECT_STATUS = 200
SCRIPT_FILENAME = /usr/cgiwrap/cgiwrap
SERVER_NAME = www. <removed> .com
SERVER_PORT = 80
PATH_TRANSLATED = /home/sites/site57/web/cgi-bin/servercheck.pl
SERVER_ADMIN = admin
There's more output I've snipped off.
--
Dan Kriwitsky
Please reply to the list only. Offlist replies are not read.