Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 4th May 2006, 10:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Linux doesn't like - in usernames. That might be the problem.
__________________
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
Sponsored Links
  #12  
Old 5th May 2006, 00:01
mphayesuk mphayesuk is offline
Senior Member
 
Join Date: Sep 2005
Location: UK, East Midlands
Posts: 517
Thanks: 1
Thanked 3 Times in 3 Posts
Send a message via MSN to mphayesuk
Default

ok the "-" > "_" fixed my ftp problem (I Hope), but I am still having a problem with the perl scripts so here is the vhosts file.

###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost xxx.xxx.xxx.4:80
<VirtualHost xxx.xxx.xxx.4:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.touch-one.co.uk:80
######################################
#
#
<VirtualHost xxx.xxx.xxx.4:80>
SuexecUserGroup web4_user1 web4
ServerName www.touch-one.co.uk:80
ServerAdmin webmaster@touch-one.co.uk
DocumentRoot /srv/www/web4/web
ServerAlias touch-one.co.uk
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /srv/www/web4/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /srv/www/web4/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode On
php_admin_value open_basedir /srv/www/web4/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /srv/www/web4/phptmp/
php_admin_value session.save_path /srv/www/web4/phptmp/
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/srv/www/web4/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /srv/www/web4/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /srv/www/web4/user/$1/web/$3
</VirtualHost>
#
#
#

Everything looks fine to me. Just to point out that I have two public addresses .4 and .3.

Thanks
Reply With Quote
  #13  
Old 5th May 2006, 11:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Which SuSE version do you use?
__________________
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
  #14  
Old 5th May 2006, 12:33
mphayesuk mphayesuk is offline
Senior Member
 
Join Date: Sep 2005
Location: UK, East Midlands
Posts: 517
Thanks: 1
Thanked 3 Times in 3 Posts
Send a message via MSN to mphayesuk
Default

suse10 64bit
Reply With Quote
  #15  
Old 5th May 2006, 20:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

What's the output of
Code:
/usr/sbin/suexec2 -V
?
__________________
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
  #16  
Old 5th May 2006, 23:02
mphayesuk mphayesuk is offline
Senior Member
 
Join Date: Sep 2005
Location: UK, East Midlands
Posts: 517
Thanks: 1
Thanked 3 Times in 3 Posts
Send a message via MSN to mphayesuk
Default

OUTPUT -

server1:~ # /usr/sbin/suexec2 -V
-D AP_DOC_ROOT="/srv/www"
-D AP_GID_MIN=96
-D AP_HTTPD_USER="wwwrun"
-D AP_LOG_EXEC="/var/log/apache2/suexec.log"
-D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
-D AP_UID_MIN=96
-D AP_USERDIR_SUFFIX="public_html"

To me the userdir is wrong because I dont have a folder called that in any of my clients folders ??????

Thanks
Reply With Quote
  #17  
Old 6th May 2006, 12:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

The DOC_ROOT /srv/www is ok. What's in /var/log/apache2/suexec.log?
__________________
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
  #18  
Old 7th May 2006, 18:16
mphayesuk mphayesuk is offline
Senior Member
 
Join Date: Sep 2005
Location: UK, East Midlands
Posts: 517
Thanks: 1
Thanked 3 Times in 3 Posts
Send a message via MSN to mphayesuk
Default

1) I was meaning the public_html userdirsuffix is that right???

OutPut of File

