LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-09-2014, 12:07 AM   #1
pavanchauhan
Member
 
Registered: Nov 2013
Posts: 36

Rep: Reputation: Disabled
Unhappy Invalid command 'suPHP_UserGroup', perhaps misspelled or defined by a module not incl


I'm getting this issue from my vhost when i restart the httpd service.

i'm going to tell you my following steps on my server given below.

# uname -i
x86_64

# ./configure --prefix=/usr/local/suphp-2.4 --sysconfdir=/etc --with-apr=/usr/local/apr/bin/apr-1-config --with-apxs=/usr/local/apache/bin/apxs --with-apache-user=apache --with-setid-mode=paranoid --with-php=/usr/local/apache/bin/php-cgi --with-logfile=/var/log/suphp_log --enable-SUPHP_USE_USERGROUP=yes

# make

# make install

Thenafter my mod_suphp.so module sucessfully load in my httpd.conf file and apache service successfully started.

after i created a vhost and its working fine without suphp implemented also site is running fine.
but when i implement suphp on same vhost then i get this error.

Invalid command 'suPHP_UserGroup', perhaps misspelled or defined by a module not include


MY vhost is
[root@corp19 corpusers]# cat /usr/local/apache/conf.d/adventure.com.conf
<VirtualHost 192.168.81.137:80>
ServerAdmin webmaster@adventure.com
DocumentRoot /websites/www/users/adventure.com
ServerName www.adventure.com
ServerAlias adventure.com
CustomLog /usr/local/apache/logs/adventure.com_log combined
ErrorLog /usr/local/apache/logs/adventure.com-error_log
### suPHP ###
suPHP_Engine on
suPHP_UserGroup pawan pawan
suPHP_AddHandler x-httpd-php
AddHandler x-httpd-php .php .php3 .php4 .php5
<Directory /websites/www/users/adventure.com>
Options +Indexes FollowSymlinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>


[root@corp19 corpusers]# /usr/local/apache/bin/apachectl
AH00526: Syntax error on line 15 of /usr/local/apache/conf.d/adventure.com.conf:
Invalid command 'suPHP_UserGroup', perhaps misspelled or defined by a module not included in the server configuration
Kindly tell me where i did mistake in suphp.
i'm expecting a wonderful solution.
 
Old 12-09-2014, 05:12 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,532

Rep: Reputation: 132Reputation: 132
This setting (suPHP_UserGroup) can only be used within a <Directory> or <Location> context.
...from the docs. Isn't that wonderful? I hope it at least helps...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Invalid command 'worker.list=worker1', perhaps misspelled or defined by a module not jayakumar01 Linux - Server 1 12-03-2011 04:18 AM
[SOLVED] Invalid command 'JkMount', perhaps misspelled or defined by a module not included in sanjay87 Linux - Server 1 11-28-2011 10:04 AM
[SOLVED] Invalid command 'ProxyHTMLEnable', perhaps misspelled or defined by a module not incl tkmsr Linux - Server 6 07-18-2010 02:50 PM
Invalid command 'CustomLog', perhaps mis-spelled or defined by a module not included filch Linux - Software 2 05-01-2010 05:09 PM
error: -1 Invalid module format when using insmod with module cross-compiled for arm AndrewShanks Linux - Embedded & Single-board computer 4 10-15-2007 04:50 AM


All times are GMT -5. The time now is 09:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration