Pointing one hard drive name to another disk
--------------------------------------------------------------------------------
I have 2 disk drives - s2d9 & s2d11 on a solaris Unix system
It was mapped so that anything that tried to call s2d9 would be pointed to s2d11 since s2d9 was bad.... (2 Replies)
Hi
I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Sorry if this is totally the wrong place to post this but I have a question or something rather thats bugging me. I got a new Dell Inspiron laptop the other day and I was expecting it to have 80G on it, well atleast 70 or so after installation of OS and such but after looking carefully yesterday, I... (8 Replies)
trying to setup a sata drive using a sata to scsi adaptor
I have a sata 1TB Deskstar that I had setup before and during shipment from a facilty to another, the disk failed. The handling was not great, lots of throwing boxes, etc. I have a new disk from Hitachi (thankyou Hitachi) anyway, I don't... (1 Reply)
Hi,
Can anyone suggest me any USB Hard Disk Drive which I can connect to Sun Fire V890 and take backup at a quick speed. A test with SolidState USB Hard Drive for backup work was taking writing at 2GB per hour for a 75GB backup.
Regards,
Tushar Kathe (1 Reply)
Any creative ideas on how to wreck / secure clean an hard disk drive before disposal?
dd if=/dev/zero of=/dev/disk_drive?
shred -n whatever -z /dev/disk_drive?
Magnet? (false sense of security)
Fire?
Hammer?
Acid?
Post your thoughts. (10 Replies)
Hi Guys,
I have an external USB Hard Disk Drive on which I have 3 partitions and it works fine under Windows XP but when I am using Red Hat Linux 5 I don't see any icon for this USB HDD. Also I am not able to browse my USB Pen Drive. However, I can use it under Mandrake Linux without any... (4 Replies)
Hi all,
I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Hi,
What are the initial checks needs to be done while observing hard errors on one of the hard disk drive.
Thanks,
Babu. (1 Reply)
Discussion started by: lbreddy
1 Replies
LEARN ABOUT DEBIAN
ns_connredirect
Ns_ConnReturn(3aolserver) AOLserver Library Procedures Ns_ConnReturn(3aolserver)__________________________________________________________________________________________________________________________________________________NAME
Ns_ConnRedirect - Internally redirect a request to a new local url
SYNOPSIS
#include "ns.h"
int
Ns_ConnRedirect(conn, url)
ARGUMENTS
Ns_Conn conn (in) Pointer to open connection.
char *url (in) Pointer to string of local url.
_________________________________________________________________DESCRIPTION
This routine can be used to internally redirect to a new, local url on the server. The url paramter specifies a path relative to the
server, i.e., without the leading "http://host:port" portion. The server will reset the Ns_Request structure in the open connection
pointed to by conn and restart connection handling, including authorization checks. The result is a standard AOLserver request procedure
result code, either from an underlying call to Ns_ConnRunRequest or the result of one of the authorization response routines such as
Ns_ConnReturnForbidden. Filter callbacks, if any, are not run again with the updated connection.
The Ns_ConnRedirect routine is used internally in the server to support the basic file serving code (i.e., "fastpath") to redirect to spe-
cific files when a directory is opened and by the Ns_RegisterRedirect routine to map standard reponse routines to user-provided local
url's.
EXAMPLE
The following example demonstrates redirecting to an ADP help page within a custom C-level request callback whenever a ?help=topic query
argument is present:
int
MyRequest(void *arg, Ns_Conn *conn)
{
Ns_Set *query = Ns_ConnGetQuery(conn);
/* Redirect to help.adp for /myrequest?help=topic calls. */
if (Ns_SetGet(query, "help")) != NULL) {
return Ns_ConnReturnRedirect(conn, "/help.adp");
}
... handle non-help requests ...
}
SEE ALSO Ns_RegisterRedirct(3), Ns_ConnRunRequest(3), Ns_AuthorizeRequest(3)KEYWORDS
connection, redirect
AOLserver 4.0 Ns_ConnReturn(3aolserver)