Can't get suexec to work with apache and php

I want to enable php scripts to be executed by a php process that runs as the same user as the owner of the site.  In my case I am just using userdir so anything under /home/username/public_html should be run as username.  I have mod_suexec.so loaded in my httpd.conf file.  In the apache docs it says that:
User directories:
Requests that are processed by mod_userdir will call the suEXEC wrapper to execute CGI programs under the userid of the requested user directory. The only requirement needed for this feature to work is for CGI execution to be enabled for the user and that the script must meet the scrutiny of the security checks above. See also the --with-suexec-userdir compile time option.
I think my file meets the security checks it mentions which are listed on the site: http://httpd.apache.org/docs/2.0/suexec.html  So that makes me wonder about CGI execution being enabled for my user and how do I modify that.  Is there anything else I need to change to enable it?
Last edited by nLEyETn (2009-07-05 20:50:33)

I want to enable php scripts to be executed by a php process that runs as the same user as the owner of the site.  In my case I am just using userdir so anything under /home/username/public_html should be run as username.  I have mod_suexec.so loaded in my httpd.conf file.  In the apache docs it says that:
User directories:
Requests that are processed by mod_userdir will call the suEXEC wrapper to execute CGI programs under the userid of the requested user directory. The only requirement needed for this feature to work is for CGI execution to be enabled for the user and that the script must meet the scrutiny of the security checks above. See also the --with-suexec-userdir compile time option.
I think my file meets the security checks it mentions which are listed on the site: http://httpd.apache.org/docs/2.0/suexec.html  So that makes me wonder about CGI execution being enabled for my user and how do I modify that.  Is there anything else I need to change to enable it?
Last edited by nLEyETn (2009-07-05 20:50:33)

