Here's another solution: between 1300 and 2100 run the ps command every minute. Append the output to a file which is rotated. Look at the file every day.
Hi,
I have a m/c loaded with redhat linux, static IP address and this m/c intern connected to the internet thro leaseline. Now i need to setup a company website has www.abc.xyz.com. What necessary configuration i need to do so that others can view our website.
Thanks
Bache Gowda (5 Replies)
I have a unix server running RedHat Linux 9.0. I want to mirror my site on a different server with the same configuration so if the main server goes down, the other server will take over. How is this best accomplished? (1 Reply)
Hiya All,
How can I test my PERL Scripts whilst making my web site?
I'm hoping there is some software out there that emulates a Web Server - without all the hassle of my building/setting up a Web Server from Stratch (Never done anything like that before - my next big project! 8) )
... (7 Replies)
hello
I would like to create an internal web site, but how do i make it with Aix ?
I must to install apache and send my http pages in the declared repertory ?
There are some configuration files to modify ??
thank you (2 Replies)
The UNIX Forums have many users, thanks to you. We will be upgrading the server soon, to make more processing room for all the users every day.
In the meantime (while waiting on the server upgrade) have limited the forum to disallow new connections when the load average is above 20; and... (9 Replies)
hi guys,
ok this script, i am trying to browse a http site and store the output in a text file ...
when i run the script , i get a http compatibility error.
does any1 have a good solution to contact a http server and save the html in a text file.. i know the result comes with html tags. ... (4 Replies)
I have always wanted to create my own site, I've only had one class about the basics in creating web pages but know i would like to get into more and more detailed info about doing so anyone with alot of experience please help me out.:b: (0 Replies)
I have updated the backend hosting for UNIX.COM and would appreciate feedback either in the form of a vote in the poll or a post so that we can plan for more changes if any are needed.
In particular let me us know if you see any strange behavior from the site as there may still be some... (8 Replies)
Discussion started by: reborg
8 Replies
LEARN ABOUT PHP
gupnp_context_host_path
GUPNP_CONTEXT_HOST_PATH(3) 1 GUPNP_CONTEXT_HOST_PATH(3)gupnp_context_host_path - Start hostingSYNOPSIS
bool gupnp_context_host_path (resource $context, string $local_path, string $server_path)
DESCRIPTION
Start hosting $local_path at $server_path. Files with the path $local_path.LOCALE (if they exist) will be served up when LOCALE is speci-
fied in the request's Accept-Language header.
PARAMETERS
o $context
- A context identifier, returned by gupnp_context_new(3).
o $local_path
- Path to the local file or folder to be hosted.
o $server_path
- Web server path where $local_path should be hosted.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
Create new UPnP context and set host path
<?php
/* Create the UPnP context */
$context = gupnp_context_new();
if (!$context) {
die("Error creating the GUPnP context
");
}
/* Host current directory */
gupnp_context_host_path($context, "./web", "");
?>
SEE ALSO gupnp_context_new(3), gupnp_context_unhost_path(3).
PHP Documentation Group GUPNP_CONTEXT_HOST_PATH(3)