Running Apache with html files on a mounted NAS device

Hi.  I am hoping someone could help me out.  I have been pulling my hair out for the past 2 days.
I am running Arch v0.8.  I have very few packages installed -- I started with base install and added Apache, MySql, PHP, Samba and a few others.
Configuration:
- I have apache running as user=apache, group=apache.  I changed this from nobody:nobody in httpd.conf.
- I have a Buffalo TerraStation on my lan.  It is called edge_nas.  It has a share called "linux".
- I successfully mounted the Buffalo share using the following entry in fstab:
//edge_nas/linux /mnt/edge_nas smbfs username=apache,password=theapachepassword,gid=apache 0 0
- I created a soft link in /home which points /home/httpd to /mnt/edge_nas/home/httpd.
- I want my web files on the Buffalo NAS device because it is raid 5. 
Problem:
- Root is able to read and write anywhere on /mnt/edge_nas.
- Apache can read /mnt/edge_nas.
- Apache can write in its home directory on /mnt/edge_nas/home/apache.
- Apache cannot write in any other directory (especially /mnt/edge_nas/home/httpd/html).
Question:
- How do I grant apache read/write access to the html root?
Any ideas?  Please be gentle.
Thank you for your help.
Edge

cactus wrote:umm. still not clear on what you did...
Please layout a clear step by step of what you did. That might make it easier to help you.
Ok. From the top...
On the Buffalo NAS (edge_nas):
- I logged into the Buffalo web-based admin screen.
- I created a new share called linux.
- I created a new user called apache.
- I granted read/write access to apache on the linux share.
On Arch Linux:
- I logged in locally as root.
- I created a new user apache, in group apache.
- I created a new directory called /mnt/edge_nas.
- I mounted the Buffalo share using the following entry in fstab:
//edge_nas/linux /mnt/edge_nas smbfs username=apache,password=theapachepassword,gid=apache 0 0
- I changed apache to run as apache:apache.  I changed this from nobody:nobody in httpd.conf.
- In /home/httpd, I created a softlink for /home/httpd/html, pointing it to /mnt/edge_nas/home/httpd/html.
- I chmod 777 /mnt/edge_nas/home/httpd/html.
- I restarted apache.
- I created a summy index.html in that directory to ensure apache can see the mount.
To test it out:
- I logged into arch locally as my apache user.
- I cd'ed to /home/httpd/html.
- I tried to create a new text file with vi.
- I cannot open the text file for write.
I hope that helps.  Please excuse any misuse of terminology.
Thanks.
Edge

