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
  #41  
Old 25th May 2007, 23:56
astewart astewart is offline
Member
 
Join Date: Feb 2007
Posts: 95
Thanks: 1
Thanked 7 Times in 7 Posts
Exclamation

Here is the vhost configuration for web6 :

Quote:
######################################
# Vhost: www.adamsimac.com:80
######################################
#
#
<VirtualHost 192.168.2.9:80>
SuexecUserGroup web6_astewart web6
ServerName www.adamsimac.com:80
ServerAdmin webmaster@adamsimac.com
DocumentRoot /var/www/web6/web
ServerAlias adamsimac.com webmail.adamsimac.com
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/ /var/www/web6/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web6/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_flag safe_mode Off
Alias /error/ "/var/www/web6/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 ^/~([^/]+)(/(.*))? /var/www/web6/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web6/user/$1/web/$3
RewriteEngine on
RewriteCond %{HTTP_HOST} ^webmail\.adamsimac\.com [NC]
RewriteRule ^/(.*) http://www.adamsimac.com:81/webmail/$1 [L,R]
</VirtualHost>
Reply With Quote
Sponsored Links
  #42  
Old 26th May 2007, 20:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,702 Times in 2,545 Posts
Default

Looks ok. Which distribution 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
  #43  
Old 26th May 2007, 23:26
astewart astewart is offline
Member
 
Join Date: Feb 2007
Posts: 95
Thanks: 1
Thanked 7 Times in 7 Posts
Exclamation

Quote:
Originally Posted by falko
Looks ok. Which distribution do you use?
Ubuntu 6.10 (PPC), Perfect Setup.
Reply With Quote
  #44  
Old 27th May 2007, 16:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,702 Times in 2,545 Posts
Default

What's the output of
Code:
/usr/lib/apache2/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
  #45  
Old 28th May 2007, 04:44
astewart astewart is offline
Member
 
Join Date: Feb 2007
Posts: 95
Thanks: 1
Thanked 7 Times in 7 Posts
Exclamation

Quote:
Originally Posted by falko
What's the output of
Code:
/usr/lib/apache2/suexec2 -V
?
Results from /usr/lib/apache2/suexec2 -V :

Quote:
-D AP_DOC_ROOT="/var/www"
-D AP_GID_MIN=100
-D AP_HTTPD_USER="www-data"
-D AP_LOG_EXEC="/var/log/apache2/suexec.log"
-D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
-D AP_UID_MIN=100
-D AP_USERDIR_SUFFIX="public_html"
Reply With Quote
  #46  
Old 29th May 2007, 13:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,702 Times in 2,545 Posts
Default

That's ok as well.
__________________
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
  #47  
Old 15th September 2007, 01:31
jordan jordan is offline
Junior Member
 
Join Date: Sep 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Then change the permissions back to 655 and then it should work.
__________________
dvd to iphone
Reply With Quote
  #48  
Old 29th January 2009, 14:07
atrias atrias is offline
Junior Member
 
Join Date: Jun 2008
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by edge View Post
The other two files (info.php and ssi.shtml) work fine... That is... the ssi.shtml file is only showing
Code:
Dynamic HTML with Server Side Includes
Date/Time on the server: 
Name of this HTML file: 
Installed server software: 
Your web browser:
i think that ssi.shtml is not working in this example!!
it should have printed the date/time , server software name , browser type , etc!!
see the source of the page displayed. the code like this:
Code:
<!--#echo var="SERVER_SOFTWARE" -->
should have been translated

unfortunately i get the same result as above in 3.0.0.8 RC1 either with or without SSI enabled for the domain.
Reply With Quote
  #49  
Old 20th June 2009, 21:21
mizanci1 mizanci1 is offline
Junior Member
 
Join Date: Jun 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default hi

falko,

As soon as I enable 'Suexec' in ISPconfig, I get a '500 error - Internal Server
http://www.guvenlikdanismanlik.com
Error!' when I try to access the 'hello_world.pl' perl script.
Reply With Quote
  #50  
Old 21st June 2009, 13:02
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,647
Thanks: 794
Thanked 5,002 Times in 3,911 Posts
 
Default

take a look at the error log of the website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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


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


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