[2006-05-03 11:03:24]: uid: (10008/web1-user1) gid: (10001/10001) cmd: hello_world.pl
[2006-05-03 11:03:24]: file has no execute permission: (/srv/www/web1/cgi-bin/hello_world.pl)
[2006-05-03 11:04:18]: uid: (10008/web1-user1) gid: (10001/10001) cmd: hello_world.pl
[2006-05-03 11:04:18]: file is writable by others: (/srv/www/web1/cgi-bin/hello_world.pl)
[2006-05-03 11:11:40]: uid: (10008/web1-user1) gid: (10001/10001) cmd: hello_world.pl
[2006-05-03 11:11:40]: file is writable by others: (/srv/www/web1/cgi-bin/hello_world.pl)
[2006-05-03 11:11:44]: uid: (10008/web1-user1) gid: (10001/10001) cmd: hello_world.pl
[2006-05-03 11:11:44]: file is writable by others: (/srv/www/web1/cgi-bin/hello_world.pl)
[2006-05-03 11:11:45]: uid: (10008/web1-user1) gid: (10001/10001) cmd: hello_world.pl
[2006-05-03 11:11:45]: file is writable by others: (/srv/www/web1/cgi-bin/hello_world.pl)
[2006-05-03 11:11:46]: uid: (10008/web1-user1) gid: (10001/10001) cmd: hello_world.pl
[2006-05-03 11:11:46]: file is writable by others: (/srv/www/web1/cgi-bin/hello_world.pl)
[2006-05-03 11:11:47]: uid: (10008/web1-user1) gid: (10001/10001) cmd: hello_world.pl
[2006-05-03 11:11:47]: file is writable by others: (/srv/www/web1/cgi-bin/hello_world.pl)
[2006-05-03 11:14:23]: uid: (10008/web1-user1) gid: (10001/10001) cmd: hello_world.pl
[2006-05-03 11:14:23]: file is writable by others: (/srv/www/web1/cgi-bin/hello_world.pl)
[2006-05-03 15:53:54]: uid: (10010/web2-user1) gid: (10002/10002) cmd: hello_world.pl
[2006-05-03 15:53:54]: file has no execute permission: (/srv/www/web2/cgi-bin/hello_world.pl)
[2006-05-04 22:55:11]: uid: (10012/web4_user1) gid: (10004/10004) cmd: hello_world.pl
[2006-05-04 22:55:11]: file has no execute permission: (/srv/www/web4/cgi-bin/hello_world.pl)
[2006-05-04 22:55:47]: uid: (10012/web4_user1) gid: (10004/10004) cmd: hello_world.pl
[2006-05-04 22:55:47]: file is writable by others: (/srv/www/web4/cgi-bin/hello_world.pl)
[2006-05-04 22:55:50]: uid: (10012/web4_user1) gid: (10004/10004) cmd: hello_world.pl
[2006-05-04 22:55:50]: file is writable by others: (/srv/www/web4/cgi-bin/hello_world.pl)
[2006-05-04 22:55:52]: uid: (10012/web4_user1) gid: (10004/10004) cmd: hello_world.pl
[2006-05-04 22:55:52]: file is writable by others: (/srv/www/web4/cgi-bin/hello_world.pl)
[2006-05-07 17:13:10]: uid: (10012/web4_user1) gid: (10004/10004) cmd: hello_world.pl
[2006-05-07 17:13:10]: file is writable by others: (/srv/www/web4/cgi-bin/hello_world.pl)
[2006-05-07 17:14:29]: uid: (10012/web4_user1) gid: (10004/10004) cmd: hello_world.pl
[2006-05-07 17:14:29]: file is writable by others: (/srv/www/web4/cgi-bin/hello_world.pl)
[2006-05-07 17:14:33]: uid: (10012/web4_user1) gid: (10004/10004) cmd: hello_world.pl
[2006-05-07 17:14:33]: file is writable by others: (/srv/www/web4/cgi-bin/hello_world.pl)

Thanks
Reply With Quote
  #19  
Old 8th May 2006, 00:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by mphayesuk
1) I was meaning the public_html userdirsuffix is that right???
It doesn't matter.



Quote:
Originally Posted by mphayesuk
[2006-05-07 17:14:33]: uid: (10012/web4_user1) gid: (10004/10004) cmd: hello_world.pl
[2006-05-07 17:14:33]: file is writable by others: (/srv/www/web4/cgi-bin/hello_world.pl)
Try this:
Code:
chmod 755 /srv/www/web4/cgi-bin/hello_world.pl
__________________
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
  #20  
Old 8th May 2006, 09:41
mphayesuk mphayesuk is offline
Senior Member
 
Join Date: Sep 2005
Location: UK, East Midlands
Posts: 517
Thanks: 1
Thanked 3 Times in 3 Posts
Send a message via MSN to mphayesuk
 
Default

The hello_world.pl stated at 755 and after that didn't work I changed it to 777.

I think we are starting to run out of things to try........

Thanks
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
Problems with groups/grpconv linuxfast General 28 21st April 2008 09:35
Empty Recycle Bin jon335 General 40 6th May 2006 11:56
Help! Real newbie having problems installing Linux t-kiss Kernel Questions 5 4th April 2006 15:14
problems mysql rayit General 15 1st April 2006 04:57
SuExec linutzy Server Operation 1 16th August 2005 23:09


All times are GMT +2. The time now is 15:19.


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