Basic help with setting up apache [SOLVED]

Hi,
I don't know if the problem is directory permissions or in configuring httpd.conf, but I would like to change the document root of my apache server to my (encrypted) home partition at /home/kilolima/www.  However, after changing the document root in httpd.conf and adding user http (which apache runs under) to the users group (every file in my home directory is in the users group), I still get Access Forbidden errors.  Is there a step I am missing here?  I also thought I could add a symlink from /var/www to /home/kilolima/www and make that the document root but that doesn't seem to work either.
Oh, and is there something else I have to change in the config to get php working?
(I can't get the wiki to load at all, so if this is already spelled out there I apologize)
Cheers,
kilolima
Last edited by kilolima (2009-03-10 20:57:34)

Take a look at this thread: http://bbs.archlinux.org/viewtopic.php?id=61583
You need to either make all directories along the path to the document root executable by other users (http) or you need to mount your root directory somewhere else. I would highly recommend using bindfs to do that as you can change the permissions of the files as they appear at the mount point (e.g. make them read-only even though they might be writable in their original location).
As for php, I'm not sure but I think you need to specify in which directories it's allowed to execute somewhere in the configuration file. I remember having seen something about a given set of default directories and anything outside of them requiring explicit permissions.
I hope this helps.

Similar Messages

  • Can anyone help with setting up AirPrint on my iPhone 4

    Can anyone help with setting up AirPrint on my iPhone 4.  Printer is ready.

    you have a compatable printer correct? http://support.apple.com/kb/ht4356
    if you do may i introduce you to a hassel free app for your mac called printopia i use it also very easy to set up and use
    http://www.udeo.com/mac/printopia/
    hope thats helped
    Goody

  • Purchased extreme to replace modem/router DSL used telephone cord need help with set up

    Prior to purchasing Airport Extreme had a standard modem/ wireless router from ATT for DSL. I have two macbooks both dropped connections while online with older modem.
    Airport Extreme purchased to correct connection issues I need help with set up. The older modem just used telephone cord. I tried to use telephone with extreme it did not work.
    How do I get extreme to work as the modem and router ?

    How do I get extreme to work as the modem and router ?
    you can't. the extreme is only a router. you need a separate modem (or disable the wireless part of your old router and use it as a modem - if that's possible).

  • I need help with setting up time machine for backup

    I would like help with setting up time machine for backup.

    You will need an external hard drive (formatted for a Mac).
    Then you plug it in and go to system preferences>time machine and select the external HD and turn it on.
    The backups are automatic.
    Barry

  • I need help with setting up my Sun Java Studio Creator

    Hello all, i need help with setting up the Studio Creator, i"m new to all that staff so is there anyone to help me just a little with all that if yes email me at [email protected] or get me on AOL Instant Messanger with the screen name: wretch17
    thanks :-)

    Hi,
    Welcome to the Creator community! Thanks for your interst in Sun Java Studio Creator. Please feel free to post any question related to creator on this forum .
    Take a look the creator website at
    http://developers.sun.com/prodtech/javatools/jscreator/
    CreatorTeam

  • [SOLVED] Need help with setting up X

    Hello guys am new to the forum and this is my first post here. I am in need of a little help.
    Need help with X configuration. It starts like this, I installed xorg-server , xorg-utils, xorg-server-utils. When I tried installed xorg-init it says no package, anyway I ignored and moved on.
    Now I installed regular mesa stuff and installed xf86-video-ati driver for my HD4250 graphics adapter. with libgl and ati-dri (I have old arch wiki print so it mentioned to install those while newer doesn't list some stuff)
    Now the problem is that Xorg -configure doesn't work with newer X and nor the packages has generated /etc/X11/xorg.conf file.
    Anyway I created the file manually and added each and every section as mentioned in the "old" guide that I have.
    I even added a /etc/X11/xorg.conf.d/20-radeon.conf file for my graphics card with the content as
    Section "Device"
    Identifire "r"
    Driver "radeon"
    EndSection
    After manually creating all such files I installed x-term, xclock and twm. But when I tried to start X by startx or Xinit it says command not found. Add to that a simple X shows couple of errors.
    Please see the errors here Paste #399362 | LodgeIt!
    Some more questions : My old guide mentioned to install HAL while newer guide on the net mention DBUS. Though I have added DBUS to be on the safe side but why not HAL ? Is it because of Udev ?
    So please help me getting X up and running.
    Regards
    Last edited by Shashwat (2011-06-04 09:47:47)

    Ok  I sorted out the misprints in the file and installed xinit but still can't get it to work.
    1. There are few errors in xorg.conf that I cannot make it out.
    2. The X output says no screen found. ?
    http://paste.pocoo.org/show/399383/
    Now when I add EndSection at the last its says invalid parameter and when I remove it, I get an error "No EndSection, EOF missing"
    Kind of bugging
    Please do help.

  • Basic help with photo slideshow?

    Hi
    I am new to adobe after effects and I have recently purchased a file from videohive (http://videohive.net/item/photo-album-v2/44575) which is great.  I am trying to tweak it a little and as I am new to after effects, I would love to ask anyone for some basic help?  I will be leaving the country in 2 weeks to get married and my UK wedding reception will be a week after I return so I am in pretty much a hurry to get a slideshow rendered and put onto dvd to play in the reception.  I have mastered how to render in PAL format and get onto DVD but I am having a little trouble with basic elements such as adding keyframes.
    The file has 13 placeholders which I have replaced with my own photos. Two of which are replaced with avi videos instead of jpg. This works fine but I would like to stop the camera movement on say photo 7 and zoom in a little on the video, play the video (approx 40 seconds) then return the photo back in place and resume your camera movement.  This will be repeated for one other photo (photo 9) where the video is approx 60 seconds.  Could you possibly help me how I can do this?  I am also adding music to play throughout from start to finish and I would also like to pause (or fade volume) whilst the avi video placeholder is playing, then resume after playback.  I know this may sound a lot to ask but I know that with the knowledge - it will only take me about 30 mins work once I know what to do.  Any help you can offer will be fantastic. I am proficient with Adobe Flash so I understand the jargon of timelines etc.
    Thank you for any help anyone could provide in my panic to get complete.
    Best regards
    Sean.

    *woohoo* Here's to the ones daring marriage... For your  problems there is a number of ways to tackle them, but the specific solution may depend on how the template works. As David already said, for audio you'd be better off using Premiere, but assuming you have just a single track that realyl only requires fades, AE should serve your needs. You can reveal the audio volume by tapping the L key when the respective layer in your composition is selected, then enable the stopwatch icon to add keyframes. Layers can be trimmed by simply dragging their ends, duplicated with Ctrl+D and split by using Ctrl+Shift+D, so it should be perfectly possible to extend your audio as needed, assuming you increase the comp duration first via the composition options. For the images to come into view, you could simply scale them up. Of course the project is based on 3D layers, so it would look a lot better if you animated the camera to dolly in, but if you have no experience in AE, that may make more of a mess than it's worth. Therefore I simply recommend you create a photo flash/ film burn transition - add a  white solid with a slight color tint, set it's blending mode to add, animate it's opacity and while it's fading out, fade in your full screen video. If done in 32bpc, this can look quite real and since it's a separate effect, it won't interfere with the rest of the animation.
    Mylenium

  • New computer ~ Help with setting up

    Hi everyone, Newbie here!
    I am going to set my new computer up tomorrow. The computer I am using at present was installed and set up by someone else so this will be a great learning curve for me. Also I had Infinity installed by the engineer.
    Is everything I need to install relating to my broadband available to download? What do I need altogether? I spoke to a BT chap on the phone and he said he would help by remote access. I am a bit nervous of this!
    I need to ensure my computer is safe and secure and it all seems technically daunting. Norton security came with  my Microsoft Office package. Is this better than McAfee (Net Protect Plus), do I need both? What about a key code scrambler  (someone mentioned this to me). As you can see I need reassurance and help arghhhhhhh.
    A step by step guide would be great!
    Thanks
    Solved!
    Go to Solution.

    It is best not to install any of the BT software, just connect your computer to the BT Home hub using an Ethernet cable, or by using the wireless key, if its a wireless connected computers.
    See http://bt.custhelp.com/app/answers/detail/a_id/14964/~/getting-started-with-wireless
    Using a direct cable connection is best, if you want to get maximum speed.
    I would not allow anyone remote access, but if you have no choice, and cannot resolve the issue any other way, then make sure that it is as a direct result of you ringing BT, and not some random person ringing you at home, pretending to be from BT or even Microsoft.
    Many people have been caught out by that type of call, and had their computer infected with spyware.
    If you already have a trial version of Norton Security, then by all means use it until it expires, then uninstall it.
    After that, you have the choice of using the free Microsoft Security Essentials, which is preferred by many forum members, or using BTs Netprotect which is free with some broadband packages. This has been known to make computers run more slowly though.
    That is all you need.
    If you have any problems, then please return here.
    If you have any problems with BT Infinity, then please visit the Infinity board on this forum.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Need Help with setting up this Filter

    Hi,
    I need help making a filter sound like the one used in this youtube song.
    I tried setting it up but I've had no success; even though I know for a fact that this filter was made in Logic Pro 9 according to the maker of this song.
    I think there might be a bit of 'Fuzz-Wah' in there too but I've never really used that effect so any tips on that would be great, too.
    Link: http://www.youtube.com/watch?v=tf017M8SZZE&feature=plcp
    Any help with this would be widely appreciated.
    Thank you :-)

    It sounds like a simple hi Q filter sweep to me but getting close to the original synth sound that it is being used on is the challenge. It might well be that it is the filter on the synth itself is what is being swept. Either way, turn up the filter resonance on a band pass filter and sweep it with the lfo or adsr to modulate the filter cutoff if its the synth filter, or automate the filter frequency  sweep if you use the channel filter.

  • Need help with Set-ADUser command

    I need a little help with the following command. Im new to PS and I have found this command but it is only one user at a time. I need to be able to update ALL users in AD.
    My goal is this. Someone before me set all Users Home numbers to 1234567899 and I need to remove that and leave it blank. The command below allows me to do that but only one user at a time by entering their SAMID.
    Is there a way to do this for everyone in AD ?
    Set-AdUser –Identity SAMID –HomePhone $NULL

    Yeah sure - 
    Get-Aduser -filter * -properties SamaccountName | Select SamAccountName | % {Set-Aduser -identity $_.SamaccountName -HomePhone $null}

  • Help with set(index, object) please / new to java

    private static void setDobject(Rectangle [] setrect)
              LinkedList<Rectangle> rects = new LinkedList<Rectangle>();
              Rectangle myrectangle = new Rectangle(9.0,9.0);                                                                  
                 rects.set(1,myrectangle);
              for(Rectangle x : setrect)
                   System.out.print("Rectangle: ");
                   System.out.println(x.getLength() + " by " + x.getWidth());
              }  //End of for loop
         }  //End of unsorted
         }  the other previous code works, i have used the add(object) and it works here is the code for that:
    private static void addDobject(Rectangle [] addrect)
              LinkedList<Rectangle> rects = new LinkedList<Rectangle>();
              Rectangle myrectangle = new Rectangle(9.0,9.0);                                                                  
                 rects.add(myrectangle);
                 for(Rectangle x : rects)
                   System.out.print("Rectangle: ");
                   System.out.println(x.getLength() + " by " + x.getWidth());
              }  //End of for loop
              System.out.println();
         }  //End of unsorted
    this is the output error it is giving me :
    Part 1 : An Array List of Rectangles
    Enter length or 999 to exit: 3
    Enter width: 2
    Enter length or 999 to exit: 1
    Enter width: 2
    Enter length or 999 to exit: 10
    Enter width: 20
    Enter length or 999 to exit: 999
    Rectangle: 3.0 by 2.0
    Rectangle: 1.0 by 2.0
    Rectangle: 10.0 by 20.0
    Display Object with added item
    Rectangle: 3.0 by 2.0
    Rectangle: 1.0 by 2.0
    Rectangle: 10.0 by 20.0
    Rectangle: 9.0 by 9.0
    Displaying Objects with SET item
    Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 1, Size:
    0
    at java.util.LinkedList.entry(LinkedList.java:365)
    at java.util.LinkedList.set(LinkedList.java:328)
    at Lab11.setDobject(Lab11.java:129)
    at Lab11.main(Lab11.java:78)
    Press any key to continue...
    finally here is the Rectangle class i'm using:
    public class Rectangle
        private double length;     // Instance variables
        private double width;
        public Rectangle(double l, double w)  // Constructor method
            length = l;
            width = w;
        } // end Rectangle constructor
        public double getLength()             // getter 
             return length;
        } // end getLength
         public double getWidth()             // getter 
             return width;
        } // end getWidth
        public void setLength(double l)      // setter 
             length = l;
        } // end setLength
         public void setWidth(double w)     // setter 
             width = w;
        } // end setWidth
         public double calculateArea()         // calculation method
            return length * width;
        } // end calculateArea
        public void displayRectangle()         // display method
            System.out.println("Rectangle Length = " + length);
            System.out.println("Rectangle Width = " + width);               
        } // end displayRectangle
    } // Rectangle ClassHope you can help guys! thanks!

    LinkedList<Rectangle> rects = new LinkedList<Rectangle>();rects is an empty LinkedList at this point. It has no elements added to it.
    rects.set(1,myrectangle);So you can't set the item at index 1 (the 2nd element in the list) because it doesn't even exist. You need to add items to it.

  • Help with setting a MDX goal expression in SSAS

    Our data is updated monthly and the last date of available data can be anywhere from 45-75 days behind.  For example, data is current through 6/30/2014
    as of 8/25/2014.
    I have a Time dimension hierarchy named [Calendar] with [Year]>[Half Year]>[Quarter]>[Month]>[Date] 
    I have a measure, [Measures].[Fatalities] set as a calculated member.
    I have a KPI with [Measures].[Fatalities] set as the Value Expression. My issue is with setting up the goal expression.
    I am trying to set a goal expression that is a percent reduction for a 5-year baseline average (Year-7:Year-3). So for the current year (2014, with data through
    June 2014), the goal would be a 20% reduction of the average of the Jan-Jun 2007, Jan-Jun 2008,Jan-Jun 2009,Jan-Jun 2010,Jan-Jun 2011.
    I have set up the following MDX as the goal expression:
    .8*((
    ([Measures].[Fatalities],
    PARALLELPERIOD([Time].[Calendar].[Year],7,[Time].[Calendar].CurrentMember))
    +
    ([Measures].[Fatalities],
    PARALLELPERIOD([Time].[Calendar].[Year],6,[Time].[Calendar].CurrentMember))
    +
    ([Measures].[Fatalities],
    PARALLELPERIOD([Time].[Calendar].[Year],5,[Time].[Calendar].CurrentMember))
    +
    ([Measures].[Fatalities],
    PARALLELPERIOD([Time].[Calendar].[Year],4,[Time].[Calendar].CurrentMember))
    +
    ([Measures].[Fatalities],
    PARALLELPERIOD([Time].[Calendar].[Year],3,[Time].[Calendar].CurrentMember))
    )/5
    The problem is that the goal is taking the entire year average at the year level of the Calendar hierarchy.  For example, in the attached screenshot, the
    Fatalities Goal would be empty when the fatalities is empty, and more importantly, the goal at the Year level of the Calendar hierarchy would only be the sum of Jan-Jun goal.  The Fatalities Goal in this example should read 549.28 at the Calendar 2014
    Year level and the status would still be green.
    http://i.imgur.com/peHD9Wl.png

    you might find this app interesting: http://ivolume.en.softonic.com/mac.

  • Basic help with ArrayLists

    I'm doing a project in Java where I have to put numbers in a list, then shuffle them. Then I have to access those numbers and create a Bingo card. I've got everything down except for the accessing the numbers part. How exactly do I access integers from an array list? I read online that I should cast the elements in the ArrayList to an int, but I try that and get an incovertible types error message when I try to compile. Here is my code so far:
    import java.util.ArrayList;
    import java.util.Random;
    import java.util.Collections;
    * Numbers class -- will generate a list of numbers, shuffle them, and then have a method to return them to the Bingo card.
    public class Numbers
        private ArrayList bingoB;
        int cnt;
        String testString;
        public Numbers()
           bingoB = new ArrayList();
           resetNumbers();
        public int getNumberB()
             int test = (int) bingoB.get(0);
             testString = "b-" + test;
             return testString;
        public void resetNumbers()
            for(cnt = 1; cnt <= 15; cnt++)
            bingoB.add(new Integer(cnt));
            Collections.shuffle(bingoB);I really need help with the casting/accessing integer part, but any other tips about what I've got going on in the int getNumberB method would be helpful as well. Thanks in advance.

    You don't cast to 'int', you cast to 'Integer'. You put 'Integer' in, so you take 'Integer' out.
    To get the 'int' value from an 'Integer', use the "intValue()" method in the Integer class.
    testString should be local to getNumberB--it should not be an instance variable. Is getNumberB supposed to return an int or a String? If you want the String, you need:
    public String getNumberB() { ...}

  • Help with setting up a basic mail server for Notes sync

    Hello,
    I have managed to setup a CalDAV and CardDAV server for local syncing of my iOS devices with Mavericks via Mavericks Server.
    I wish to also sync notes.
    I understand a mail server is required and I have been trying to set one up solely for notes sync.
    After turning on the mail server I can sync notes to the server on my Mac but I cant figure out how to do it on the iOS devices.
    Is it possible to setup a local mail server?
    Can someone provide me with a basic guide?
    Thanks

    Thanks for reply Simon.
    I havent been able to find a guide so I have been guessing trying to setup the email server. Basically ive tried to setup a user email [email protected] (syncuser is also the account I use to sync my calendar and contacts)
    I have turned on the mail server, made a new account on my Mac in mail:
    Description: OS X Server
    Email Address: [email protected]
    Full Name: syncuser
    Incoming Mail Server: myserver.local
    User Name: syncuser
    In the user account  I have added the email address.
    Im guesing I have to make the mail account somewhere in the server settings but I cant find anything. If turn off SSL in the mail settings I at least get a response from the server:
    Unable to Connect
    There may be a problem with the mail server or network. Verify the settings for account “OS X Server” or try again.
    The server returned the error: The connection to the server “myserver.local” on port 143 failed (error 49: Can't assign requested address)

  • Help with setting up basic web service

    Hi guys-
    I am just getting started with Flex and I am looking to
    create a really simple app that uses the XigniteQuotes web service
    http://www.xignite.com/xQuotes.asmx).
    I know I have to authenticate myself with my email and I have been
    looking for some tutorials online but they all seem a little too
    advanced for me or they are for Flex Builder 1 (I'm using Flex
    Builder 2). If someone could refer to some tutorials I might have
    missed or if you wouldn't mind giving me some sample code to get me
    started I would really appreciate it. I seem to be running into a
    lot of errors trying on my own. Thank you,
    -Dan

    Hi there,
    This tutorial has a section on craeting web requests. It's
    not too hard in Flex 2.0
    <mx:HTTPService id="idofservice" method="POST"
    url="url_to_service.php?" useProxy="false">
    <mx:request xmlns="">
    <!-- this is where the data you want to send to the script
    goes -->
    <username>{username.text}</username>
    <!-- assuming you had a text input field named username of
    course. -->
    <password>{password.text}</password>
    Take a look at the tutorial.
    Hope it helps!
    </mx:request>
    </mx:HTTPService>

Maybe you are looking for