Similar Messages

  • Web browser for running locally saved html file with Marquee Text

    I have a html file contain Marquee text.
    I want to display that html file in oracle forms(10g).
    I already use simple html browser but it does not support marquee text.
    I already tried to convert the html file into Gif file but Marquee text not appear in gif file.
    Is there any browser which support the locally saved html file with marquee text and also it can be embedded in oracle form.
    Or is there any way for display that html file within the oracle forms.
    Remember I don't want to display that file in separate window.I want to display that html file within the form.
    Regards

    Actually that is what I was doing last night and got a bad flash and bricked my router..so its on its way back to Linksys...

  • I eont run report as html file

    hi i wont to see my result from report as html file
    i do it when i use driverx and it's work
    but i wont when i call the report from the form i wont it generate html file and run direct in IE
    i found this code and i use it
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status varchar2(20);
    BEGIN
    repid := find_report_object('REPORT8');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := report_object_status(v_rep);
    if rep_status = 'FINISHED' then
    message('Report Completed');
    copy_report_object_output(v_rep,'d:\htmlreport\plzwork.html');
    -- host('netscape d:\temp\local.pdf');
    host('Internet Explorer d:\htmlreport\plzwork.html');
    else
    message('Error when running report.');
    end if;
    END;
    but when i do run or this code it's give me problem
    the value in the 'v_rep' came empty always i dont know whay
    and i try evry things to solve it bu i can't if any body know the solution
    or another way to do it without ues report server becousni didnt have int in my machain
    and also i wont way to send parameter to the report
    please it's very impoertant
    send me the soluotion in this email
    [email protected]

    hello,
    reports objects in forms allow you to pass parameters in form of a parameter-list to your report (see SET_REPORT_OBJECT_PROPERTY). also i would use web.show_document to display something in a web-browser.
    if you want to show the output in a web-browser, you might want to use only web.show_document and sumbit the job to the reports-server with DESTYPE=cache and DESFORMAT=HTML or DESFORMAT=HTMLCSS ... this will run the report to HTML or HTMLCSS and bring the result back in a browser window.
    regards,
    philipp

  • Help with html files when placing Web Content overlay

    Hi there,
    We have an educational app with lots of interactive exercises - all of which were initially designed in Flash.
    I have converted the fla files into hmtl using Wallaby. For each fla file, Wallaby creates a js, css and html file as well as an assets folder.
    When I place the Web Content frame, and link it to the html file, do I link it to the actual html file Wallaby created? It won't let me select the folder with all of the files in it as is, and I can't link it to a zip file either... So how does it recognise the assets if I only select the html file? (see screenshot)
    Or do I need to add an HTMLResources folder and link it to that?
    Thanks in advance for any help given.

    You link to the HTML file but make sure these things are in their own folder or InDesign will add EVERYTHING in the folder that has the html file in it.
    Bob

  • The DPS continues to NOT work with html files

    Hi Adobe guys...i try the last 2 days to upload one white page with one html file (1MB)...the procedure fails all time...I see the "Error During Download" message. And the server seems to produce abnormal big files (156 of 417 MB)....
    The other 2 projects was produced before your DPS update and contains multiple html files....Any reason for this? Thanks

    This isn't a DPS support site, but rather a community forum. You should contact Adobe via your support agreement if you're looking for technical assistance.
    The issue sounds related to how you're trying to use HTML files. We have HTML articles every month and don't have any issues.
    My only thought is that the folder you're selecting to include when you import your HTML articles has lots of extra data in it, which is bloating the size of the folio.

  • URL iview with HTML file located in Portal server.

    I created URL iview pointing to HTML file located in the Portal server. When I try preview it is not working. We wanted to use this iview to create space between two iviews.
    This is going to be blank iview.
    I saved the HTML file same as where index.html file of webas is located.
    Please let me know what is missing here. What kind of path I need to give in the URL of the iview.

    Hi Nagesh,
    Are you saying that you created a HTML file on the file system of the portal server or did you create the HTML file within a KM repository on the portal?
    If it is the 1st option you should have the HTML file hosted under a webserver such as IIS or Apache and then use the URL that the website is created under.
    If it is a file within KM then open the properties of the HTML document that you have created and use the Access Link value as the URL for the iView.
    Please let me know if you need further clarification.
    Regards
    Daniel

  • Does lightbox work with html files (or only png, jpeg, other image files)?

    The following image is not displaying in lightbox when I click on the thumb:
    <a href="images/example.html"
    But it does appear when I don't allow Active X.
    Is there something i need to change for lightbox to accept html files?
    Thanks!
    Ken D

    AFAIK, Lokesh Dhakar's Lightbox scripts only work with web images (PNG, GIF, JPG).
    For other modal window systems that DO support multiple file types -- including HTML, Media, Ajax and iframes, see links below.
    FloatBox
    http://floatboxjs.com/demo
    HighSlide
    http://highslide.com/
    PrettyPhoto Lightbox Clone
    http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/
    FancyBox
    http://fancybox.net/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Running javascript with HTML

    Hi all,
    I am looking for a way and example of how to run javascript against an HTML file. My project is a web site test utility that can load HTML pages and submit forms, however some forms require executing javascript to set or validate various form fields. I've looked into the Rhino javascript engine, but I do not understand how to execute the javascript functions which change HTML form values. Can anyone give examples of how this can be done? Please let me know if I need to explain this further.
    Thanks!

    Sorry the description of what I am doing is a bit vague. My java application is like a web crawler, no web browser involved, but it needs to behave like a web browser. The application will parse html and follow links found in anchor HTML tags. When my app encounters a form, it can build the target URL by parsing the form action, and all form elements such as the input, select and whatnot. The tricky part is when forms involve javascript that may alter values in form input fields, for example, hidden input fields. In this case, my app cannot simply build the target URL combining form field values. My application must execute any found javascript functions so that the correct values are placed in the form fields, then the true URL can be built. I investigated the Rhino javascript engine, which seems great for executing javascript methods, but I cannot find how to include form fields in the HTML which the javascript function may alter. I'm not set on using Rhino, just anything that works.

  • Showing DPS functionality with HTML file?

    Hello,
    I am mocking up a website using InDesign, and I have indicated the interactivity using DPS (buttons, scrolls, MSOs, etc). I'm wondering if there's a way I can export an HTML file that will show all the functionality? If not HTML, is there another file format that I could save, that is not a .folio? I want to be able to email a file to people who do not have InDesign or the Adobe Content Viewer.

    No to both. If you want to preview this content with someone they need to install Adobe Content Viewer and then you can share the folio with them for review.
    Neil

  • Cannot upload application with HTML files

    <loader version="1.0">
    <application id="GuideBook">
    <name>GuideBook</name>
    <description>Know your rights</description>
    <version >1.0</version>
    <vendor></vendor>
    <copyright>Copyright (c) 2009</copyright>
    <fileset Java="1.0">
    <directory>D:\Projects\Blackberry\SampleApplications\phonegap\</directory>
    <files>GuideBook.cod</files>
    </fileset>
    </application>
    </loader>
     Try to upload application on device Blackbarry 7100, but allways get error   
      "The application GuideBook cannot ge loaded because some required files are not available." 
    But D:\Projects\Blackberry\SampleApplications\phonegap\GuideBook.cod exists ! Yes, my application uses HTML files, maybe i need to add them also?

    Thanks for your fast reply. My fast answer is:
    Strange things
    1. I tried to connect to htmldb as you asked me. It was OK from localhost and remote computer, too.
    2. WEB folder experimenting wasn't successful from local computer again, BUT IT WAS SUCCESSFUL (via XDB login) FROM REMOTE COMPUTER. (I haven't tried it yet before...)
    I have read the information you wrote about DAD some days ago, and I found it valuable. The only different thing in XE (after you restore the pls dad) is the user.package.procedure calling INSIDE the package, which - as I understand - is a new thing. Eg. calling from one procedure from the other in package test in 9i was simple: test.procedure1. But now you HAVE TO put username at the beginning of the calling, like: hr.test.procedure1 which means that you can compile the old package without error, however you cannot use the procedure calling inside the package. That is the reason I had to change them. Another new thing, that if you want to share your http package, that you have to add an execute grant on it to public. So there are some differences, not big, nevertheless important changing.
    After this long dissertation, my question is still how can I reach an image folder from my package. Now I can reach the WEB folder from an old NT4 machine, so I can upload and download images, making folders, etc. But how can I reference them? (Anyway I do not now the reason, why I cannot reach WEB folder from the local computer...)
    Sorry for the long long long spiel. Waiting for your answer.
    Zsolt

  • Deploying Servlet with HTML file on Tomcat

    Hi ,
    I created a servlet and an html file. The html file accepts user data and passes it to servlet.
    I want to deploy these two files using Tomcat server. Please tell me a sure procedure for deploying both files.
    Regards,
    ap.

    First of all its better to make a jsp rather than one HTML and a servlet but anyhow in order to deploy it first build your project and create a war file which should contain your HTML and servlet and the web.xml.
    Then place this war file inside the webapps folder of tomcat.Start the tomcat and hit your HTML on the browser....

  • Error -36 while trying to move files on SMB mounted NAS

    Hey,
    I have been experiencing an error -36 while trying to move files around on my NAS.
    I have the feeling it has something to do with insufficient privileges that are being acquired.
    When mounting in windows explorer no problems arise.
    When using the mac mounted disk in Parallels same problem.
    Mounting disk in mac as following:
    smb://login:password@ip-address/NAS-mount
    or
    smb://ip-address/NAS-mount (after which login details are prompted)
    Any help or suggestions are welcome,
    Jan

    Hey,
    I tried CIFS but that is giving me the same error -36.
    I think it must have something to do with finder permissions as windows explorer is handeling it just fine.
    Any more suggestions?
    Tried:
    cifs://login:password@ipaddress/share
    cifs://ipaddress/share

  • Files saved to iomega NAS device from Mac not visible to PCs

    I'm using my MacBook in a primarily Windows environment at work. We have an Iomega NAS device for our network file sharing.
    Some, but not all, of the files I save to the network share from my Mac are not visible to PCs. Am able to see all the files out there saved by the PCs via the Mac, but not all files saved by the Mac are visible by PCs (ie, they show up in Finder/Mac but not in Explorer/PC).
    Details:
    - Mac OS X 10.6.2
    - iomega StorCenter ix2 Network Storage Device (NAS)
    - Netgear Router (details unknown)
    All other network works fine from the Mac -- can see shared PCs, can use network attached printer, access the Internet, see all the shared folders on the NAS device.
    Happens with all types of files (MS Office documents, JPGs, GIFs, PDFs), but not for every documents. Probably 3 out of 4 documents saved to NAS device from Mac are visible to PCs on the network, and 1 out of 4 is not visible.
    Any ideas? Thanks.

    OS X 10.4.8 update has not altered the behavior of this bug. The Office 2004 11.30 update seems to have caused the problem to happen less frequently. I would say it now happens half as frequently.

  • Error (-600) drive with Logic files no longer mounting.

    Greetings fellow sufferers.
    A brief history pre my latest disaster. PSU and logic board died on me last week after 6 years of constant continuous faithful service. Bought a second hand power mac took out hard drives and RAM and replaced them with mine. Logic song files stored on second drive (identical to first drive). Everything's hunkydory.
    On tweaking some sounds on Motu Symphonic (that's another posting there)"SBOD" (spinning beachball of death) appeared and after waiting an iceage I tried to force quit Logic. Nothing doing. Error message (-600) came up. A new one on me. Mac codes shows "procNotFound No eligible process with specified process serial number" As a last resort I used the "hold the power button technique", unplug everything from the wall and reboot.
    After a second iceage (searching for local drives) the second drive (Logic songs) does not appear and in disc utility it shows second drive not mounted. The first drive is fine.
    Can any of you enlightened ones cast some wisdom in my direction?
    Ta

    Solved
    Hard drive dead as disco
    Sorry to trouble you peeps

  • MRP not running - Issue with Planning File

    Hi
    In MD06 - MRP List, I see MRP list last generated on 5/30/2008. There is a production order
    with requirements date of 3/27/2008 which has been met but is still showing up on the MRP List.
    The goods issue for the production order was posted on 7/30/2008. The goods receipt for the purchase order of material is posted on 5/6/2008
    IN the stock requirements screen (Transaction: MD04), there is no entry except the following:
    8/29/2008 Stock     Available Qty = 0
    There is no entry in the planning file for this material. We run MRP automatically in the night using MD01 and this is not cleraring up the MD06 - MRP list.
    Why was not the planning file entry generated?
    How do i resolve this issue?
    Please help.
    Ketan

    Hi,
    It is perfectly ok for not having the planning file entry for this Material.
    Create a PIR for this Material now, and acheck whether system will creates the planning File entry or not..
    Inspite of having the Demand for the Material, when there is no planning file entry is a problem..
    But, every time there will not be a Planning file file entry, unless there is a change with reference to the Planning..
    Regards,
    Siva

Maybe you are looking for

  • How to create one node for multiple instances of hardware

    I want a single minor device node to act as the interface to all instances of my hardware, in this case a co-processor chip on the     PCI bus. For the number of chips found at boot time, I want requests to be dispatched, one per chip, in a round-rob

  • Upgrade to 5.0.2

    Dear Sony I am writing this in the very faint hope that someone at Sony might actually take notice of the feedback being provided by your customers.  It is a very faint hope indeed as Sony's track record in this space is extremely poor.  I am also po

  • 3 Partitions

    hi i have right now 2 partitions 1 for mac 2 for windows can i add 3rd partition for data without losing any data ?

  • [svn] 4756: Bug fix for universal Advanced CSS selectors.

    Revision: 4756 Author: [email protected] Date: 2009-01-30 07:58:55 -0800 (Fri, 30 Jan 2009) Log Message: Bug fix for universal Advanced CSS selectors. 1. In CSS, the universal selector * matches any element. It is often implied in selectors, such as

  • Ios 7 changes custom ringtone to opening by itself

    Hi, I don`t know what to do anymore.... I had set a custom ringtone to some of my contacts and suddenly the phone changed it by itself to "opening" ringtone. After changing it and saving, it "jumps" from my custom one to the "openin" back. I have don