Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th March 2008, 18:09
thomas80 thomas80 is offline
Junior Member
 
Join Date: Mar 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default suexec without recompile - php-fastcgi

Hi!
another problem Im facing with:
I'm trying to use php with fast-cgi, according to one of the howto I found on this page.
however, I was too lazy/whatever to recompile suexec, so that it does not check the owner of the starter script. however, if i add a new domain to ispconfig, the owner of this file is root.webXX, so I had to change the owner manually after.

what is the elegant way for setting the owner of this file to the actual VirtualHost User on the fly?

thanks in advance,
Tamas
Reply With Quote
Sponsored Links
  #2  
Old 28th March 2008, 14:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

You must create an admin user for that site on the User & Email tab in ISPConfig.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 2nd April 2008, 09:38
thomas80 thomas80 is offline
Junior Member
 
Join Date: Mar 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi falko,

I've created a fresh new website, and added an administrator to it.

however, not all the files were chown-ed to the admin user, see below:
(admin user is: web27_zse). I need the php-fcgi-starter to have
web27_zse.web27 ownership.
Where are these files specified, which to chown when an administrator is added? Config.lib.php maybe?

Thx !

T.

drwxr-xr-x 8 web27_zse web27 4096 2008-04-02 09:36 .
drwxr-xr-x 25 root root 4096 2008-04-02 09:36 ..
drwxr-xr-x 2 web27_zse web27 4096 2008-04-02 09:36 cgi-bin
-rw------- 1 web27_zse web27 24 2008-04-02 09:36 .forward
drwxr-xr-x 2 web27_zse web27 4096 2008-04-02 09:36 log
lrwxrwxrwx 1 root root 38 2008-04-02 09:36 Maildir -> /home/www/web27/user/web27_zse/Maildir
-rwxr-xr-x 1 root web27 114 2008-03-04 08:31 php-fcgi-starter
drwxrwxrwx 2 www-data web27 4096 2008-04-02 09:36 phptmp
-rw-r--r-- 1 root root 464 2008-04-02 09:36 .procmailrc
lrwxrwxrwx 1 root root 45 2008-04-02 09:36 .spamassassin -> /home/www/web27/user/web27_zse/.spamassassin/
drwxr-xr-x 2 web27_zse web27 4096 2008-04-02 09:36 ssl
drwxr-xr-x 3 web27_zse web27 4096 2008-04-02 09:36 user
lrwxrwxrwx 1 root root 46 2008-04-02 09:36 .vacation.cache -> /home/www/web27/user/web27_zse/.vacation.cache
drwxrwxr-x 3 web27_zse web27 4096 2008-04-02 09:36 web
Reply With Quote
  #4  
Old 2nd April 2008, 11:30
thomas80 thomas80 is offline
Junior Member
 
Join Date: Mar 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

OK, I've grepped config.lib.php for "chown" and added 3 lines of chown .... ".php-fcgi-starter"
and it works okay.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freebsd 6.1 support misterm Installation/Configuration 10 9th April 2009 09:29
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 14:22
Slightly Confused (DNS & Server Help) JohnnyBGoode Installation/Configuration 26 14th August 2007 09:54
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18


All times are GMT +2. The time now is 22:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.