l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
October 7: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2002 Sep 25 01:56

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Configuration problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Configuration problem



I found the problem.  I was looking in the wrong place.  It isn't likely to hit anyone else.  (I am adding session controls to the project and I failed to set $thisMachine in one place.) 

Thanks for the responses, folks.

On Mon, 2002-09-23 at 12:21, Rod Roark wrote:
Sounds like $thismachine is being set either to an empty
string or to "timekeeper".  So your hostname is probably
not set properly.

A phpinfo() call will tell you a lot.

-- Rod
   http://www.sunsetsystems.com/

On Monday 23 September 2002 11:51 am, Alan H. Lake wrote:
> I'm writing an extranet program that I plan to release under the GPL,
> but have had a problem since installing RH 7.3.  (This was a new
> install.  I've been restoring files from a backup.)  My project is in
> the directory /var/www/html/projects/timekeeper.  When I use this code
> in PHP
>
>    $thisMachine=getenv("HTTP_HOST");
>    $location = "Location:
> http://$thisMachine/timekeeper/TimeKeeperForm.php?form=Record";
>    header("$location");
>
>  or this Javascript code in
> http://ontario.lakeinfoworks.com/timekeeper/index.html
>
>    <SCRIPT LANGUAGE="JAVASCRIPT" type="text/javascript">
>        location.replace("TimeKeeperForm.php?form=Record");
>    </SCRIPT>
>
>  My browser (Mozilla 1.0) reports "resolving host timekeeper".  Then I
> get a Javascript alert "timekeeper could not be found.  Please check the
> name and try again."  This appears to be the only occasion when that my
> machine name ontario.lakeinfoworks.com is not being recognized.
>
>  Any suggestions?  Thanks.
>  Alan

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!