[Xitami] webcam
miplanet
xitami@lists.xitami.org
Thu, 17 Jan 2002 17:18:28 -0500
Nope,
I get this:
Warning: Cannot add header information - headers already sent by (output
started at f:\Xitami\websites\<domain>.com\webcam.php:2) in
f:\Xitami\websites\<domain>.com\webcam.php on line 3
-----Original Message-----
From: xitami-admin@lists.xitami.org
[mailto:xitami-admin@lists.xitami.org]On Behalf Of Marcio Marchini
Sent: Thursday, January 17, 2002 5:09 PM
To: xitami@lists.xitami.org
Subject: RE: [Xitami] webcam
You can do redirects with regular html, you don't need PHP.
If you save this file to index.html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR></HEAD>
<BODY onload="window.location='index.php'"></BODY></HTML>
and visit it with a browser, it will try to redirect to 'index.php' on the
same
host. Just put what you need in there, instead of 'index.php'.
I am not claiming this is an answer to your original question, I am just
saying
you can redirect without having to learn/install PHP.
marcio
> -----Original Message-----
> From: xitami-admin@lists.xitami.org
> [mailto:xitami-admin@lists.xitami.org]On Behalf Of miplanet
> Sent: January 17, 2002 4:44 PM
> To: xitami@lists.xitami.org
> Subject: RE: [Xitami] webcam
>
>
> I guess it's time to learn PHP. I have no idea what to do with this. I'll
> start doing some research on this but in the mean time...
>
> Where do I need to put it to redirect webcam.domain.com to port 8080?
>
>
>
> -----Original Message-----
> From: xitami-admin@lists.xitami.org
> [mailto:xitami-admin@lists.xitami.org]On Behalf Of Thomas J. Hruska
> Sent: Thursday, January 17, 2002 6:00 AM
> To: xitami@lists.xitami.org
> Subject: Re: [Xitami] webcam
>
>
> At 08:20 PM 1/16/2002 -0500, Ron Ackerman writeth:
> >I currently have 11 domains running and I am trying to set up a webcam
> using
> >WebCam2000. WebCam 2000 can be set up for any port and is currently using
> port
> >8080. Xitami is set up for default port 80 and needs to stay there. I can
> set up
> >the DNS server for webcam.<domain>.com. How should I set up Xitami to
> alias port
> >8080 for that subdomain. Any ideas?
>
> Well, you could always use a script to redirect to port 8080. Here's a
> quickie PHP script that will do the trick:
>
> <?
> header("Location: http://webcam.<domain>.com:8080/");
> ?>
>
>
> Hope this helps!
>
>
> Thomas J. Hruska -- shinelight@shininglightpro.com
> Shining Light Productions -- "Meeting the needs of fellow programmers"
> http://www.shininglightpro.com/
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>
--
Xitami Users Mailing List -- For Xitami support
To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami