Using an Ethernet Disk as a web server

I purchased a 500GB Lacie Ethernet Disk, of course it has it's built in file system on it, but I am interested in just wiping it and installing Apache or something on it.

Well, you probably already have apache, so why not modify the
/etc/httpd/httpd.conf file and change the DocumentRoot and
Directory to the filesystem on your lacie?
-Phil

Similar Messages

  • How to use the Enterprise portal as a web server

    Hi there,
    For portal content I would like to create an URL-iview for a picture (.jpg file) where i want to put the picture on the SAP portal itself. So in this case the portal also acts as the web server.
    If this is possible.
    Where do i put the picture (in which directory)?
    What is the url to be used for the iview?
    thanks in advance
    Bertil

    You can create a jsp page.  The portal will display it for you if you want.
    d:\usr\sap\<SYSID>\j2ee\j2ee_00\cluster\server\services\SERVLE~1\work\jspTemp\irj\root
    Underneath this folder I placed a jsp folder.  I could have called it anything.  You can place pages here.  You can take a standard html page and throw the following two lines at the top.
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    And it automagically becomes a jsp page.  Granted if you really want to do fancy stuff with java server pages you will have to delve into some java and javascript.
    I created an images directory and placed my pictures in that folder. 
    Then I created an iview pointing to a web page.
    http://<yourserver>:50000/irj/jsp/mywebpage.jsp
    You can even try the page out in a browser before creating an iview.  If you are concerned about security you will have to place in within the PCD and do ACL to lock it down. 
    Good luck.  I am sure there are other ways but this is how I did it.
    Roy Richardson

  • Using external LDAP to create a web server

    Hello everyone, I am working on a project for the university I work for. We have an iPlanet LDAP server that contains the identities of everyone (faculty, staff, students). I have set up an experimental OS X server that we'd like to play with; in particular, we'd like to use it as a web server for faculty, etc. I am trying to collect as much information as possible on this topic. I'm learning a lot about Open Directory on the web.
    I would like to know if it's possible to use the OS X server to query the iPlanet LDAP directory to authenticate users' identities and give them web space automatically on the OS X server? Or will we have to perform extracts of data from LDAP and manually synch with the OS X server?
    (We also have an AD environment, but we'll skip that for now because the students aren't in AD... yet.)
    Thanks for any insight.
    MacBook 2Ghz   Mac OS X (10.4.8)  

    You should be able to use /Applications/Utilities/Directory Access to bind the server to the iPlanet directory. Once that's done the standard web installation should automatically handle personal home pages for any user in the directory.
    The web server doesn't talk directly to the LDAP server, it uses the standard system directory services so it doesn't matter what directory server you use.

  • Using an Ethernet disk

    I've just discovered that they make Ethernet disk drives and I'm wondering if this would be a good solution for my backups (I have two computers - desktop and laptop - linked via airport). I've got a couple of questions that I'm hoping to find the answers to...
    1) Can Time Machine be used with an Ethernet disk drive over a LAN?
    2) Will it be slow?
    3) Does it matter if there's an Airport Extreme acting as the router?
    4) If necessary, can I boot one of the computers from system files stored on the Ethernet disk?
    Thanks in advance for any help
    Eric

    1. Yes
    2. Yes, I've tried it over the wireless and I doubt that Ethernet will be any faster
    3. No
    4. No, Time Machine doesn't store backups as bootable clones. Besides, macs can't boot to a network drive like that.

  • Help on using servlets to write files to web server

    Hi,
    I am chetan from India, I have developed the WebSite www.bhavishya.net. I am encountering a serious problem in writing into a text file. I am unable to configure the path of the text file. While on Linux i got it (path - "/home/bhavishya/ErrorLog.txt"). But now i am using Windows Environment. The code is as follows.
    public String ewrite(String str)
    String err = "File updated";
    try
    Date d = new Date();
    BufferedWriter bwout = null;
    // for Web Server
    try
    //BufferedWriter out = new BufferedWriter(new FileWriter("/home/bhavishya/ErrorLog.txt", true)); // For Linux
    bwout = new BufferedWriter(new FileWriter("./bhavishya/logs/ErrorLog.txt", true));
    bwout.write(d.toLocaleString()+" : "+str+"\n");
    catch (RuntimeException e1) {err = e1.toString(); e1.printStackTrace();}
    System.out.println("ErrorLog - 21");
    bwout.close();
    catch (IOException e) { System.out.println(e); }
    return err;
    The file is neither created or written into even if i am creating it.
    Regards,

    Does the path to the file exist? Otherwise you should try adding a File.mkdirs() call in there to create the directory where you want to write the logfile to. Otherwise writing the file will fail.

  • Using Weblogic as a front end web server

    Hi all, recently there has been a push for us to investigate moving our Iplanet
    web servers to Weblogic. So our architecture would be WLS web instances on the
    front and passing back to WLS app servers on the back end. We would need to run
    SSL and none SSL and handle certificates and multiple applications on each web
    server as well as serve up static content. Has anybody had any experience with
    going to this set up, and if so would you recomend it ? It looks way harder then
    setting up a Apache or Iplanet web server.

    "Mark Griffith" <[email protected]> wrote:
    You should check out 8.1, SSL configuration is simpler there.
    I would say in general that the main weakness of WLS as a web server
    is on
    the administration side of things.
    Cheers
    mbg
    "Eric Sundberg" <[email protected]> wrote in message
    news:3ebfce80$[email protected]..
    Hi all, recently there has been a push for us to investigate movingour
    Iplanet
    web servers to Weblogic. So our architecture would be WLS web instanceson the
    front and passing back to WLS app servers on the back end. We wouldneed
    to run
    SSL and none SSL and handle certificates and multiple applicationson each
    web
    server as well as serve up static content. Has anybody had any experiencewith
    going to this set up, and if so would you recomend it ? It looks wayharder then
    setting up a Apache or Iplanet web server.
    thanks for the heads up

  • Oracle error ORA-00600 when using Oracle 10g and Sun One Web Server 6.1

    I have a java application that was running under Solaris 8 and Oracle 9i. I am trying to get it up and running on a new server that is configured with Solaris 9 and Oracle 10g. Whenever the application tries to connect to the database it receives the following error: ORA-00600 [ttcgcshnd-1][0]. My research indicates that this is an internal Oracle error that represents a low level unexpected condition. I have looked through my configuration for the Web Server and I have not been able to determine the cause of this problem. My DBA tells me that we have the latest patch installed for Oracle! Has anyone encountered this problem before? Any help would be greatly appreciated!

    If the problem is also present in a SWING app, i.e. outside the web server, then it is porbably something external to the webserver.
    I think you should ensure that the driver and database are compatible with each other. It is very likely that you need a new jdbc driver for the new database.
    download from here http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc101020.html
    try the ojdbc14.jar

  • How do you use the wdeploy tool in iPlanet Web Server with Windows 2000 Server?

    I found this on the knowledge base, but only described how to use this with Unix. Does this work with Windows? How do you set the IWS_SERVER_HOME environment variable as well? I don't see it in the file.
    Thanks

    Hi,
    This is pretty common scenario. The best way to achieve this is to split your servers using a collection and deploy a different client settings. You could target your collection using the OS or an OU in AD. There are many option there.
    You could also limit the access to the Server collection using Role Based Access to avoid any human "errors" on these collections. Users without rights to these collection just won't see them.
    https://technet.microsoft.com/en-us/library/gg682067.aspx?f=255&MSPPError=-2147217396
    http://blogs.technet.com/b/configmgrteam/archive/2011/09/23/introducing-role-based-administration-in-system-center-2012-configuration-manager.aspx
    Benoit Lecours | Blog: System Center Dudes

  • How to use WLS 6.1 as a Web Server

    I would like to know how I can serve an HTML file using WebLogic 6.1. This is for
    testing purposes. I would like to do it outside of an application and just server
    the file.
    Thanks,
    -Jalil

    oops sorry.
    i pasted internal server's link
    try
    http://e-docs.bea.com/wls/stage/docs61/quickstart/quick_start.html
    Brian Mitchell wrote:
    Kumar Allamraju <[email protected]> wrote:
    see our quick start guide.
    http://bernal.beasys.com/stage/docs61/quickstart/quick_start.html
    Kumar,
    That guide appears to be a dead link. See ping results:
    $ ping bernal.beasys.com
    ping: unknown host bernal.beasys.com
    $
    Hope this helps!
    Brian J. Mitchell
    BEA Systems Administrator
    TRX
    Atlanta, GA
    email: [email protected]
    office: 404-327-7238
    mobile: 678-283-6530

  • I am using the "G Web Server" with Bridgeview 2.1. The problem I am having is that I have to

    restart the web server once every 2 to 3 days, or the web pages don't show the vi (images). Any ideas to trouble shoot - I dont know if the problem is related to my workstation hardware or a setting that needs to be tweaked on the G Web Server. Thank you.I am using a Pentium 233 machine/ Win 95. The PLC I am collecting info from is a GE Fanuc Series 9030 (?). Ethernet connection.

    restart the web server once every 2 to 3 days, or the web pages don't show the vi (images). Any ideas to trouble shoot - I dont know if the problem is related to my workstation hardware or a setting that needs to be tweaked on the G Web Server. Thank you.Hi,
    we are using the G Web Server with LabVIEW on a WinNT 4 machine. Up to now these works fine. Therefore I would recommend you to choose a more stable OS.
    Maybe you can try to programmatically restart the server every 2 days. Within LabVIEW you would do this by running "HTTP Server Control.vi". Unfortunatly all connections will be closed, thus be aware of that!
    Hope that helps
    chris

  • Using Sun Web Server 6.1 from the IDE

    Using JSE 8 with Sun Web Server 6.1 set as the target container, I have a SUNWS61deployment.xml file created.
    That didn't exist in JSE 7. Is it WS 6.1 SP4 or SP5 -related ?
    I also have ws61-sun-web.xml with a simple <sun-web-app/> tag (empty deployment descriptor).
    What should this file contain? Is it a replacement for sun-web.xml?
    Do I still need sun-web.xml? Its DTD declaration sounds like Sun
    App Server 7 (http://www.sun.com/software/sunone/appserver/dtds/sun-web-app_2_3-1.dtd)
    So you have plans to make "Sun Resources" (pools, JNDI resources, ...) created in the IDE be registerable directly in the Web Server just like it's possible with the sun app server?
    How safe is it to use JSE 8 with an older Web Server Service Pack (say 6.1SP1)?

    SUNWS61deployment.xml is created bythe IDE to be used internally and not to be used by the developer. This file wouldn't be sent to webserver after deployment.
    The ws61-sun-web.xml is sun-web.xml only and yes it is same as it is in Appserver7 as the webcontainer for both Webserver6.1 and Appserver7 are same. After deployment to webserver, ws61-sun-web.xml is renamed to Webserver as sun-web.xml by the IDE. When opened the developer can edit in the XML editor.
    The reason for having it as ws61-sun-web.xml in IDE is to avoid the clash between sun-web.xml of Appserver8.1 which is J2EE1.4 based whereas Webserver6.1 Web container is J2EE1.3 based.
    It should be okay to use any service pack of Webserver6.1 with JSE8
    Hope this helps

  • Using WLS as a web server

    Hi,
    we are currently using Netscape Enterprise Server 3.6 as our web
    server and WLS 5.1 as web container, both running on AIX 4.3.3.
    We want to get rid of the NES (it is buggy and unsupported) but we are
    unsure if need to replace it with another web server (e.g. Apache or
    iPlanet), or just use WLS 6.1 as both web server and web container.
    So the question is: do you have any experience regarding the
    performance of the WLS 6.1 web server compared to a standard web
    server?
    TIA
    /\/\orten Hindsholm

    The main reason that 5.1 is 25% slower than NES or Apache on serving static html
    is that NES/Apache do a lot of native I/O and caching ( their code base is C/C++).
    6.1 fixed that problem, BEA use native I/O to retrieve static html and img files,
    and caching them in memory. Benchmark data shows that they are in par with NES/Apache's
    performance. It's pretty safe for you to use 6.1 to host your static contents
    and use it as web container at the same time.
    My 2 cents.
    Jim Zhou.
    [email protected] (Morten Hindsholm) wrote:
    Hi,
    we are currently using Netscape Enterprise Server 3.6 as our web
    server and WLS 5.1 as web container, both running on AIX 4.3.3.
    We want to get rid of the NES (it is buggy and unsupported) but we are
    unsure if need to replace it with another web server (e.g. Apache or
    iPlanet), or just use WLS 6.1 as both web server and web container.
    So the question is: do you have any experience regarding the
    performance of the WLS 6.1 web server compared to a standard web
    server?
    TIA
    /\/\orten Hindsholm

  • Top like utility for Sun Web Server  using dtrace. (similar to apachetop)

    I have written a "top" like utility (wstop.pl) using dtrace for Sun Java
    System Web Server 7.0. Interested users can download it from my blog :
    [Web Server and dtrace|http://blogs.sun.com/basant/entry/sun_web_server_and_dtrace]
    This utility only works on Solaris 10 and later releases. Compiled plugin
    binary and utility can be downloaded from my blog page.
    I have not tested it with 6.1 but I believe it should work for 6.1 too.

    SUNWS61deployment.xml is created bythe IDE to be used internally and not to be used by the developer. This file wouldn't be sent to webserver after deployment.
    The ws61-sun-web.xml is sun-web.xml only and yes it is same as it is in Appserver7 as the webcontainer for both Webserver6.1 and Appserver7 are same. After deployment to webserver, ws61-sun-web.xml is renamed to Webserver as sun-web.xml by the IDE. When opened the developer can edit in the XML editor.
    The reason for having it as ws61-sun-web.xml in IDE is to avoid the clash between sun-web.xml of Appserver8.1 which is J2EE1.4 based whereas Webserver6.1 Web container is J2EE1.3 based.
    It should be okay to use any service pack of Webserver6.1 with JSE8
    Hope this helps

  • Error: java.lang.OutOfMemoryError when uploading CSV files to web server

    Hi experts,
    I have made a JSP page from which clients load csv files to web server. I am using Tomca 4.1 as my web server and JDK 1.3.1_09.
    The system works fine when uploadiing small csv files, but it crashes when uploading large CSV files.
    It gives me the following error:
    java.lang.OutOfMemoryError
         <<no stack trace available>>
    This is the code that I used to load files....
    <%
    String saveFile = "";
    String contentType = request.getContentType();
    if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0))
         DataInputStream in = new DataInputStream(request.getInputStream());
         int formDataLength = request.getContentLength();
         byte dataBytes[] = new byte[formDataLength];
         int byteRead = 0;
         int totalBytesRead = 0;
         while (totalBytesRead < formDataLength)
              byteRead = in.read(dataBytes, totalBytesRead, formDataLength);
              totalBytesRead += byteRead;
         String file = new String(dataBytes);
         saveFile = file.substring(file.indexOf("filename=\"") + 10);
         saveFile = saveFile.substring(0, saveFile.indexOf("\n"));
         saveFile = saveFile.substring(saveFile.lastIndexOf("\\") + 1,saveFile.indexOf("\""));
         int lastIndex = contentType.lastIndexOf("=");
         String boundary = contentType.substring(lastIndex + 1,contentType.length());
         int pos;
         pos = file.indexOf("filename=\"");
         pos = file.indexOf("\n", pos) + 1;
         pos = file.indexOf("\n", pos) + 1;
         pos = file.indexOf("\n", pos) + 1;
         int boundaryLocation = file.indexOf(boundary, pos) - 4;
         int startPos = ((file.substring(0, pos)).getBytes()).length;
         int endPos = ((file.substring(0, boundaryLocation)).getBytes()).length;
         String folder = "f:/Program Files/Apache Group/Tomcat 4.1/webapps/broadcast/file/";
         //String folder = "10.28.12.58/bulksms/";
         FileOutputStream fileOut = new FileOutputStream(folder + saveFile);
         //out.print("Saved here: " + saveFile);
         //fileOut.write(dataBytes);
         fileOut.write(dataBytes, startPos, (endPos - startPos));
         fileOut.flush();
         fileOut.close();
         out.println("File loaded successfully");
    //f:/Program Files/Apache Group/Tomcat 4.1/webapps/sms/file/
    %>
    Please can anyone help me solve this problem for me...
    Thanx...
    Deepak

    I know it may be hard to throw away all this code, but consider using the jakarta fileupload component.
    I think it would simplify your code down to
    // Create a factory for disk-based file items
    FileItemFactory factory = new DiskFileItemFactory();
    // Create a new file upload handler
    ServletFileUpload upload = new ServletFileUpload(factory);
    // Parse the request
    List /* FileItem */ items = upload.parseRequest(request);
    // Process the uploaded items
    Iterator iter = items.iterator();
    while (iter.hasNext()) {
        FileItem item = (FileItem) iter.next();
        if (item.isFormField()) {
            processFormField(item);
        } else {
            // item is a file.  write it
            File saveFolder = application.getRealPath("/file");          
            File uploadedFile = new File(saveFolder, item.getName());
            item.write(uploadedFile);
    }Most of this code was hijacked from http://jakarta.apache.org/commons/fileupload/using.html
    Check it out. It will solve your memory problem by writing the file to disk temporarily if necessary.
    Cheers,
    evnafets

  • Networking 2 minis and a lacie ethernet disk mini

    The very small newspaper I work for just recently upgraded their equipment. In the department I am in we received two dual core mac minis, and we are wanting to use a lacie ethernet disk mini as our "server". Basically we just need a place to store shared files so that we can both access them and they won't take up space on either one of our computers. Everything I've read said that it should work as a "dumping ground" of sorts, and we've even heard reports of other small newspapers using the same setup. We also received an Airport Extreme to use as well.
    We can get the disk mini to work with either of the computers individually, but we can't get it to work through the router or the Airport so that we can both access it. So far we've tried plugging it directly into the router and using the Airport to send the signal, plugging it directly into the router and plugging our computers into the router as well, plugging it directly into the Airport, and plugging it directly into one of the computers then trying to remotely access it with the other one. We've been able to access the internet and our printer as well as each other's computer with each of these options, but it will not recognize the disk mini.
    We've been working on this a lot longer than we should have, and we've run out of options. We are stuck using the old equipment (two really old Power Macs) until we figure out the problem. Any suggestions on what we might be doing wrong?

    Hi. I don't have any experience with this LaCie product, but I see from their support pages there's specific software to configure the drive for network access.
    http://www.lacie.com/support/drivers/driver.htm?id=10048
    Just a guess.
    PowerBook G4 (15 FW800); 17 iMac G5; Mac mini 1.42   Mac OS X (10.4.6)  

Maybe you are looking for

  • Remove orphan menu?

    I have cs4...I am looing at my project assests and DON'T see a STUDIO MENU I accidentally brought in early on.  When I CHECK the PROJECT I see this menu is ORPHANED.  ...again does NOT appear as a project asset...HOW DO I DELETE/REMOVE IT? Thanks....

  • Terms for a BW developer

    Hi guys I am atechnicaL BW Developer.Recently,I joined one support BW project on financial data and going through its Blue print docs.I came across many terms which may be you can explain better.I am the only support one inproject.So donot have anyon

  • Document type in FIPP object for parked documents

    Hi all, I am using ZFIPP object in my workflow, i want to check a start condition with the fields company code, document type and transaction code, but did not find the those field in zfipp, how to do validation?? Thanks, Venu.

  • Basic icons

    on my home screen, on the left hand side of the battery percentage there is a locck symbol with a circled arrow around it. what does this mean?

  • Is it right to connect DB using SVRMGR. (I am a novice...) please HELP

    Hi every one. My problem is combination of Oracle and SAP 4.6D. After installing SAP i tried to make a client copy as i could not work on the '000 client. While doing client copy i get error message asking me extend Tablespace PSAPPOOLD. I was asked