Similar Messages

  • Can't get 4.1 working with ALSA and Intel card

    Hello everybody,
    My problem is simple, but I cannot find any solution for it.
    I have Arch Linux 64 bits installed with ALSA and a Intel onboard sound card
    I can get the audio working simply installing ALSA and unmutting the channels, but I get no sound at the rear speakers and the center speaker (subwoofer).
    I run:
    $ spearker-test -c 5
    And all I have is sound at the 2 front speakers.
    Looking at alsamixer I only saw configuration for 2,4 and 6 channels. I am currently using the configuration for 4 channels.
    I unmuted everything in alsamixer (playback) and nothing changed.
    $ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    $ lsmod | grep '^snd' | column -t
    snd_hda_codec_hdmi 23704 1
    snd_hda_codec_realtek 59331 1
    snd_hda_intel 25700 7
    snd_hda_codec 97464 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
    snd_hwdep 6300 1 snd_hda_codec
    snd_pcm 74926 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
    snd_page_alloc 7217 2 snd_pcm,snd_hda_intel
    snd_timer 18966 1 snd_pcm
    snd 60021 21 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
    Anyone knows how to make it work? Thanks!

    Thanks for the answer, tried this command, here is the output:
    $ speaker-test -t wav -c 5 -D surround41
    speaker-test 1.0.26
    Playback device is surround41
    Stream parameters are 48000Hz, S16_LE, 5 channels
    WAV file(s)
    Broken configuration for playback: no configurations available: Invalid argument
    Setting of hwparams failed: Invalid argument
    Is there something needed to make this command run correctly?

  • How can one get java to work with SnowLeopard and FF13

    SInce the install of the most recent Java update (9)  for SnowLeopard (10.6.8) Firefox 13 simply advises that there is no plugin installed.  The behavior the update indicates will take place (where the web page provides the option to enable the plugin) simply has never presented itself. At this point, java is simply no longer available on a Mac running SNowLeopard and using Firefox.  Is there a solution to this other than upgrading to Lion?

    Yes. However, do note that FF is only on the machine for testing, I don't use it, preferring Safari. Any further issues with FF are best answered at http://support.mozilla.org/

  • I have a Mac Mini and I can't get it to work with my Ricoh Aficio MP 161.  Any ideas?

    I have a Mac Mini and I can't get it to work with my Ricoh Aficio MP 161.  Any ideas?

    The latest Apple driver support begins with the MP 171.
    Here is Ricoh's official driver download page specifically for the Afico MP 161. Note that new drivers for this device were released on Aug 2, and include Lion and Mountain Lion.
    Hopefully, this will solve your device issues.

  • My iPod Classic is seen by Windows but not by iTunes.  I have reset it, gone to disk mode and it won't show up in iTunes.  There appears to be music on it in a file called MUSICSAVE.  How can I get this to work with iTunes again?

    My iPod Classic is seen by Windows but not by iTunes.  I have reset it, gone to disk mode and it won't show up in iTunes.  There appears to be music on it in a file called MUSICSAVE.  How can I get this to work with iTunes again?

    1. Update iTunes to the latest version. Plug in your iPod. If iTunes still can't recognize it, then in iTunes in the top left corner click help> run diagnostics. On the box that comes up, check the last two things. Click next and it should identify your iPod.
    2. Click on your windows start menu. Type in "services". Click on it and when it pops up, on the bottom of it click on "standard". Now Scroll down to find "Apple Mobile Device" Right click it when you see it and click on "Start". When it has started, close iTunes and replug in your iPod and it should show up.
    3. Check the USB cable
    4 Verify that Apple Mobile Device Support is installed
    5. Restart the Apple Mobile Device Service and verify that the Apple Mobile Device USB Driver is installed.
    6. If you just want to add some photos, songs and movies from computer to your devices, you can use an iTunes alternative to do the job
    7. Check for third-party software conflicts.
    <Link Edited By Host>

  • I just replaced my mac pro with an iMac and i can't get it to work with my epson stylus 3800 printer?

    i just replaced my mac pro with an iMac and i can't get it to work with my epson stylus 3800 printer? i have downloaded the 3800 software three times and the imac keeps telling me there is no software to run the printer? Any help here?

    Care to share which OS you are using?

  • How can i get acrobat to work with windows vista

    How can I get adobeexportpdf to work with windows vista?

    But if, on the other hand you do mean Acrobat, please let us know what problem you are having.

  • Bought print central app have an impact Lexmark s300 series wireless printer can't get it to work with my I pad , help

    I bought the print central app have a Lexmark s300 wireless printer can't get it to work with my I pad any suggestions

    To print from an iPAD using the Lexmark S300 series,you need to download the LexPrint app from this link: LexPrint
    Hope this helps.

  • Email messages from my icloud account update on all my devices showing if they have been read and if a reply has been sent.  This does not happen with my tinyworld (TalkTalk) email account.  Can I (how can I) get this to work with TinyWorld?

    Email messages from my icloud account update on all my devices showing if they have been read and if a reply has been sent.  This does not happen with my tinyworld (TalkTalk) email account.  Can I (how can I) get this to work with TinyWorld?

    You have to look at the email protocol being used.  the Apple email system uses IMAP, does Tinyworld use IMAP or POP?
    Does the email system permit delivery receipts to be requested?
    Just some of the things one needs to determine from the information provided by the email service provider.

  • How can I get Lion to work with label printer- Brother  QL 570 or Dymo 450 Turbo?

    I can't get Lion to work with label printers, either Brother QL 570 or Dymo Turbo 450. I want to uninstall Lion and use Snow Leopard unless there is a way to make Lion work with these devices. Any ideas?

    Dymo has released new drivers since Lion came out. Have you downloaded and
    installed them from the Dymo website?
    Some people have said that their Dymo label printers were set to off line by Lion, but
    worked fine after going to Print & Scan, selecting the Dymo printer, and making sure
    it was active/on-line. I had to do that with my Dymo 450 Label Writer.
    I cannot offer any tips about Brother, but you may wish to check their website
    for latest drivers.

  • My printer is a fairly new all-in-one Brother MFC-7860 DW. It is not listed in the iPad AirPrint printers. Can I get it to work with my new iPad2?

    My printer is a fairly new all-in-one Brother MFC-7860 DW. It is not listed in the iPad AirPrint printers. Can I get it to work with my new iPad2?

    If it's not an Airprint enabled printer, you can not natively through your iPad.  BUT, there are apps you can purchase in the App Store, like Print Central ($9), which is what I use myself and works well for my needs.

  • HT4437 The airplay on my i pad works with music and pictures but I cannot get it to work with safari and mirroring.  Does anyone know what I could be doing wrong? Thanks!!

    The airplay on my i pad works with music and pictures but I cannot get it to work with safari and mirroring.  Can someone help me to get things working?  Thanks!

    As an IT person, I can put my hands up to the same difficulty.  Then on double clicking on Home button, find AirTV symbol amongst Music control
    Solved my problem having spent hours looking for a complicated answer.  Well done Apple for hiding it so well.
    Brian

  • Need Urgent Help with Apache and PHP

    I have been struggling with apache and php for a week now and I finally broke down to post a message.
    I have apache 1.3 running on my mac mini g4 with 10.4.9 and I installed sql. I went to the entropy website and downloaded php5 to install without knowing I already had php4 on the machine. I installed 5 but could not get it to work. I then went back to httpd.conf and tried to install php4 by uncommenting out the loadmodule and addmodule lines. I restarted apache but php still did not work. I tested the phpinfo.php script but all I got was the script in Safari and not the actual page. At the moment, I have php4 and php5 on my machine but can't get either one to work. I am sure there is an easy fix but I don't know it. Please help.

    The problem is not terribly complicated, but Apache will not start with the entropy file in the folder
    /etc/httpd/users/
    Let me experiment on you. Rename the entropy file and then try to start Apache. To do this, open Terminal and paste this command:
    <pre>sudo mv /etc/httpd/users/+entropy.conf /etc/httpd/users/+entropy<pre>
    Now check the Apache configuration:
    <pre>apachectl configtest<pre>
    If it says "Syntax OK", start Apache:
    <pre>sudo apachectl start<pre>
    Since we only disabled the entropy file, you should be able to enable PHP5 with some more advanced configuring.

  • HT1151 i have a new apple external dvd drive, and i can't get it to work with my iMac?

    I have a new apple dvd drive, I was told it will work with my imac,  but when i plug it in ...nothing... iv been for update... still nothing. How can i get it to work???

    If it is this drive, note that it is for MBA's and Mini's only:
    http://store.apple.com/us/product/MC684ZM/A
    Ciao.

  • I need help with ISIGHT!  I can't get it to work with MSN!

    HI,
    My issue is this... I have AIM/AOL and I am able to see myself on webcam.. however noone else can unless they HAVE a webcam... My first question is- "DO you have to have a WEBCAM on both ends for both people to see you?" Does the person I am chatting with HAVE to have a webcam to see me? If so WHY? They should atleast be able to see ME if I want them to... Also if they are using windows for PC platform... can they use a pc webcam and still connect with me through my isight although I am on a mac?
    My second major ISSUE is.. WHY is the isight only compatible with AOL/AIM? I was told when I bought this it would be compatible with MSN Messenger for windows AND the MAC version... I have both and the isight does not show up on it... CAN ISIGHT be connected to msn messenger for MAC??? PLEASE help me!
    I called APPLE tech support and they couldn't even help me! They told me to call Microsoft! Anyhow- one guy did say he was able to get his ISIGHT working with the MSN messenger for MAC platform.. do you have ANY idea how to do that?? The thing is ALL my freinds are on PC's and have MSN messenger..
    ALSO- someone on mac rumors told me to look for a guy names RALPH! Said you know A LOT about mac and pc compatibility! PLEASE HELP
    Bottom line - I want to use isight with msn so my msn pc friends can share webcam... I also have virtual pc software... is it easier to just get a pc webcam and do it through there? ( i tried that and it didn't work either) i need major TECH SUPPORT!
    THANK YOU

    Microsoft's Messenger for Mac (MSN) does not support webcams at all.
    I have found the best alternative to MSN to be aMSN with macam for the webcam driver (it is a cheap usb webcam). Both are free open source projects. I guess if you use an iSight you will not need macam.
    aMSN can be found here: http://amsn.sourceforge.net/
    macam can be found here: http://webcam-osx.sourceforge.net/
    The speed is substantially faster and it is far more stable than Mercury in my experience.
    The only difficulty is the camera is often shown as being "in use by another application". To counter this I start macam, then plug in the camera (or unplug and plug back in). Then I start aMSN.

Maybe you are looking for

  • How do I delete a previously saved bookmark but I don't know what Bookmark Folder it is stored in and I didn't want to search folder by folder.

    How do I delete a previously saved (open) bookmark but I don't know what Bookmark Folder it is stored in and I didn't want to search folder by folder. I know there must be a way to delete it or find from the address (URL) window/bar but I can't seem

  • Word stuck in Draft Mode

    ONE Word file is stuck in draft mode. It can't be the normal.dotx file because it's not affecting other files. Starting in safe mode doesn't change a thing. All the tricks I've read on various forums about changing the columns etc don't do anything.

  • Strange data saved by write to measurment file

    Hi all, I have developed a simple program that permits to visualize data from a channel, but it records data, just when the saving data button is pressed. Data are saved through write to measurment file, but unfortunately there is something wrong sin

  • Multi language description of data types - xsd export

    Hi, with PI 7.1 there is a new feature for multi language field description (http://help.sap.com/saphelp_nwpi71/helpdata/en/9f/fdd13fa69a4921e10000000a1550b0/content.htm) in the repository. If you change the display language, the description language

  • Posting docs to KB11N transaction

    Hi, I am trying to post documents to KB11N transaction. The document is getting posted successfully. However when I try to post the document using the BAPI BAPI_ACC_PRIMARY_COSTS_POST I get an error "Create account 7000001 for 04/29/2008 as a cost el